» Electronics » Arduino »Home appliance smartphone control

Home appliance smartphone control


You can control household appliances like a fan, light, and a motor using smart phones and special programs.

Required Components:
Ø Arduino Uno x 1
Ø HC-05 / HC-06 Bluetooth module x 1
Ø 5V relay x 4
Ø 1n4148 diode x 4
Ø 1N4007 diode x 2
Ø 1000uF Capcitor x 1
Ø IC7805 X 1
Ø 12V Transformer x 1
Ø BC547 transistor x 4
Ø resistor 1k x 4
Ø wire connector

Rectifier:
Home appliance smartphone control


Relay connection diagram:



The choice of relays depends on what you want to connect and how fast. What voltage, current, etc. .... Manage it directly from the Arduino will not work. You will need to use something like this:

The NPN transistor can be simple (2N2222, BC337, etc.) and the diodes can be the most common (1N4001 or similar). VCC is + 5V.

Bluetooth module for Arduino Uno:

To use the hc05 s module, connect vcc to the 5V output on the Arduino GND to Earth, RX to the TX pin on the Arduino, and vice versa.

[Note: in RX, the pin code is not officially 5 V free; designed for 3.3 V signals. The Arduino generates a 5 V signal, so you should use a voltage divider or logic level converter to ensure that the Arduino signal does not damage hc05 s.]

When using the BTBee module, we install jumpers on the board so that the DНАР pin and the D0 pins are closed and the DIN and D1 pins are shorted. This is done so that the RX pin on the Arduino is pin 0 and the TX PIN is PIN 1. You can use any other, like the RX and TX Pins, but you have to use the SoftwareSerial library for Arduino to enable it. Do not forget to remove the jumpers when loading the code into the Arduino when choosing pin 0 and 1, like serial pins.

Jumpers are connected to pins 0 and 1 on BTBee, if the module is used for the first time, to replace the name and password. For this, the module must be set to command mode. We connect the key pin to any pin on the Arduino and set it priority for programming the module. When using BTBee, this is a little trickier. While the official Wiki says that you need to hold down the button to change the command mode and turn the changes back into data transfer mode, this does not happen this way: instead, hold down the Mode button, then quickly press and release the reset button. We notice that the Status LED blinks slower than usual. All OK!

Program:

• the code


Android apps:

• attachment
4.8
4.8
6

Add a comment

    • smilesmilesxaxaokdontknowyahoonea
      bossscratchfoolyesyes-yesaggressivesecret
      sorrydancedance2dance3pardonhelpdrinks
      stopfriendsgoodgoodgoodwhistleswoontongue
      smokeclappingcraydeclarederisivedon-t_mentiondownload
      heatirefullaugh1mdameetingmoskingnegative
      not_ipopcornpunishreadscarescaressearch
      tauntthank_youthisto_clueumnikacuteagree
      badbeeeblack_eyeblum3blushboastboredom
      censoredpleasantrysecret2threatenvictoryyusun_bespectacled
      shokrespektlolprevedwelcomekrutoyya_za
      ya_dobryihelperne_huliganne_othodifludbanclose
8 comments
Maybe they even heard
- did not hear, but even use -)))
And 202 my brother pulled me from the factory. The plant is defensive, they cheated a secret there.
KU-202N was needed ... And next was the workshop for the production of "electronics" for gas stoves "Brest-Gazoapparat" (Today they are called "Hephaestus" ... Maybe they even heard ...). My father worked there. They made self-ignition boards on KU-201K. And he, too, came up !!! ... So I soldered "color music" along the way ...)))). There zhezh, in addition to thyristors, it is necessary to collect three protozoa filters, and "voila", blinks ....
Textolite father could also bring in hectares ...))) ... Well, as I drop in to him, they will fill me with full pockets of resistors and condors - no one considered this trifle then ... Thyristors are already more serious - they will sprinkle about ten and that's it ...)))
on the Ku-202's ... "
- and I immediately remembered, we connected them to the Christmas garlands
Moreover, the author’s name is something like "Mobile automation control of" smart home ".
1k x 4 resistor


Reminded ...
In his youth, he “suffered from electronics” a bit in the circle. Well, at home, "soldered color music on the Ku-202's ..."
And so, a neighbor comes to me and asks him to wind a ten-meter-long wire resistor. (He had some kind of electronic home-made at his place, not made by him. And in it this same wire resistor burned out. Some "special" told him about it.)

I ask him what resistance he needs? He falls into a stupor! ))). He says: “I was only told that the length should be ten meters!” ... I explain that the main thing in a wire resistor is resistance !!! And it depends not only on the length, but also on the type of metal and on the cross section ... And what kind of “special” is such that he doesn’t know this, since I know - a schoolboy ...

... And then it dawns on me ... I ask: "Have you been told this, or written on a piece of paper?"
.... And there is!!
.. He was written ...
1ohm ..
smiles dance
Drive household appliances like a fan,


I do not want to control "like a fan" !!! I want to manage as a host !!!
Control home appliance smartphone in home


Are smartphones home appliances? ))) .. I only know about smartphones on the phone ... smiles xaxa
in RX, the pin code is not officially 5 V free;

This is done in order to pin RX on Arduino pin 0 and TX PIN code PIN 1. You can use any other, like RX and TX Pins,

when selecting pin 0 and 1, as serial pins.

I don’t understand why to rewrite the article if you do not know English and are not versed in electronics. ((

We advise you to read:

Hand it for the smartphone ...