Tutorial: IoT Datalogger with ESP8266 WiFi Module and FRDM-KL25Z


In my earlier post “Tutorial: Web Server with the ESP8266 WiFi Module” I  used the ESP8266 WiFi module to run a local web server. This is a cool way to control devices inside my network. But to use that web page from the internet, I would need to open up my router which I don’t want to do for obvious reasons. Why not going the other way: host the web page in the internet, and have my board communicating with that internet page? This is exactly what this hype around IoT (Internet of Things) is all about :-).

ThingSpeak Channel for ESP8266

ThingSpeak Channel for ESP8266

Continue reading

McuOnEclipse Components: 07-Dec-2014 Release


Over the last weeks, several contributions, extensions and fixes have been added to the McuOnEclipse components, so a new release is available on SourceForge.

  • Bug fix for RingBuffer.
  • Better FreeRTOS task debugging with gdb.
  • Better watchdog support with Shell component.
  • Additional properties for PercepipTrace.
  • New Utility function ScanDoubleQuotedString() to scan a double quoted string.
  • LCDHTA with additional cursor functions.
  • New devices supported in FSL_USB_Stack: K22FN1M (FRDM-K22F), KL24Z48M, USB host support for K22F120/K22FX512).
  • RNet with nRF24L01+ to deal better with overflow situations.
  • A new component FreeRTOS_Tasks to create FreeRTOS tasks.
FreeRTOS Tasks Component

FreeRTOS Tasks Component

Continue reading

McGyver Way: Power over USB


Travel is a hassle these days: airline on strike in Europe, long security lines at the airport, bumpy flight and long transfer to the hotel which is so tiny that the taxi driver missed it twice! Anyway, at least this time the reservation of the room *did* work. Arrived completely tired and with notebook batteries drained and empty. Unpacked the power adapter, ready to charge it up. Only to realize that the notebook power supply cable does not match the travel adapter plug! :-(:

Travel Power Adapter Mismatch

Travel Power Adapter Mismatch

So I have packed the 3-pin notebook power supply instead my usual travel 2-pin one :-(

Continue reading

Tutorial: Web Server with the ESP8266 WiFi Module


It has been a while since my first post about the ESP8266 (see “Cheap and Simple WiFi with ESP8266 for the FRDM Board“). The ESP8266 is a new inexpensive ($4.50) WiFi module which makes it easy to connect to the network or internet. Finally this week-end I have found the time to write up a tutorial:
how to implement a WiFi web server for the ESP8266 WiFi module and the Freescale FRDM-KL25Z board:

WSP8266 Web Server

WSP8266 Web Server

FRDM-KL25Z with ESP8266 WiFi Module

FRDM-KL25Z with ESP8266 WiFi Module

Continue reading

Adding ‘Show in Windows Explorer’ to Eclipse


In CodeWarrior there was a very useful feature in the CodeWarrior Projects view: with a context menu I can open that folder/file in Windows Explorer:

Show In Windows Explorer in CodeWarrior Projects View

Show In Windows Explorer in CodeWarrior Projects View

However, this feature is missing in Eclipse, so how to add this functionality?

Continue reading