Introduction: APP CONTROLLED/ BLUETOOTH CONTROLLED LIGHTING SYSTEM FOR HOME

HELLO Guys, Today we are going to make a   APP CONTROLLED / BLUETOOTH CONTROLLED LIGHTING SYSTEM FOR HOME.





IT WILL HELP US TO CONTROL THE LIGHT BULB OR ANY OTHER A.C APPLIANCE OF OUR HOUSE WITH AN ANDROID APP "LED CONTROLLER" and below I have mentioned from where to get it....

Step 1: Things We'll Require...

SO LET'S Get started with the things we'll  require...



1.  ARDUINO UNO

2.  BLUETOOTH MODULE (Hc 05 )

3.  BREADBOARD

4.  RELAY  (6v )

5.  SOLDERING MACHINE

6.   SOLDERING WIRES

7.   SMALL PLASTIC BOX

8.   JUMPER WIRES

9.    BULB HOLDER

10.   BULB

Step 2: The App We'll Require.....

AND ONE OF THE MOST IMPORTANT THING GUYS  THAT THIS CIRCUT RUNS/ GETS CONTROLLED  THROUGH A APP SO YOU NEED TO DOWNLOAD THAT APP WHOSE  NAME IS LED CONTROLLER

AND YOU WILL GET THIS APP ONLY AND ONLY IN AMAZON APP STORE.....SO GET IT FROM THERE
Also see the pic of that APP which i uploaded....

Step 3: NOW the Connections....

And The connection is as follows.... and you can also see the Circuit diagram which I UPLOADED here itself.



BLUETOOTH MODULE                       ARDUINO



Gnd                                    -          Gnd

Vcc                                     -          5v

Txd                                     -          Rxd      

Rxd                                     -         Txd   







Now , let's go ahead......



Connect the pin 13 and Gnd to the first and the end of the three pin together of the RELAY.

And connect the middle  of that pin to one terminal of the BULB HOLDER .

And now connect any one of the two left pins of the RELAY to the thr one terminal of   A.C CURRENT and also connect the other left terminal of the HOLDER  with A.C. CURRENT

Step 4: The CODE/ SKETCH to Upload in Arduino....

So Friends circuitry is Now over

And it's the time to UPLOAD THE SKETCH TO ARDUINO........



SO Here's the Sketch I used.....





char data = 0;                //Variable for storing received data



void setup()



{



Serial.begin(9600);         //Sets the data rate in bits per second (baud) for serial data transmission



pinMode(13, OUTPUT);        //Sets digital pin 13 as output pin



}



void loop()



{



if(Serial.available() > 0)  // Send data only when you receive data:



{



data = Serial.read();      //Read the incoming data and store it into variable data



Serial.print(data);        //Print Value inside data in Serial monitor



Serial.print("\n");        //New line



if(data == '1')            //Checks whether value of data is equal to 1



digitalWrite(13, HIGH);  //If value is 1 then LED turns ON



else if(data == '0')       //Checks whether value of data is equal to 0



digitalWrite(13, LOW);   //If value is 0 then LED turns OFF



}                           





}

   


NOW FRIENDS YOU CAN CONTROL THAT LICHT BULB AND ANY OTHER A.C APPLIANCE OF YOUR HOUSE WITH THIS  CIRCUIT AND THE APP WHICH I MENTIONED....

You just have to open the APP in your mobile and you will get the option to Turn ON and OFF your BULB

Step 5: So Friends Now Finally We Are DONE.....

NOW FRIENDS YOU CAN CONTROL THAT LICHT BULB AND ANY OTHER A.C APPLIANCE OF YOUR HOUSE WITH THIS  CIRCUIT AND THE APP WHICH I MENTIONED....

You just have to open the APP in your mobile and you will get the option to Turn ON and OFF your BULB
TILL THEN BYE AND VOTE FOR ME.