Uploaded July 2016 | Updated September 2026, 3 weeks ago
The ESP8266 chip on its various SBC modules is rapidly becoming the GOTO for many low cost and low complexity (Relatively) solutions for an IoT Node. With Models like the SONOFF and Slampher from ITead Studio, the ESP01, ESP 12 and many other derivatives, all for well under 5$ and some close to 2$ there hard to beat. The Itead Studio parts come complete with power supply, Relay and a cloud service and Smart App.
But where is the fun in just buying one and using a remote cloud service. We will go through re-programming the (ANY) ESP8266 modules with the code a friend of mine created Peter Scargill. tech.scargill.net/. Pete has been working with these modules for a long time and has a new set of BIN files with everything including the kitchen sink in them. check out the word doc detailing the configuration here :- bitbucket.org/scargill/esp-mqtt-dev/src/fe47daab214fcae49d88802f505430f8d0e5775a/Hackitt-and-Bodgitt-ESP.doc?at=master
This is a 32 Bit cpu with built in WIFI, ADC, GPIO, Interrupts, SPI, I2C etc. In most applications where a developer may be tempted to use an Arduino, Launchpad or even a Raspberry PI, this little unit can do the job for a fraction of the cost.
You have a choice of IDE's, including the Arduino Wiring IDE, Visual Studio, Eclipse or if you have the BIN files (As we will do in this video), a simple FLASH programmer)
So with all Pete has included in this code base there is no need for me to write my own to setup my home automation system (I will show you in later videos).
To complete the setup you will need at least a master control using MQTT and Node Red (If you want to minimize your coding effort). This can easily run on any Raspberry pi as a headless SBC and even on lesser powered Linux machines or alternately a Beaglebone Black. or pretty much any Linux system sporting Node Red and MQTT.
You can also use Eclipse , IBM, Mosquitto MQTT Internet based services if you want as an alternative. The purpose here is to set it up at home and then allow only what you want out onto the internet.
Pete's setup script for the Raspberry PI can be found here :-bitbucket.org/snippets/scargill/KqgAe/latest-script-june-2016-read-the-comments
bin files here scargill.net/rboot.bin and scargill.net/romx.bin
His text based post detailing all this in his words tech.scargill.net/blowing-the-home-control-2016-code
tech.scargill.net/slampher-unfolded
Source code for those so inclined bitbucket.org/scargill/esp-mqtt-dev
SONOFF Modules itead.cc/smart-home.html
sonoff info
itead.cc/blog/sonoff-esp8266-reprogramming-part-1-control-mains-from-anywhere
The ESP8266 chip on its various SBC modules is rapidly becoming the GOTO for many low cost and low complexity (Relatively) solutions for an IoT Node. With Models like the SONOFF and Slampher from ITead Studio, the ESP01, ESP 12 and many other derivatives, all for well under 5$ and some close to 2$ there hard to beat. The Itead Studio parts come complete with power supply, Relay and a cloud service and Smart App.
But where is the fun in just buying one and using a remote cloud service. We will go through re-programming the (ANY) ESP8266 modules with the code a friend of mine created Peter Scargill. tech.scargill.net/. Pete has been working with these modules for a long time and has a new set of BIN files with everything including the kitchen sink in them. check out the word doc detailing the configuration here :- bitbucket.org/scargill/esp-mqtt-dev/src/fe47daab214fcae49d88802f505430f8d0e5775a/Hackitt-and-Bodgitt-ESP.doc?at=master
This is a 32 Bit cpu with built in WIFI, ADC, GPIO, Interrupts, SPI, I2C etc. In most applications where a developer may be tempted to use an Arduino, Launchpad or even a Raspberry PI, this little unit can do the job for a fraction of the cost.
You have a choice of IDE's, including the Arduino Wiring IDE, Visual Studio, Eclipse or if you have the BIN files (As we will do in this video), a simple FLASH programmer)
So with all Pete has included in this code base there is no need for me to write my own to setup my home automation system (I will show you in later videos).
To complete the setup you will need at least a master control using MQTT and Node Red (If you want to minimize your coding effort). This can easily run on any Raspberry pi as a headless SBC and even on lesser powered Linux machines or alternately a Beaglebone Black. or pretty much any Linux system sporting Node Red and MQTT.
You can also use Eclipse , IBM, Mosquitto MQTT Internet based services if you want as an alternative. The purpose here is to set it up at home and then allow only what you want out onto the internet.
Pete's setup script for the Raspberry PI can be found here :-bitbucket.org/snippets/scargill/KqgAe/latest-script-june-2016-read-the-comments
bin files here scargill.net/rboot.bin and scargill.net/romx.bin
His text based post detailing all this in his words tech.scargill.net/blowing-the-home-control-2016-code
tech.scargill.net/slampher-unfolded
Source code for those so inclined bitbucket.org/scargill/esp-mqtt-dev
SONOFF Modules itead.cc/smart-home.html
sonoff info
itead.cc/blog/sonoff-esp8266-reprogramming-part-1-control-mains-from-anywhere










