adam512
Posts: 4
Joined: Fri Apr 17, 2015 9:52 am

HELP NEEDED. Raspberry Automation by Speech Recognition

Fri Apr 17, 2015 10:06 am

Hello. I know many project are like this. But i want to use an android phone as the speech input device.
I'm still a newbie here. and wondering if it can be implemented in offline mode. means their is no internet action.
What on my mind is. A speech will be inputed in the android. the android then will check if the spoken word is correct. if its correct it will send a signal to the raspberry to turn on/ off.

Some suggestion will help me a lot. Thanks.! :D :D :D

adam512
Posts: 4
Joined: Fri Apr 17, 2015 9:52 am

Re: HELP NEEDED. Raspberry Automation by Speech Recognition

Fri Apr 17, 2015 1:23 pm

The idea is to do something like this.
https://www.youtube.com/embed/NzKz5F41x9E
https://www.youtube.com/embed/EgLenS32CJo
https://www.youtube.com/embed/xhilXRmknTg

Can you help me on how to do it?
I would like to control the appliances. (on/off)
And use the voice recognition in offline. so there will be no internet connection will be needed.
And what im planning to use as connection of raspberry pi and android is wifi.
Last edited by adam512 on Fri Apr 17, 2015 1:30 pm, edited 1 time in total.

User avatar
mikronauts
Posts: 2794
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: HELP NEEDED. Raspberry Automation by Speech Recognition

Fri Apr 17, 2015 1:27 pm

You will have to write an Android app that uses the voice api to get commands, parse them, then send them to a Pi via UDP or TCP/IP.

Google the following in turn:

"how to install android sdk"

"how to use android voice recognition"

"how to write android socket apps"

"how to write socket based servers for the Raspberry Pi"
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

adam512
Posts: 4
Joined: Fri Apr 17, 2015 9:52 am

Re: HELP NEEDED. Raspberry Automation by Speech Recognition

Fri Apr 17, 2015 1:38 pm

Oww. That's what i dont know. the socket to send command. thank sir. this will help me.

Return to “Automation, sensing and robotics”