Speech recognition for the Arduino via Android

What’s not to like about a bit of IoT-style speech recognition, using Arduino and Android?

That was what first caught my eye for a little prototype project documented on hackster.io. The idea is to drive or control a servo, an LED lamp or some other device connected to WiFi, using an Android app.

The hardware components are an Arduino/Genuino Micro, a WiFi breakout board (he used the CC3000 from TI), a servo (micro size), a generic LED and an Android-running device. And the maker is one Vicente Ortiz, a Computer Engineer.

The basic schematic is pictured above, courtesy of fritzing.

He writes:

The mobile device sends information “lowercase text string type” to the IOT CC3000 which is interfaced with the Arduino Micro, the Servo Motor and led lamp, this information is obtained from the mobile application when the user speaks with the microphone that the application recognizes the word and sends the text match or matches “you can select that on the app”, to the Arduino Micro via a UDP or TCP client “you can set on the app” that runs on the mobile application and with the help of the CC3000, so the micro Arduino can either power the servo motor or turn off the led lamp.

There’s not alot of detail about the Android connection or voice processing side of the equation – it simply says “All objects are in the same network for simplicity” – but it seems to take standard Android/Google speech input to connect to the CC3000.

The Android (v4.4+) app you need is IOT Continuous Speech Recognition, by the same maker, is the crucial element in the chain. As needed, it’s aimed at Arduino projects where you need to control a device with an Android phone through WiFi and Speech Recognition

In the app’s description, Vicente says:

I have created a button app to speech and recognize the words, the first coincidence of information “words string type” is sent to the IOT “CC3000 or other” which is interfaced with the Arduino Micro. the information is send by means of a UDP or TCP client that runs on the mobile app and with the help of the CC3000, this way the Arduino micro can drive any device.

Communicate with Arduino and WiFi modules like CC3000, ATWINC1500 and ESP8266 “EASIER” family or any socket based app.

See the hackster.io site for full details, such as details of the servo motor, input torques, resistor values and such like.

The code, ATmega32u4_IOT_LED_Servo, is available on the site, too.

Just for the record, here’s the tweet that first caught my eye:

And in the YouTube video below you can see and hear the prototype system controlled by voice commands, “on” and “off”, for the LED light, and “left”, “right” and “centre” for the servo control.


Leave a Reply

Your email address will not be published. Required fields are marked *

*