- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Home Appliances is now
controlled by Arduino and Bluetooth this is totally possible. Now just download
Arduino Home Controlling App on Your Smartphone and enjoy. This is very simple
and easiest project to make. You need some electronics like Arduino UNO or Nano
you choose , ULN2003a IC, HC-05 Bluetooth Module,12v Relays and some more small
things and the total price is 15$ .So you can control your any 6 appliances but
do not use Air Conditioner, Fridge ,Heater because this is more powerful things
but if you are plugging more powerful relay so that is possible.
HC-05 Bluetooth module range 5 to 6.5 meters. First
make this project ,second connect to your switch board and enjoy. I already
connect a fan to cool down the LM7805 and my automation system work with 12v
SMPS power supply.
Please sorry for some problem in Circuit speling is (UNL2003) who(ULN2003).
Please sorry for some problem in Circuit speling is (UNL2003) who(ULN2003).
Circuit
Diagram
Follow the Arduino circuit step and make one.I already use a 250 volts wire clip to connect the switch board. In this project not need to work with PCB you can use a vieroboard .
The Code
Click >>>> New Paste the code. Go To Tools >>>>Select the board>>>>Arduino Uno/Nano you choose. Port>>>>COM4 . Just Upload. This is very simple steps for all Arduino IDE User. If have no any software so go to this link Arduino.cc
byte val;
void setup()
{
Serial.begin(9600);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
}
void loop()
{
int a=0;
if(Serial.available())
{
val=Serial.read();
Serial.println(int(val));
if(int(val)==97)
digitalWrite(2,HIGH);
else if (int(val)==98)
digitalWrite(2,LOW);
if(int(val)==99)
digitalWrite(3,HIGH);
else if(int(val)==100)
digitalWrite(3,LOW);
if(int(val)==101)
digitalWrite(4,HIGH);
else if(int(val)==102)
digitalWrite(4,LOW);
if(int(val)==103)
digitalWrite(5,HIGH);
else if(int(val)==104)
digitalWrite(5,LOW);
if(int(val)==105)
digitalWrite(6,HIGH);
else if(int(val)==106)
digitalWrite(6,LOW);
if(int(val)==107)
digitalWrite(7,HIGH);
else if(int(val)==108)
digitalWrite(7,LOW);
}
}
More For UNL2003 and Relay
Relay>>
void setup()
{
Serial.begin(9600);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
}
void loop()
{
int a=0;
if(Serial.available())
{
val=Serial.read();
Serial.println(int(val));
if(int(val)==97)
digitalWrite(2,HIGH);
else if (int(val)==98)
digitalWrite(2,LOW);
if(int(val)==99)
digitalWrite(3,HIGH);
else if(int(val)==100)
digitalWrite(3,LOW);
if(int(val)==101)
digitalWrite(4,HIGH);
else if(int(val)==102)
digitalWrite(4,LOW);
if(int(val)==103)
digitalWrite(5,HIGH);
else if(int(val)==104)
digitalWrite(5,LOW);
if(int(val)==105)
digitalWrite(6,HIGH);
else if(int(val)==106)
digitalWrite(6,LOW);
if(int(val)==107)
digitalWrite(7,HIGH);
else if(int(val)==108)
digitalWrite(7,LOW);
}
}
More For UNL2003 and Relay
Relay>>
A relay is an electromagnetic switch
operated by a relatively small electric current that can turn on or off a much larger
electric current. The heart of a relay is an electromagnet (a coil of wire that
becomes a temporary magnet when
electricity flows through it). You can think of a relay as a kind of electric lever: switch it on with a tiny current and it switches on
("leverages") another appliance using a much bigger current. Why is
that useful? As the name suggests, many sensors are incredibly sensitive pieces of electronic equipment and produce only small electric currents.
But often we need them to drive bigger pieces of apparatus that use bigger
currents. Relays bridge the gap, making it possible for small currents to
activate larger ones. That means relays can work either as switches (turning
things on and off) or as amplifiers (converting small currents into larger
ones).
ULN2003>>
ULN2003 is a relay driver IC consisting of a
darlington array. It is made up of seven open collector darlington pairs
with common emitter. Moreover, ULN2003A has a
capability of handling seven different relays simultaneously. A single
darlington pair consists of two bipolar transistors and operates in the range
of 500mA to 600mA current.
Thanks For Supporting Us.
Save Tree. Save Life.
- Get link
- X
- Other Apps
Comments
Post a Comment
Have any doubt and problem Pls Comment..