Attention: The AT&T Speech API, which this project relies on for speech translation, is being discontinued in late 2016.
As an alternative to this project, check out the Voice Control Using HTML5 tutorial which demonstrates the same capabilites but instead utilizes HTML5's Speech Recognition API.
Voice recognition and voice control applications are increasing in popularity. Features like Apple’s Siri, Microsoft’s Cortana, and “OK Google” are changing the way people interact with their phones, games consoles, and multimedia devices.
Where a full set of buttons and switches is not practical (or not desired), voice control often provides a solution to the problem of making a user interface. In some cases, voice control is a significant benefit to people who are unable to use regular user interfaces.
This project demonstrates the steps for adding voice control to your Arduino Yún projects. It comprises an Arduino sketch that responds to a button and handles the digital pins, and a Pythonv script that: records speech from a microphone; sends the audio to a web service that translates the voice into text; parses the text to decide what to do; and sends commands to the Arduino sketch.
The voice control aspect of this project has the nickname “Yuri”.
Your guide to Yún developement. Arduino Meets Linux includes:
Take your Arduino projects to the next level. This book shows you how.