OTA: PlatformIO and ESP8266

As my IoT odyssey continues to unfold I blogged about building the ESP8266 tool chain and creating NodeMCU firmware manually, etc. A colleague of mine asked me about an open source ecosystem which does all this for you with only a few key strokes: PlatformIO. A small team from the Ukraine is creating quite a splash in the world of IoT and micro controllers (read: embedded platforms) by centralizing and automating the required libraries and tool chains. Needless to say I want to try this out for myself and see…

Keep reading

NodeMCU and SAP HCP IoT

My previous blog focused on the MQTT protocol and delivered an IoT prototype that enabled NodeMCU to communicate wireless with a local MQTT message broker using the pub/sub pattern. This blog focuses on integrating with the SAP Hana Cloud Platform ("HCP"). HCP is an open platform-as-a-service which provides in-memory database and application services. As a 20 year SAP veteran I believe this platform enables the traditional On-Premise ERP customer to embrace the benefits from the New IT thinking while maintaining the levels of governance and compliance of an enterprise…

Keep reading

IoT and MQTT

Ok, my previous blog entry outlined how to make the NodeMCU board a lot more useful by adding the DHT22 sensor which captured temperature and humidity. This is nice but does require a serial connection between my Linux machine and the NodeMCU board to make the information measured visible. Requiring a hardwired serial cable to establish connectivity made this prototype a lot less useful in the world of IoT. The objective of this blog post is to 'Cut the Serial Cord' and go wireless. Here is where the ESP8266 chipset…

Keep reading

Capturing Sensor Data: DHT22

Ok, having blinking LED's connected to an ESP8266 SOC is nice but is not very useful in terms of information exchange and/or interaction. This blog builds a simple IoT application which measures temperature and humidity and returns the measured values. This build is relatively straightforward build as we can leverage DHT22 temperature-humidity sensor and the corresponding native NodeMCU dht module. Breadboard sketch We need to wire up the DHT22 sensor to the NodeMCU which will provide ground and power - black and red wires respectively. Second the sensor data…

Keep reading

Super Bowl L(ed)

With the kick-off of Super Bowl L between the Carolina Panters and the Denver Broncos a few hours away I decided to show the ultimate team spirit and blink my NodeMCU and RGB LED in the colors of Broncos Country: orange and blue. It makes for an excellent opportunity to get some hands on experience with Pulse-Width Modulation and NodeMCU's PWM module before the big game kick-off. Orange/Blue Blink! A common method to 'mix' a custom color of a RGB LED is by controlling the brightness of each of…

Keep reading