Control ESP8266 GPIOs with Android

android esp8266

ESP8266 is a great small WiFi module that carries a microcontroller which can be programmed to do basic IO controls. Having WiFi functionality gives number of possibilities to access module remotely where you can control things withing reach of your network coverage. Rui Santos suggests building a simple Android app which could be used as control panel to ESP module. In his tutorial he goes through necessary steps of programing ESP8266 module with LUA script and so building Android application with MIT App Inventor. App Inventor is very easy to use and you are able to create simple applications within hour. The app building consist of GUI designed and visual code blocks (similar to scratch on Raspberry Pi). In his example he demonstrates how to control two LEDs from Android… Continue reading

Speed up ESP8266 flashing to 5 secs

WiFi Serial Transceiver Module ESP8266

If you are dealing with ESP8266 WiFi module you’ve probably noticed, that flashing its 512K firmware takes quite some time. Actually esptool takes about 53 seconds with all its bells and whistles. Deomid Ryabkov decided to look at transfer baud rates and experiment with it in order to find fastest doable flashing option. He started to go up gradually with baud rates and with 460k he was able to achieve over 17s flashing time. But he still wasn’t satisfied with the result. Various serial to USB adapters (FT232R) can support high baud rates like 3000000 and even higher (PL2303). The problem was how to make ESP USART to pick higher baud rates than 921600. He ended up by writing his custom flasher stub snippet which reads and writes flash contents… Continue reading

Scraping website for health related information with ESP8266

ESP8266 LED blinking circuit

If you like to have climate information always accessible, then you should suck in to some data stream and try to get the latest news out of it. For instance accuweather.com produces pretty accurate weather forecasts around the globe. Interesting thing is that along weather data they are forecasting migraine, . Philip Burgess from adafruit thought it would be great idea to build a device, that would follow the migraine forecast and give early warnings about higher migraine probability. Of course you should keep in mind, that forecasting is relative to weather data, so you shouldn’t take this too serious. In other hand this is really interesting project from technical perspective. The device is built around adafruit’s HUZZAH ESP8266 breakout board. He attached power supply plug and LED which is… Continue reading

Setting up ESP8266 based DS18B20 sensor temperature monitoring with Emoncms

esp8266 ds18b20 emoncms

If you are looking for ways of measuring and logging temperature data online, then you can try this one. Jhon_Control describes his setup in this instructable where uses ESP8266 module as microcontroller platform where DS18B20 probe is attached. As you may already know, ESP8266 has two programmable GPIO where one was used for reading temperature using 1-wire protocol. The temperature data is sent via wireless interface, but additionally it can be read via serial interface where other debugging information is present. The other part of project is where temperature data goes. He has chosen OpenEnergyMonitor (Emoncms) – the web platform which can be freely installed on your local host computer and even Raspberry Pi. Here you can have nice representation of data including graphs, history, calculations, and other fancy stuff.… Continue reading

Wireless energy monitor using ESP8266 module

Most of us are concern about energy usage. This helps to reduce bills, have a little impact on saving planet and be conscious about things you never thought being important. For the right task you need right tools. Brian Dorey have been successful on building energy metering. His previous Raspberry Pi based solar data logger gave him enough experience to move on with new idea of mains energy meter. This time he decided to use ESP8266 wireless module to do the main load. It has enough processing power to deal with sensor data also there are plenty of Arduino based libraries to make development easier. His energy meter was designed to do three measurements: mains current, mains electric usage and gas usage. All three data streams had to be gathered… Continue reading

Troubleshooting your ESP8266

ESP8266 module is a great wireless module with some processing power and I/Os. Especially if you are new to it you may find some things not clear enough or struggle while programming, uploading firmware or simply configuring. Rui Santos have written a troubleshooting guide on how to avoid those common obstacles. He talks about where to download NodeMCU flasher, how to configure its settings. Other most common pitfalls also are covered that might frustrate you. Even unbricking of FTDI programmer is covered. If you find yourself in desperate situation when trying to run ESP8266 this troubleshooting list may save you tons of time. Continue reading