{"id":2255,"date":"2014-03-12T13:12:12","date_gmt":"2014-03-12T13:12:12","guid":{"rendered":"http:\/\/randomnerdtutorials.com\/?p=2255"},"modified":"2020-07-30T14:20:02","modified_gmt":"2020-07-30T14:20:02","slug":"control-your-arduino-with-voice-commands","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/control-your-arduino-with-voice-commands\/","title":{"rendered":"Control your Arduino with Voice Commands [Android App]"},"content":{"rendered":"<p>Hi,<br \/>\nIn this project we&#8217;re going to control an Arduino with Voice commands with a Simple android App that I&#8217;ve create with MIT App Inventor.<!--more--><\/p>\n<h2>Watch the video below<\/h2>\n<p style=\"text-align:center\"><iframe width=\"720\" height=\"405\" src=\"https:\/\/www.youtube.com\/embed\/TEKQUMzg6UY?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<h3>Resources for this project:<\/h3>\n<ul>\n<li><a title=\"How to Use App Inventor with Arduino\" href=\"https:\/\/randomnerdtutorials.com\/how-to-use-app-inventor-with-arduino\/\">How To Use App Inventor With an Arduino<\/a><\/li>\n<li><a title=\"Transmitter\" href=\"https:\/\/randomnerdtutorials.com\/arduino-control-220v-lamps-from-anywhere-in-the-world\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to control outlets with 433Mhz Transmitter<\/a><\/li>\n<li><a title=\"Bluetooth Module\" href=\"https:\/\/randomnerdtutorials.com\/parts-hc-05-bluetooth-module-review\/\">Review of the HC-05 Bluetooth Module<\/a><\/li>\n<\/ul>\n<h2>Parts Required<\/h2>\n<ul>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/compatible-arduino-uno-r3-board\/\" target=\"_blank\" rel=\"noopener noreferrer\">Arduino UNO<\/a>&nbsp;\u2013 read&nbsp;<a href=\"https:\/\/makeradvisor.com\/best-arduino-starter-kits\/\" target=\"_blank\" rel=\"noopener noreferrer\">Best Arduino Starter Kits<\/a><\/li>\n<li>1x Smartphone<\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/bluetooth-module-hc-06\/\" target=\"_blank\" rel=\"noopener noreferrer\">1x Bluetooth Module (for example HC-06<\/a> &#8211; <a title=\"Bluetooth Module Review\" href=\"https:\/\/randomnerdtutorials.com\/parts-hc-05-bluetooth-module-review\/\">Read my review here)<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/433mhz-receiver-transmitter-module\/\" target=\"_blank\" rel=\"noopener noreferrer\">1x 433Mhz Receiver and Transmitter<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/rf-remote-controlled-sockets-433mhz\/\" target=\"_blank\" rel=\"noopener noreferrer\">2x Remote Controlled Sockets with a Remote Control (Controlled by 433Mhz Frequency)<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/mb-102-solderless-breadboard-830-points\/\" target=\"_blank\" rel=\"noopener noreferrer\">1x Breadboard<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/jumper-wires-kit-120-pieces\/\" target=\"_blank\" rel=\"noopener noreferrer\">Jumper Cables<\/a><\/li>\n<\/ul>\n<p>You can use the preceding links or go directly to <a href=\"https:\/\/makeradvisor.com\/tools\/?utm_source=rnt&utm_medium=post&utm_campaign=post\" target=\"_blank\">MakerAdvisor.com\/tools<\/a> to find all the parts for your projects at the best price!<\/p><p style=\"text-align:center;\"><a href=\"https:\/\/makeradvisor.com\/tools\/?utm_source=rnt&utm_medium=post&utm_campaign=post\" target=\"_blank\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/10\/header-200.png?w=1200&#038;quality=100&#038;strip=all&#038;ssl=1\"><\/a><\/p>\n<h3>Receiver Circuit<\/h3>\n<p><a href=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/03\/has_receiver_circuit_bb_final.jpg?quality=100&#038;strip=all&#038;ssl=1\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/03\/has_receiver_circuit_bb_final.jpg?resize=367%2C430&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"has_receiver_circuit_bb_final\" width=\"367\" height=\"430\"><\/a><\/p>\n<p><a href=\"http:\/\/code.google.com\/p\/rc-switch\/downloads\/detail?name=RCswitch_2.51.zip&amp;can=2&amp;q=\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to Download the RCSwitch Library<\/a>. Install it an Re-open the Arduino IDE. Then open the example \u201cReceiveDemo_Advanced\u201d. Upload the code and open the serial monitor. Start pressing the buttons from the Remote you\u2019re going to use and save them.<\/p>\n<h3>Final Circuit<\/h3>\n<p style=\"text-align: center;\">&nbsp;<a href=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/03\/voice_control_app_bb_final.jpg?quality=100&#038;strip=all&#038;ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter wp-image-2258\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/03\/voice_control_app_bb_final.jpg?resize=430%2C358&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"voice_control_app_bb_final\" width=\"430\" height=\"358\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/03\/voice_control_app_bb_final.jpg?resize=1024%2C851&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/03\/voice_control_app_bb_final.jpg?resize=300%2C249&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/03\/voice_control_app_bb_final.jpg?w=1848&amp;quality=100&amp;strip=all&amp;ssl=1 1848w\" sizes=\"(max-width: 430px) 100vw, 430px\" \/><\/a><\/p>\n<h2>Upload and install the source code below<\/h2>\n<div data-lock-id=\"onpLock625189\">\n<ul>\n<li>Arduino Sketch<\/li>\n<li>Install the RC Switch Library<\/li>\n<li>Voice_Control.apk<\/li>\n<li>Voice_Control.aia&nbsp;(to edit the android app)<\/li>\n<\/ul>\n<p><strong><a title=\"Download\" href=\"https:\/\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/03\/Voice-controlled.zip\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to download all<\/a><\/strong><\/p>\n<p>Note:&nbsp;If you want to edit my app this is what you need to do. Download Voice_Control.aia and upload it to&nbsp;<a title=\"MIT App Inventor\" href=\"http:\/\/appinventor.mit.edu\/explore\/\" target=\"_blank\" rel=\"noopener noreferrer\">MIT App Inventor<\/a>.<\/p>\n<\/div>\n<div data-lock-id=\"onpLock625189\">\n<h3>Tips:<\/h3>\n<\/div>\n<ul>\n<li>You need to remove the RX and TX cables when you\u2019re uploading the sketch to your Arduino.<\/li>\n<\/ul>\n<ul>\n<li>Sometimes people connect the TX from the bluetooth module to the TX of the Arduino\u2026 that\u2019s wrong and it won\u2019t work. Make sure you connect it properly, the TX into RX and the RX into the TX.<\/li>\n<\/ul>\n<ul>\n<li>If the HC-05 Bluetooth Module asks for a password, It\u2019s \u20191234\u2032.<\/li>\n<\/ul>\n<ul>\n<li>Before Testing my \u201cBlueLED\u201d app, test if you\u2019ve made all the connections correctly. How you can do that? Simply enter numbers (\u20191\u2032, \u20190\u2032)&nbsp;into your serial monitor and your LED should be turning on and off.<\/li>\n<\/ul>\n<p><strong>I hope you found this useful!<\/strong><\/p>\n<h4>Do you have any questions?&nbsp;Leave a comment down below!<\/h4>\n<p>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&nbsp;Facebook Page.<\/p>\n<p><a title=\"How To Use App Inventor With Arduino\" href=\"https:\/\/randomnerdtutorials.com\/how-to-use-app-inventor-with-arduino\/\">P.S. Click here to see how to use MIT App Inventor with Arduino<\/a><\/p>\n<p><a title=\"433Mhz Transmitter Circuit\" href=\"https:\/\/randomnerdtutorials.com\/arduino-control-220v-lamps-from-anywhere-in-the-world\/\" target=\"_blank\" rel=\"noopener noreferrer\">P.P.S. Click here to learn how to use the 433Mhz Transmitter\/Receiver circuit to control outlets.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, In this project we&#8217;re going to control an Arduino with Voice commands with a Simple android App that I&#8217;ve create with MIT App Inventor.<\/p>\n","protected":false},"author":1,"featured_media":2262,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[308,271,267,2,264,10],"tags":[],"class_list":["post-2255","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-0-mit","category-android","category-arduino-project","category-arduino","category-project","category-a-tutorials"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/03\/thumbnail-voice-control.jpg?fit=1280%2C720&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/2255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=2255"}],"version-history":[{"count":0,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/2255\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/2262"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=2255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=2255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=2255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}