गुरुवार, 25 मार्च 2021

Arduino based home automation using Bluetooth...

 download circuit ,arduino code and app.

1. circuit connection.


2. video link....





3. code for arduino....

int led=13;

void setup() {

 pinMode(led,OUTPUT);

  Serial.begin(9600);  

// put your setup code here, to run once:

}

void loop() {

 /// char ab ;

 if (Serial.available ())

 { 

 // put your main code here, to run repeatedly:

 char  ab=Serial.read();

 Serial.print(ab);

 if ( ab =='a')

{

  digitalWrite( led, HIGH);

   

}   

 if ( ab=='b' )

{

 digitalWrite( led, LOW); 

}

}

}
4. mit appp ...download app.

https://drive.google.com/file/d/1rRTlQ1itMfSMpt0AWZJoQ0vqa_6H6-JX/view

कोई टिप्पणी नहीं:

एक टिप्पणी भेजें

3.5 " TFT LCD shield

                                                                                                                                            ...