DIY RGB Smart Bulb From Scratch

by Surajit Majumdar in Circuits > Arduino

23259 Views, 27 Favorites, 0 Comments

DIY RGB Smart Bulb From Scratch

DSC_0047.JPG
DSC_0033.JPG
DSC_0035.JPG
DSC_0041.JPG
DSC_0053.JPG
DSC_0068.JPG

Hello Guys, In this instructable, I am going to show you how you can convert your old or broken led bulb into a smartphone-controlled colour changing smart led bulb. So let's get started :)

Here's the complete tutorial and demo video.

Parts List

VID_20180401_201153 (8).jpg
VID_20180331_203608.jpg
IMG_20180331_201813.jpg
IMG_20180331_202311.jpg
IMG_20180401_110938.jpg
IMG_20180401_112023_1.jpg
IMG_20180401_112058.jpg
IMG_20180401_112120.jpg
IMG_20180401_112140.jpg
IMG_20180401_112220.jpg

We need this following parts and tools to make this project.

Parts List:

  • Old or Broken Led Light Bulb.
  • Arduino Nano.
  • HC-05 Bluetooth Module.
  • Mobile Charger Circuit Board(5v 1A)
  • Custom PCB Circuit Board.
  • 5mm Common Cathode RGB Led (6ps)
  • 100 ohms Resistor (18ps)
  • 4.7k Resistor (3ps)
  • 2N2222 NPN Transistor (3ps)
  • Male And Female Header Pin.

Tools List:

  • Soldering Iron And Wire.
  • Wire Cutter.
  • Masking Tape.
  • Hot Glue Gun

The Circuit Diagram

Schematic_Bluetooth-Controlled-RGB-Light_Sheet-1_20180609011922.png
PCB_NEW-PCB_20180626183449.png

The Custom Circuit Board

VID_20180331_200849 (9).jpg
VID_20180331_200849 (2).jpg
VID_20180331_200849 (4).jpg
VID_20180331_200849 (6).jpg
VID_20180331_200849 (8).jpg

In this project, I've decided to use custom PCB board. Which will save my time and also circuit complexity, So I order my custom PCB from JLCPCB. It is a great place to buy custom PCB at a very cheap price. here you can get 10 boards only for $2 dollars, which is a great deal.

Solder the Components

VID_20180331_213249 (3).jpg
VID_20180331_213249 (4).jpg
VID_20180331_213249 (5).jpg
VID_20180331_213249 (6).jpg
VID_20180331_213249 (7).jpg
VID_20180331_213249 (10).jpg
VID_20180331_213249 (9).jpg
VID_20180331_213249 (12).jpg
VID_20180331_213249 (13).jpg
VID_20180331_213249 (14).jpg

First, We'll start off by mounting all the resistor, Then solder all the resistor perfectly.

Mount the Arduino and the Bluetooth Module

VID_20180401_120141.jpg
VID_20180401_120141 (2).jpg
VID_20180401_120141 (5).jpg

In this step, we'll mount the Arduino and the Bluetooth Module.

Upload the Code

VID_20180401_133707.jpg
Screenshot (38).png
Screenshot (37).png
VID_20180401_133707 (2).jpg

In this step, We'll Upload the code to Arduino.

  1. First, connect the Arduino with PC through USB cable.
  2. Select the correct port and board.
  3. Then upload the code.

Downloads

Mobile Charger Hack

VID_20180401_120141 (7).jpg
VID_20180401_121658.jpg
VID_20180401_121658 (3).jpg
VID_20180401_121658 (7).jpg
VID_20180401_133707 (3).jpg
VID_20180401_121658 (9).jpg
VID_20180401_133707 (5).jpg
VID_20180401_133707 (7).jpg

Here I'm using a 5V 1A mobile charger circuit board as a power supply for this project. At first, remove the USB connector from the circuit board. Then connect two wires to the positive and negative output pin of the charger board. Now connect input AC supply wires to charger input pins as shown in the in above pictures. After that must cover the charger circuit board using the masking tape to prevent from short circuit.

Assemble the Bulb

VID_20180401_201153 (2).jpg
VID_20180401_201153 (3).jpg
VID_20180401_201153 (4).jpg
VID_20180401_201153 (5).jpg
VID_20180401_201153 (6).jpg
VID_20180401_201153 (7).jpg

First, attach the charger circuit board using hot glue. Connect the output positive and negative wires of the charger board to the main circuit board. Then mount the main circuit board using screws. now we are done, this bulb is ready to show its magic :D

Later I'll keep updating this instructable.
Thanks for watching project, I hope you liked this project, if you did then please follow me I'll keep posting awesome new projects. Also, don't forget to SUBSCRIBE my YouTube channel.