ESP8266 NodeMCU – OLED display using SPI

I bought a $4 1 inch OLED SPI display that I wanted to use with my ESP8266 development board. By using an online service to create a streamlined NodeMCU firmware this was a breeze! NodeMCU with the correct modules Flash the ESP8266 with a version of NodeMCU that contains the following modules: bit SPI U8G Follow my post here on how … Continue reading “ESP8266 NodeMCU – OLED display using SPI”

ESP8266 – Controlling an IHC wireless light switch

Recently I installed several intelligent IHC Wireless lightswitches and power outlets from Lauritz Knudsen. They can be programmed so that any switch can wirelessly control any other switch or power outlet. I wanted to control these switches using my phone and was left with three options Buy an IHC Wireless Controller for around $750 and try to integrate … Continue reading “ESP8266 – Controlling an IHC wireless light switch”

ESP8266 NodeMCU – DHT22 sensor and ThingSpeak

I have previously written about pushing temperature and humidity readings from an ESP8266 to a MQTT server using a DHT22 sensor. Later I leveraged NodeMCU’s built-in DHT22 library by using an online service to create a streamlined NodeMCU firmware fit for my needs. However, a reader asked me about pushing data to instead and … Continue reading “ESP8266 NodeMCU – DHT22 sensor and ThingSpeak”

ESP8266 NodeMCU – Enabling modules in firmware

I previously wrote a post about using the ESP8266 NodeMCU firmware to measure temperature and humidity. I used a lua library to read the values from the DHT22 sensor, but then found out that many of the modules I need for my projects are already included in the NodeMCU firmware! Even better, at you can customise the … Continue reading “ESP8266 NodeMCU – Enabling modules in firmware”

ESP8266 NodeMCU – DHT22 humidity sensor with MQTT and deep sleep

After a lot of trial and error I have finally figured out how to connect a DHT22 sensor using a ESP8266, specifically the NodeMCU development 1.0 kit. After each sensor reading the ESP8266 will publish the data to a MQTT broker and then go into a deep sleep for 60 seconds to conserve power. I … Continue reading “ESP8266 NodeMCU – DHT22 humidity sensor with MQTT and deep sleep”

Update ESP8266 development kit NodeMCU firmware using OS X

I have previously written a small guide to getting started programming the ESP8266 development kit with the NodeMCU firmware. This post assumes that you have a fully working setup. Specifically I use the Seeedstudio NodeMCU v2 – Lua based ESP8266 development kit (affiliate link). I will flash to the latest version of NodeMCU. Update the … Continue reading “Update ESP8266 development kit NodeMCU firmware using OS X”

ESP8266 NodeMCU – Getting started (Hello World)

Thanks to a bit of donated funds I was finally ready to play around with the ESP8266, a tiny and inexpensive wifi system on a chip (SoC), which you can use to read data from sensors, connect to the internet or even act as a webserver! This post describes how to get the parts and … Continue reading “ESP8266 NodeMCU – Getting started (Hello World)”