learnbywatch
Play Video

Control a Light Bulb using Android and Arduino | Home Automation

After watching this video you will be able to:

No data was found

How to control 220v bulb with Android using Arduino and relay. This is no more a dream to control lights and other electric appliances using your smartphone. Although this is a science project (you can also call it ardunio project or electronic project) you can make for your school project or college project.

char data = 0;                
void setup() 
{
  Serial.begin(9600);       
  pinMode(13, OUTPUT); 
  }
void loop()
{
  if(Serial.available() > 0) 
  {
    data = Serial.read();     
    Serial.print(data);        
          
    if(data == '1')            
      digitalWrite(13, HIGH);  
    else if(data == '0')       
      digitalWrite(13, LOW);
  }
}

Let’s look at the components you required to build this project yourself:

Arduino Uno R3: http://amzn.to/2srIMT3 | https://goo.gl/MkGoQC
Bluetooth Module: http://amzn.to/2ryb0eA | https://goo.gl/9w8YhV
4 Channel Relay for Arduino: http://amzn.to/2s09f8s | https://goo.gl/Dtd7Xb
LED Bulb: http://amzn.to/2s0lKB9 | https://goo.gl/dyx4ux
Jumper wires: http://amzn.to/2s9wfkc | https://goo.gl/QK5BN4
2 pin flexible wire: http://amzn.to/2rv7Hjx
Arduino Program and APK files: https://goo.gl/kdNCgh (check attachment)

What is your goal?

No data was found

10 thoughts on “Control a Light Bulb using Android and Arduino | Home Automation”

Comments are closed.

Scroll to Top