Blink!

Like all programming languages the first program you typically write is “Hello, World!” which illustrates the basic syntax of the language. In the world of IoT a similar phenomenon exists: “Blink!” Blink! is a basic set of instructions which toggles a LED light on or off. This post outlines the steps to toggle an LED using Lua on NodeMCU. This post assumes that you have a ESP8266 is flashed with the latest NodeMCU firmware. I have written an extensive post on that topic here. "Lua" (pronounced LOO-ah) means "Moon" in…

Keep reading

Flash NodeMCU

After various messy and mostly faulty breadboard setups with my ESP8266, I came across a fantastic solution: NodeMCU. This little board fits perfectly on my breadboard and exponentially simplifies the wiring. This post describes the steps to flash the ESP8266 with a custom(!) made NodeMCU firmware using Linux -- I use a GalliumOS distro on my Google chromebook Pixel. Once the ESP is flashed correctly it's ready for programming using Lua scripts or Arduino sketches. Building the toolchain Before we can begin we must have the tools in place which…

Keep reading