Author Topic: Voice activation  (Read 1748 times)

0 Members and 1 Guest are viewing this topic.

Offline rebelscumTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Voice activation
« on: January 14, 2009, 04:58:09 PM »
Hey guys,I was curious as to what it would take to have my light in my bedroom turn on via voice activation.What sort of electronics would I need to buy?how complicated is it?has any of you guys done it before?Just to let u no I'am a complete beginner at robotics an electronics so this may be extremely simple I don't know.All i'm asking for is your patience lol everyone was a beginner once right?
Cheers guys

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
Re: Voice activation
« Reply #1 on: January 14, 2009, 05:00:09 PM »
Do you want to use a computer or a microcontroller?
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Voice activation
« Reply #2 on: January 14, 2009, 05:03:06 PM »
Hey guys,I was curious as to what it would take to have my light in my bedroom turn on via voice activation.What sort of electronics would I need to buy?how complicated is it?has any of you guys done it before?
what you would need is some sort of microphone, voice recognition software of programming and a circuit. there are many voice-activation circuits on the web. just google search  :P. airman00 has made a robot with voice-recognition software. send him a personal message and ask how he did that part.

EDIT: oh, and do you want to use a comupter or a microcontroller?
« Last Edit: January 14, 2009, 05:19:46 PM by frodo »
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Voice activation
« Reply #3 on: January 14, 2009, 05:04:27 PM »
darn, eric, you beat me to the reply.  >:( we must have been typing at the same time for it. lol :D
Dan
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline rebelscumTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Voice activation
« Reply #4 on: January 14, 2009, 05:11:13 PM »
blimey u guys are quick at replying lol,thanks for ur advice guys I will deffo contact airman cheers

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
Re: Voice activation
« Reply #5 on: January 14, 2009, 05:25:22 PM »
blimey u guys are quick at replying lol,thanks for ur advice guys I will deffo contact airman cheers
still didnt answer - microcontroller or computer?
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline householdutensils

  • Full Member
  • ***
  • Posts: 72
  • Helpful? 2
Re: Voice activation
« Reply #6 on: January 14, 2009, 06:14:57 PM »
There's a big difference between speech recognition and voice activation.

If you're looking at speech recognition using a Linux PC, your options are limited to development technologies like CMUSphinx or Simon. If your using Windows XP or Vista, you can use SAPI (Microsoft Speech API) which can interface with most major programming languages, via Libs, COM, or packages. This is probably the easiest way to go, since SAPI 5.1 is documented extremely well all over the internet and the entire range of MS Dev tools is way easy to prototype stuff on. Oh...did I mentioned SAPI is free :D

If you want to go the MCU route, you can either use a PC that runs speech recognition software that then sends a signal to your MCU, or you can use dedicated Speech Recognition circuts, which tend to be expensive and difficult to implement. The other option is to find an engine that will run on your microcontroller, but I don't really know how you'd go about that. I would think you'd at least need external memory to hold the grammar and dictionaries.

If, however, you are looking for simple voice activation, you can get a kit like this:
http://www.jaycar.co.nz/productView.asp?ID=KC5172&CATID=&keywords=Voice&SPECIAL=&form=KEYWORD&ProdCodeOnly=&Keyword1=&Keyword2=&pageNumber=&priceMin=&priceMax=&SUBCATID=

This one is from JayCar NZ, but you'll be able to find them all over the place. These kits don't actually recognize grammar and speech, they just act as a switch that activates when it hears any voice. This is easily the most simple way to go, and is probably entirely appropriate if you just want to turn on a light. Alternatively as said above, you can find diy versions of these little badboys on the internet/
« Last Edit: January 14, 2009, 06:21:39 PM by householdutensils »

Offline RoBoTicS

  • Full Member
  • ***
  • Posts: 80
  • Helpful? 0
  • Man is a robot with defects
Re: Voice activation
« Reply #7 on: January 14, 2009, 06:43:10 PM »
Quote
still didnt answer - microcontroller or computer?

lets say he uses a microcontroller.  How would it be done?

Offline Canabots

  • Contest Winner
  • Robot Overlord
  • ****
  • Posts: 245
  • Helpful? 6
  • It's not a bug, it's a feature!
Re: Voice activation
« Reply #8 on: January 14, 2009, 07:41:02 PM »
Well, if you were to use a microcontroller, you would first have to buy/build some sort of speech recognition system, such as this: http://www.robotshop.ca/rb-ima-07-speech-recognition-circuit.html

The only issue with that board is that it requires a separate board to create proper logic outputs, like this one:
http://www.robotshop.ca/rb-ima-06-speech-recognition-interface.html

Afterwards, all you would have to do is create an interface to the microcontroller using those logic outputs, and to create the electronics assembly to control the power to the lights on the room. Then you write the program.

Actually, using that speech recognition system, you might not need a microcontroller. :P

This is just one of many possibilities.

If the recognition of actual words is not required, then you could possibly just connect a microphone to the microcontroller, and when a noise is created, the lights would turn on/off, depending on the program and electrical circuit you create.

These are just some general ideas, I haven't tried anything the likes of this before  :P ;)

Good luck!
« Last Edit: January 14, 2009, 07:42:19 PM by Canabots »
My robotics, electronics, software, or other stuff blog:
www.saltech.wordpress.com

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: Voice activation
« Reply #9 on: January 15, 2009, 12:44:29 AM »
I do this now, I even have the computer tell me the weather.

You need a mac with built in speaker and mic

you need indigo 4.0

you need a smarthome powerlinc usb

you need an x10 lamp module

and you need apple scripts

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Voice activation
« Reply #10 on: January 15, 2009, 07:05:46 AM »
i put voice recognition in case the person who is making the circuit only wants the light to work with a certain word of voice.
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline rebelscumTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Voice activation
« Reply #11 on: January 15, 2009, 08:31:54 AM »
cheers for all your replies guys,I will be using a computer to do this an probably go along the same route as pomprocker.I will keep you guys notified this is my first project lol an will be doing it in between college,work an seeing my mates so I can't promise a quick reply lol Watch this space lol

 


Get Your Ad Here