![]() ![]() The system consists of seven sensors, keypad password for security doors, HC-05 Bluetooth GSM alarm application and device control applications aktuaktor, and aktuaktor buzzer, dc motors, lights, fans and fan dc exhausting. Design of Smart Home Automatic with Control Communications Via Bluetooth HC-05-Based Microcontroller Arduino and Android is intended for automatic control processes. Dan Pin RXD pada modul bluetooth terhubung ke pin TXD pada arduino (pin 1).P> D esign of Smart Home Automatic Control with Communications Via Bluetooth HC-05-Based Microcontroller Arduino and Android, will provide all the comfort, safety, security and energy savings, which takes place automatically and programmed via microcontroller, the house or building. Pin TXD pada modul bluetooth dihubungkan ke pin RXD pada arduino (pin 0). GND modul bluetooth dihubungkan ke Pin GND pada arduino. VCC modul bluetooth dihubungkan ke Pin +5V pada arduino. Void switchoff() //Function for turning on relays Void switchon() //Function for turning on relays You can replace 'lamp on' with anything you want.same applies to others } //Initiate function switchoff if voice is switch off } //Initiate function switchon if voice is switch on ![]() While(Serial.available()) //Check if there are available bytes to readĬhar c = Serial.read() //Conduct a serial readīreak //Stop the loop once # is detected after a word PinMode(relay1, OUTPUT) //Set relay1 as an outputĭigitalWrite(relay1, LOW) //Switch relay1 off ![]() ![]() Serial.begin(9600) //Set rate for communicating with phone #define relay1 3 //Connect relay1 to pin 3 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |