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)
10 thoughts on “Control a Light Bulb using Android and Arduino | Home Automation”
could you please update the links
Hey i want the app link pls
Pls make this project using wifi esp8266
Pls make this tutorial using GSM module 800L
Your app is not working……. So what i do
Need the code for app making.
Please put the code here
Can I get details about app and it’s code
The source code u gave is showing error during upload .could u please help me?
Comments are closed.