An exercise in servo voice control with Android

voice-controlled-android-lock

[Shazin] had some free time on his hands, so he settled in to do something he had been meaning to for a while – learn Android programming. He went an indirect route, and ended up using the Scripting Layer for Android (SL4A), which gave him a head start on the process. Sitting in between the Android API and scripting languages such as Python, SL4A allowed him the ability to apply something he was already familiar with to the Android environment.

He thought it would be cool to try building a door entry system which relied on voice commands to lock and unlock. Using the Google Voice API for Android and an Arduino, he built a small Python application that allows him to toggle a servo simply by talking into his phone.

The application on his phone communicates with an Arduino over WiFi, once Google Voice has decoded the command [Shazin] is giving. The Arduino controls a servo, which in theory could control the locking mechanism on a door.

After a bit of tweaking and some added security, his proof of concept could definitely come in handy.

Check out the short video below to see [Shazin’s] voice-controlled servo in action.

Comments

  1. someboy says:

    it would be cool if such things could be added to speaktoit app

  2. leftthehypnotistearly says:

    as an australian Ive found that this would probably work better if you put on an overtly cliched american accent.Im not being smart , its the only way i can get my phone to understand me!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 93,960 other followers