Speech recognition on an Arduino

By | September 22, 2012

Speech recognition is usually the purview of fairly high-powered computers chugging along at hundreds of Megahertz with megabytes of RAM. Bringing speech recognition to the low-power microcontroller you’d find in an Arduino sounds like the work of a mad scientist or Ph.D. candidate, but that’s exactly what [Arjo Chakravarty] did. He developed the ?Speech library for the Arduino to allow for speech recognition for a limited set of voice commands.

Where most speech recognition systems use FFT and very fancy math to determine what phonemes a user is saying, [Arjo]‘s system does away with this unnecessary complexity in favor of using very, very basic integral and differential calculus.

From [Arjo]‘s user guide for ?Speech (PDF warning) we can see it’s possible to connect a small microphone to the analog input of an Arduino and accept voice commands such as ‘left’, ‘right’, and ‘stop’. The accuracy is pretty good, as well – 80% if ?Speech is trying to recognize words, and 30-40% if ?Speech is programmed to recognize single phonemes.

Sadly we couldn’t find a demo video of ?Speech in action, but you’re more than welcome to grab it via github for your own project. Send us a video of ?Speech in action and we’ll put it up.

Filed under: arduino hacks

Leave a Reply