Home Automation Devices
Several Open Hardware electronics devices based in the SoC ESP8266 for Home Automation.
All designs are made with KiCad, so make sure to have it installed.
In every project you can find the KiCad designs, the manufacturing Gerbers, the necessary firmwares and a documentation folder with BOMs and the design in PDF.
AC Relay
It is a relay controlled by an ESP8266 and a push button. It is powered by the main AC.
Status
Task | Vesrion | Progess |
---|---|---|
Schema and circuit design | 2.1 | |
Components selection | - | |
PCB design | 2.1 | |
GERBERs | 2.1 | |
Firmware test bench | 1.0 | |
Firmware | 1.2 | |
Documentation | - |
Firmwares
Test
This firmware allows you to test the hardware if needed. It will change the relay status each 400 millisenconds when the button is pressed and it will send the push button status via serial communication.
AdafruitIO
This firmware is based in the Adafruit example for comumnicate with its MQTT broker called AdafruitIO. You can see more in io.adafruit.com
In order to use it you should set:
- Your WiFi setting
- You Adafruit user name
- API Key from Adafruit IO
- The MQTT feed which will be used in Adafruit IO
MQTT
This firmware allows you to communicate with a MQTT broker. For example, you can install your own MQTT broker in a Raspberry Pi.
This is the actual firmware that I am using at home with this circuit, and it is prepared for being working 24/7. It does:
- Recovery after a power failure.
- Wake up message
- Reconnect message
- Serial debug
- WiFi reconnect if the signal is lost
- MQTT Broker reconnect if the signal is lost
For future revisions
LED
: LED as IO instead of Power LEDESP8266
: ESP8266 as SoC instead of the ESP8266-12E moduleUPS
: Uninterrupted Power System. Cesar Fernández ideaCapacitive button
: A capacitive external button that acts as the push button
Celling lamp
It is a relay controlled by an ESP8266 and a push button. It is powered by the main AC.
Status
Task | Vesrion | Progess |
---|---|---|
Schema and circuit design | 2.0 | |
Components selection | - | |
PCB design | 2.0 | |
GERBERs | 2.0 | |
Firmware test bench | 1.0 | |
Firmware | 1.2 | |
Documentation | - |
Firmwares
Test
This firmware allows you to test the hardware if needed. It will change the relay status each 400 millisenconds when the button is pressed and it will send the push button status via serial communication.
AdafruitIO
This firmware is based in the Adafruit example for comumnicate with its MQTT broker called AdafruitIO. You can see more in io.adafruit.com
In order to use it you should set:
- Your WiFi setting
- You Adafruit user name
- API Key from Adafruit IO
- The MQTT feed which will be used in Adafruit IO
MQTT
This firmware allows you to communicate with a MQTT broker. For example, you can install your own MQTT broker in a Raspberry Pi.
This is the actual firmware that I am using at home with this circuit, and it is prepared for being working 24/7. It does:
- Recovery after a power failure.
- Wake up message
- Reconnect message
- Serial debug
- WiFi reconnect if the signal is lost
- MQTT Broker reconnect if the signal is lost
For future revisions
Diode Footprint
: It is wrong in the PCB designESP8266
: ESP8266 as SoC instead of the ESP8266-12E moduleUPS
: Uninterrupted Power System. Cesar Fernández ideaCapacitive button
: A capacitive external button that acts as the push button
RGB Strip controller
It is a relay controlled by an ESP8266 and a push button. It is powered by the main AC.
Status
Task | Vesrion | Progess |
---|---|---|
Schema and circuit design | 1.0 | |
Components selection | 1.0 | |
PCB design | 1.0 | |
GERBERs | 1.0 | |
Firmware test bench | - | |
Firmware | - | |
Documentation | - |
Button with battery
Coming soon
Any idea will be well received!
Home Automation Devices by Enrique Gómez, Rincón Ingenieril licensed by Creative Commons Attribution-ShareAlike 4.0 International License.