Parts Required:-

  1. 4*Red Led
  2. 4*Green Led
  3. 4*Blue Led
  4. Arduino Uno
  5. Tools

Now Lets Start Making...

Step 1:-

First Connect All Red leds in parallal,then repeat the same process for green and Blue lesds... for your information if you dont know what is a parallal connection then go to this link Parallal Connection

Step 2:-

Connect all the gnd connection to make one ground connection,and make a box to hold the lights and the arduino, then connect that common ground to ground pin of the arduino,then

  • +ve pin of red led ----> A0pin of arduino
  • +ve pin of green led --->A1 pin of arduino
  • +ve pin of Blue Led ----> A2 pin of arduino

Step 3:-

now its time to upload the arduino code to the arduino,so open your arduino ide in your pc,
/*
www.beginnertopro.in
Sample code for dj light
*/
int r = 0;
int g = 1;
int b = 2;
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(r, OUTPUT);
pinMode(g,OUTPUT);
pinMode(b,OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(r, HIGH);
delay(100);
digitalWrite(r, LOW);
delay(100);
digitalWrite(g, HIGH);
delay(100);
digitalWrite(g, LOW);
delay(100);
digitalWrite(b, HIGH);
delay(100);
digitalWrite(b, LOW);
delay(100);
//////////////////all light on at a time/////////////////////////
digitalWrite(r, HIGH);
digitalWrite(g, HIGH);
digitalWrite(b, HIGH);
delay(250);
digitalWrite(r, LOW);
digitalWrite(g, LOW);
digitalWrite(b, LOW);
}
copy the arduino code here and uplaod the code to the arduino,, And also you can change the Arduino loop to customize your own pattern..

Step 4:-

Ites time to test the Dj Light,so connect 5v power supply to the arduino and enjoy the Dj light...


For making Watch this video




Thanks For Your support Your comments realy matter for us.. so give your responce about us... so that we can improve our service....and also you can upload your atricle to our website to express your self to the world.. .Your small effort may help hundreds of beginners...