In this project we’re going to control an Arduino with Voice commands with a Simple android App that I’ve create with MIT App Inventor.
Watch the video below
Resources for this project:
- How To Use App Inventor With an Arduino
- How to control outlets with 433Mhz Transmitter
- Review of the HC-05 Bluetooth Module
- Arduino UNO – read Best Arduino Starter Kits
- 1x Smartphone
- 1x Bluetooth Module (for example HC-06 – Read my review here)
- 1x 433Mhz Receiver and Transmitter
- 2x Remote Controlled Sockets with a Remote Control (Controlled by 433Mhz Frequency)
- 1x Breadboard
- Jumper Cables
You can use the preceding links or go directly to MakerAdvisor.com/tools to find all the parts for your projects at the best price!
Click here to Download the RCSwitch Library. Install it an Re-open the Arduino IDE. Then open the example “ReceiveDemo_Advanced”. Upload the code and open the serial monitor. Start pressing the buttons from the Remote you’re going to use and save them.
Upload and install the source code below
- Arduino Sketch
- Install the RC Switch Library
- Voice_Control.aia (to edit the android app)
Note: If you want to edit my app this is what you need to do. Download Voice_Control.aia and upload it to MIT App Inventor.
- You need to remove the RX and TX cables when you’re uploading the sketch to your Arduino.
- Sometimes people connect the TX from the bluetooth module to the TX of the Arduino… that’s wrong and it won’t work. Make sure you connect it properly, the TX into RX and the RX into the TX.
- If the HC-05 Bluetooth Module asks for a password, It’s ’1234′.
- Before Testing my “BlueLED” app, test if you’ve made all the connections correctly. How you can do that? Simply enter numbers (’1′, ’0′) into your serial monitor and your LED should be turning on and off.
I hope you found this useful!
Do you have any questions? Leave a comment down below!
Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my Facebook Page.