Hello world! Today I made a voice control and remote control app combined. In my opinion this is the best one I made and I'm going to use it in my home myself, also check out the others apps I made.
I will also put the commands in the tutorial as a text file and in the tutorial itself. You can control your home with Buttons or Voice with this app.
Follow the next steps for the code, app, parts list and schematic. If you want the Source just contact me!
Step 1: Parts list + Android APPJust connect it as the schematic and everything should work. Also make sure not to have the Bluetooth connected when uploading the code!
DOWNLOAD THE APP ON GOOGLE PLAY
Parts list.
- Arduino Uno, Any copy will do.
- 8 Channel relay, You can use 1 Channel Relays if you like. But I go for the 8.
- HC-06 Bluetooth module.
- Jumper wires set MM/FF/MF
- Power Cables and Lamp sockets (optional to test relays)
- Android phone + the APP.
The Commands in english
- All on / all off
- livingroom on / livingroom off
- kitchen on / kitchen off
- balcony on / balcony off
- bathroom on / bathroom off
- bedroom on / bedroom off
- attic on / attic off
- barn on / barn off
- closet on / closet off
To change baudrate, name and pin of your Bluetooth device follow step 2. (optional)
Step 2: How to change the name of your HC-06What is needed?
- 1 x USB to TTL microcontroller programmer to connect to your HC-06
How to connect the Programmer?
- VCC to VCC
- GND to GND
- RXD to TX
- TXD to RX
Lets get started...
- Connect the USB TTL programmer to the HC-06
- Plug in the USB and open up The Arduino IDE
- Open the serial monitor.
- Type "AT" without quotes. You should see a respond in the Serial monitor saying "OK"
- Type "AT+NAMExyz" Sets the module name to “xyz” (Replace xyz with the name you want.) response should be OKsetname.
- Type "AT+PIN1234" Set the pin to 1234 (replace 1234 with your desired pin) respond should be OKsetPIN. For more info on changing baudrate etc. I included a PDF file. Good luck!
Comments
Please log in or sign up to comment.