Introduction: Connected LED Lamps | IoT Projects
This is not just another Engraved LED lamp that you see in the market now-a-days. This is advancd version of that lamps. In the era of connected devices, I have made my own connected lamps. This project is inspired from one product called, Filimin: A Wi-Fi Enabled Touch Light That Connects You. I truly loved this product as in this generation of smart phone where each and every thing, every activity is taken over by our smart phone, this product will let you share your feelings to your loved ones without using smart phone at all.
Step 1: What Is This Project About??
In this project, we have 2 lamps which has inbuilt WiFi is connected to AdaFruit server via the internet.
I personally made the lamp as "I Miss You" lamps, you can engrave anything you want on it. So If I'm missing someone, instead of texting or calling her that I miss you, which is what every other person on the planet is doing, I can simply touch my lamp to make the LED Glow on my device. After a few seconds, another LED Lamp which is on the device with the person I've gifted it to, will also start glowing with the same intensity. The longer I touch the lamp, the brighter the light will be which reveals how much am I missing the other person. The other person could be anywhere in the whole-wide world, and this Device will help me convey my feelings to the other one.
This is an innovative way for expressing your feelings to your loved ones. This can also be your Bat Signal to call your friends to come play!
The "Blue Tick" feature on the WhatsApp Messenger which acts as a read receipt for us. Our project has the same feature! As soon as the other person sees that the lamp is glowing, they will come to know that I'm conveying a message and as soon as they touch the device, the LED will turn OFF on both the lamps to acknowledge that they've seen your message. This is how I can determine that our message is conveyed.
The whole process can be completed vice versa. The other person I can repeat the process to convey whatever they want to say by doing the same.
Step 2: Components Required
- 2 x ESP8266 12e boards
- 2 x 100k Resistor
- 2 x BC547 Transistor
- 2 x 12V DC Adapters
- 2 x LED strips (length according to the size of Acrylic sheet)
- 2 x Acrylic Sheet(I have used the sheet with the dimensions 150 x 90 x 5 mm)
- Some wires
Step 3: Order Your PCBs Online
I got one amazing site called jlcpcb.com for ordering our pcbs online. You can design the pcb online too at easyeda.com and then just download the gerber file format of the PCB from there.
After that upload that gerber file on jlcpcb and you can get the pcbs right at your door steps.
The price is reasonable.
10 PCBs for $2.
One more thing,your first order will be delivered for free. So give it a try once.
If you are lucky enough, you'll get a pair of PCB for free as I have planned one giveaway in the end of the article.
Step 4: Connections
Step 5: Working
The code uploaded on these boards is bit complicated to explain and understand so I'll just explain the whole project by the process occurring in the background.
So first of all, I have made a touch switch using a simple multi core wire through Resistor Divider circuit on the Analog Pin of our ESP board. So as soon as we touch that wire the LED strip on connected to that same ESP starts glowing. The longer we touch the wire, the brighter the lights will be. I have programmed 17 levels of brightness. After you are done with your perfect brightness level stop take off your finger over the wire and after few seconds, this lamp will send the data of its brightness value to another lamp via Adafruit MQTT broker.Both the boards are acting as adafurit mqtt clients.
After that, the second lamp will start glowing with the same brightness as soon as it receives the data from the server. Now both the lamps will be glowing with same intensity. Now is the person with the second lamp touches the wire, lights on both the lamps will turn off which indicates that the message is successfully received and read by the person.
And like wise, the second person can do the same process. So basically the code has MQTT client in it and some complex conditions and nothing else. So just go through the code and if you are good at Arduino coding, then you'll easily understand the whole stuff.
Step 6: Giveaway
There is one giveaway of PCBs which I received in excess quantity for this project. I will be giving away four pairs of PCBs to four of my subscribers and the process for enrollment in this giveaway is
- You need to like my fb page.
- You need to follow my twitter account.
- You need to follow my instagram account.
- After all these, comment below the video as "Task Completed"
Step 7: Code & Tutorial Video
For the code, visit my GitHub account.
If you still have some doubts regarding making of this project, watch out my full tutorial video in which I have covered every aspect of this project.
We have a be nice policy.
Please be positive and constructive.
How much amperage is drawn from the board?