IOT Mood Lamp
![IMG_20200927_194602.jpg](/proxy/?url=https://content.instructables.com/FHV/FX9K/KFL44993/FHVFX9KKFL44993.jpg&filename=IMG_20200927_194602.jpg)
![IMG_20200927_193522.jpg](/proxy/?url=https://content.instructables.com/FPF/L3EI/KFL4499J/FPFL3EIKFL4499J.jpg&filename=IMG_20200927_193522.jpg)
![IMG_20200927_194641.jpg](/proxy/?url=https://content.instructables.com/FG4/M06M/KFL449B8/FG4M06MKFL449B8.jpg&filename=IMG_20200927_194641.jpg)
![IMG_20200927_194531.jpg](/proxy/?url=https://content.instructables.com/F3X/KW4U/KFL44990/F3XKW4UKFL44990.jpg&filename=IMG_20200927_194531.jpg)
A IoT Mood lamp made using a Node MCU(ESP8266),RGB LEDs and a Jar. The colors of lamp can be changed using Blynk App. I have chose Tony Starks Memorial Statue which I have 3D printed to put in this lamp. You can take any readymade statue or you can 3D print as I have did.
Supplies:
![IMG_20200927_132640.jpg](/proxy/?url=https://content.instructables.com/FI8/6WPX/KFL449D7/FI86WPXKFL449D7.jpg&filename=IMG_20200927_132640.jpg)
- Node MCU(ESP8266)
- 5V LEDs(Red, Green and Blue)
- Jar
- Statue
- 3D Printed Parts
- Paint
- 5V Micro USB Adapter
3D Printing:
![Screenshot (45).png](/proxy/?url=https://content.instructables.com/FIP/DB2T/KFL449J6/FIPDB2TKFL449J6.png&filename=Screenshot (45).png)
![Screenshot (44).png](/proxy/?url=https://content.instructables.com/FA4/KAYH/KFL449J5/FA4KAYHKFL449J5.png&filename=Screenshot (44).png)
![IMG_20200927_132716.jpg](/proxy/?url=https://content.instructables.com/FH0/83S2/KFL449J4/FH083S2KFL449J4.jpg&filename=IMG_20200927_132716.jpg)
- Click for STL Files
- Tony Starks Model
- Iron Man Head Model
- 3D print the required 3D models in super quality.
Painting:
![IMG_20200927_132749.jpg](/proxy/?url=https://content.instructables.com/FBV/38VK/KFL449E6/FBV38VKKFL449E6.jpg&filename=IMG_20200927_132749.jpg)
![IMG_20200927_132706.jpg](/proxy/?url=https://content.instructables.com/FLP/Q1UM/KFL449E4/FLPQ1UMKFL449E4.jpg&filename=IMG_20200927_132706.jpg)
![IMG_20200927_181139.jpg](/proxy/?url=https://content.instructables.com/F47/0TO6/KFL449E9/F470TO6KFL449E9.jpg&filename=IMG_20200927_181139.jpg)
![IMG_20200927_181249.jpg](/proxy/?url=https://content.instructables.com/F9E/0DQV/KFL449ED/F9E0DQVKFL449ED.jpg&filename=IMG_20200927_181249.jpg)
- I have painted all the 3D prints and Jar cap in white color.
- You can directly print the desired colored 3D model if you have the right color material or you can paint as I did.
Circuit Connection:
![JarCircuit.png](/proxy/?url=https://content.instructables.com/FWT/XK2T/KFL449Z4/FWTXK2TKFL449Z4.png&filename=JarCircuit.png)
![IMG_20200927_132649.jpg](/proxy/?url=https://content.instructables.com/FZC/YPIG/KFL44A05/FZCYPIGKFL44A05.jpg&filename=IMG_20200927_132649.jpg)
![IMG_20200927_193841.jpg](/proxy/?url=https://content.instructables.com/FL5/FO55/KFL44A06/FL5FO55KFL44A06.jpg&filename=IMG_20200927_193841.jpg)
- Make all the connections as shown in circuit diagram.
- GND~GND
- D2~Red
- D3~Green
- D4~Blue
Assembling:
![IMG_20200927_185755.jpg](/proxy/?url=https://content.instructables.com/FM2/MHP8/KFL44A1F/FM2MHP8KFL44A1F.jpg&filename=IMG_20200927_185755.jpg)
![IMG_20200927_193813.jpg](/proxy/?url=https://content.instructables.com/FIE/TNQA/KFL44A1P/FIETNQAKFL44A1P.jpg&filename=IMG_20200927_193813.jpg)
![IMG_20200927_193928.jpg](/proxy/?url=https://content.instructables.com/FV9/Q74I/KFL44A1R/FV9Q74IKFL44A1R.jpg&filename=IMG_20200927_193928.jpg)
![IMG_20200927_194225.jpg](/proxy/?url=https://content.instructables.com/FER/XSI9/KFL44A1X/FERXSI9KFL44A1X.jpg&filename=IMG_20200927_194225.jpg)
- Put the statue on a base using waterproof glue.
- I have used spray can cap for the base which I painted white.
- Fill the water in the jar and close the cap.
- Now put the NodeMCU inside the 3D printed case and place it on the base of the Jar(i.e top) using glue.
App Setup:
![Screenshot_20200927_123109.jpg](/proxy/?url=https://content.instructables.com/FSO/PHV7/KFL449NB/FSOPHV7KFL449NB.jpg&filename=Screenshot_20200927_123109.jpg)
![Screenshot_20200927_123143.jpg](/proxy/?url=https://content.instructables.com/FM8/2DT2/KFL449NC/FM82DT2KFL449NC.jpg&filename=Screenshot_20200927_123143.jpg)
![Screenshot_20200927_123159.jpg](/proxy/?url=https://content.instructables.com/FZ8/IN93/KFL449ND/FZ8IN93KFL449ND.jpg&filename=Screenshot_20200927_123159.jpg)
![Screenshot_20200927_123206.jpg](/proxy/?url=https://content.instructables.com/FPV/QYLK/KFL449NE/FPVQYLKKFL449NE.jpg&filename=Screenshot_20200927_123206.jpg)
![Screenshot_20200927_123216.jpg](/proxy/?url=https://content.instructables.com/F2E/JV3A/KFL449NF/F2EJV3AKFL449NF.jpg&filename=Screenshot_20200927_123216.jpg)
![Screenshot_20200927_123222.jpg](/proxy/?url=https://content.instructables.com/FU4/EHHE/KFL449NG/FU4EHHEKFL449NG.jpg&filename=Screenshot_20200927_123222.jpg)
![Screenshot_20200927_123230.jpg](/proxy/?url=https://content.instructables.com/FYG/24OL/KFL449NH/FYG24OLKFL449NH.jpg&filename=Screenshot_20200927_123230.jpg)
![Screenshot_20200927_194749.jpg](/proxy/?url=https://content.instructables.com/F2B/BDEA/KFL449NI/F2BBDEAKFL449NI.jpg&filename=Screenshot_20200927_194749.jpg)
- Click for App
- Install the app, create a account and login.
- Create a new project, Select the board as ESP8266.
- You will receive a authentication code of the project in your E-Mail which we will use in the code.
- Click on the add button and add ZeRGBa widget.
- Click on the widget set the R~GP4, G~GP0, B~GP2 and turn off the send on release button.
Code:
![Screenshot (46).png](/proxy/?url=https://content.instructables.com/FR1/9GKW/KFL449U9/FR19GKWKFL449U9.png&filename=Screenshot (46).png)
![Screenshot (47).png](/proxy/?url=https://content.instructables.com/FJF/PU96/KFL449UA/FJFPU96KFL449UA.png&filename=Screenshot (47).png)
![Screenshot (48).png](/proxy/?url=https://content.instructables.com/FEW/WYZU/KFL449UB/FEWWYZUKFL449UB.png&filename=Screenshot (48).png)
![Screenshot (50).png](/proxy/?url=https://content.instructables.com/F71/LB3F/KFL449UC/F71LB3FKFL449UC.png&filename=Screenshot (50).png)
![Screenshot (51).png](/proxy/?url=https://content.instructables.com/FBO/89BC/KFL449UD/FBO89BCKFL449UD.png&filename=Screenshot (51).png)
![Screenshot (53).png](/proxy/?url=https://content.instructables.com/FZV/WEE9/KFL449UE/FZVWEE9KFL449UE.png&filename=Screenshot (53).png)
![Screenshot (54).png](/proxy/?url=https://content.instructables.com/FHV/MEGW/KFL449UF/FHVMEGWKFL449UF.png&filename=Screenshot (54).png)
![Screenshot (55).png](/proxy/?url=https://content.instructables.com/F1G/Q5R0/KFL449UG/F1GQ5R0KFL449UG.png&filename=Screenshot (55).png)
![Screenshot (56).png](/proxy/?url=https://content.instructables.com/FB0/V8QV/KFL449UH/FB0V8QVKFL449UH.png&filename=Screenshot (56).png)
![Screenshot (57).png](/proxy/?url=https://content.instructables.com/FSO/F4TV/KFL449UI/FSOF4TVKFL449UI.png&filename=Screenshot (57).png)
- Click For Blynk Arduino Library
- Open the given link and download the Blynk zip file.
- Open the Arduino IDE and add the Blynk library to Arduino IDE from Sketch->Include Library->Add .Zip library.
- Open the code from Files->Examples->Blynk->Boards_Wifi->ESP8266_Standalone .
- Copy paste the authentication code received in email.
char auth[] = "YourAuthToken";
- Enter you home Wifi Name and Password
char ssid[] = "YourNetworkName";
char pass[] = "YourPassword";
- Then select the board type as ESP8266(NodeMCU)
- Select the port and upload the code.
Final:
![IMG_20200927_204203.jpg](/proxy/?url=https://content.instructables.com/FLQ/UXIW/KFL44AJQ/FLQUXIWKFL44AJQ.jpg&filename=IMG_20200927_204203.jpg)
![IMG_20200927_204157.jpg](/proxy/?url=https://content.instructables.com/F8N/40Q9/KFL44AJO/F8N40Q9KFL44AJO.jpg&filename=IMG_20200927_204157.jpg)
![Screenshot_20200927_195846.jpg](/proxy/?url=https://content.instructables.com/FCY/5D8Q/KFL44AJR/FCY5D8QKFL44AJR.jpg&filename=Screenshot_20200927_195846.jpg)
![Screenshot_20200927_200834.jpg](/proxy/?url=https://content.instructables.com/F5A/PVF5/KFL44AJS/F5APVF5KFL44AJS.jpg&filename=Screenshot_20200927_200834.jpg)
- Take the 5V micro USB adapter to power the lamp.
- Turn ON the lamp.
- Open the app, click on play icon on top right.
- And that's it you can select the color you want on the lamp.