NodeMCU Smart Room | ESP8266 | Arduino
by mcmchris in Circuits > Arduino
2676 Views, 19 Favorites, 0 Comments
NodeMCU Smart Room | ESP8266 | Arduino
![2018.05.31-22.31.png](/proxy/?url=https://content.instructables.com/F7H/LT2F/JI0JNFLC/F7HLT2FJI0JNFLC.png&filename=2018.05.31-22.31.png)
I have been creating a youtube series of "How to automate your room with arduino?" and as a part of this production i bring to you one of my newest upgrades.
I decided to use the ESP8266 nodemcu WiFi module because it could be programmed as an arduino, with the same language and IDE and it is a lot more powerful than the arduino by itself, because it has WiFi, a lot more storage memory, is way faster (80Mhz) and friendly.
I'll show you in few steps how i made it, lending you the schematics, code, materials and a demo video.
Demo Video:
![¿Cómo automatizar tu habitación con arduino? NodeMCU | Google assistant | Voz y movimiento](/proxy/?url=https://content.instructables.com/F61/HMP6/JHUTTICI/F61HMP6JHUTTICI.jpg&filename=¿Cómo automatizar tu habitación con arduino? NodeMCU | Google assistant | Voz y movimiento)
Materials You Will Need:
![2018.06.01-23.45.png](/proxy/?url=https://content.instructables.com/FTP/LZS7/JHUTSUS5/FTPLZS7JHUTSUS5.png&filename=2018.06.01-23.45.png)
1-NodeMCU ESP8266 board
1-PIR sensor
1-LM35 temperature sensor
6- 3904 NPN transistors
4-1n4001 diodes.
8-1k ohm resistors
4-5v relays
2-12v relays (can be replaced by 5v ones).
8-Terminal blocks
Some wiring to connect everything and that's it.
Code and Schematic:
![2018.05.31-22.32.png](/proxy/?url=https://content.instructables.com/FQE/MVSN/JHUTSUUC/FQEMVSNJHUTSUUC.png&filename=2018.05.31-22.32.png)
![2018.06.01-23.47.png](/proxy/?url=https://content.instructables.com/F7A/1Z66/JHUTSUVG/F7A1Z66JHUTSUVG.png&filename=2018.06.01-23.47.png)
Here i give you the code and the schematics designed by me.
Voice Control With Google Assistant Setup:
![¿Cómo automatizar tu habitación con arduino? | Esp8266 + Control por voz con Google Assistant](/proxy/?url=https://content.instructables.com/FNR/JH7I/JHUTSWWV/FNRJH7IJHUTSWWV.jpg&filename=¿Cómo automatizar tu habitación con arduino? | Esp8266 + Control por voz con Google Assistant)
As you can noticed on this video i didn't use the same module, but is the same way to program it and to set the ifttt account with the adafruit one.
Assembly:
![2018.06.01-23.51.png](/proxy/?url=https://content.instructables.com/F42/B5XC/JHUTSV1Q/F42B5XCJHUTSV1Q.png&filename=2018.06.01-23.51.png)
![2018.05.31-22.31.png](/proxy/?url=https://content.instructables.com/F2I/GB6F/JHUTSV3C/F2IGB6FJHUTSV3C.png&filename=2018.05.31-22.31.png)
![2018.06.02-00.02.png](/proxy/?url=https://content.instructables.com/FRL/4OB4/JHUTSWF9/FRL4OB4JHUTSWF9.png&filename=2018.06.02-00.02.png)
Be sure that the module is correctly connected, and the AC wiring, as i show you in the schematics.
Testing It:
![2018.06.02-00.03.png](/proxy/?url=https://content.instructables.com/FJK/XTBV/JHUTSWM8/FJKXTBVJHUTSWM8.png&filename=2018.06.02-00.03.png)
![2018.05.31-22.32_03.png](/proxy/?url=https://content.instructables.com/FTW/HVKP/JHUTSVEG/FTWHVKPJHUTSVEG.png&filename=2018.05.31-22.32_03.png)
![2018.05.31-22.32_02.png](/proxy/?url=https://content.instructables.com/FSJ/XM1C/JHUTSVF9/FSJXM1CJHUTSVF9.png&filename=2018.05.31-22.32_02.png)
![2018.05.31-22.32_04.png](/proxy/?url=https://content.instructables.com/FI9/I6XC/JHUTSVFC/FI9I6XCJHUTSVFC.png&filename=2018.05.31-22.32_04.png)
![2018.05.31-22.32_01.png](/proxy/?url=https://content.instructables.com/FDO/WKCM/JHUTSVFH/FDOWKCMJHUTSVFH.png&filename=2018.05.31-22.32_01.png)
In the arduino serial monitor the module print the IP where it is connected, then write it up to your favorite navigator and enjoy the project.