Author Topic: Using sound output for robots  (Read 2622 times)

0 Members and 1 Guest are viewing this topic.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Using sound output for robots
« on: January 25, 2008, 07:33:13 AM »
Another idea that hit me
If you don't want /can't use the serial/ parallel / or USB of a computer ,  you can send outputs to your robot using the headdphone jack. This would have to be a certain pulse width for the microcontroller to understand it though...

Or even if you have a  mp3 player you could record a "sound" that is played to the headphone wire, can be connected to a MCU and then the robot can do a simple task repetitively.

Just an idea.....    8)
Check out the Roboduino, Arduino-compatible board!


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

www.Narobo.com

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Using sound output for robots
« Reply #1 on: January 25, 2008, 09:41:56 AM »
Any ideas on how to turn a datafile into an mp3?

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Using sound output for robots
« Reply #2 on: January 25, 2008, 09:45:05 AM »
Any ideas on how to turn a datafile into an mp3?

lol , no idea whatsoever 

also im guessing the data output would have to be square waves for the MCU , right?
Check out the Roboduino, Arduino-compatible board!


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

www.Narobo.com

Offline dunk

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 1,086
  • Helpful? 21
    • dunk's robot
Re: Using sound output for robots
« Reply #3 on: January 25, 2008, 11:38:56 AM »
Quote
Any ideas on how to turn a datafile into an mp3?
the simplest way i can think of is to feed the data stream into the microphone port and record.
there has to be a nice software way as well though.


dunk.

Offline Maltaeron

  • Full Member
  • ***
  • Posts: 65
  • Helpful? 0
Re: Using sound output for robots
« Reply #4 on: January 25, 2008, 06:15:33 PM »
I don't think you could use an mp3, maybe some sort of compressed wav file, lossy compression doesn't seem like the kind to use for data... lol

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Using sound output for robots
« Reply #5 on: January 25, 2008, 07:40:51 PM »
yea I realized right after I posted it that mp3 wouldn't work . . . the compression will just filter out anything that high of a frequency . . .

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Using sound output for robots
« Reply #6 on: January 26, 2008, 08:44:41 PM »
well anyone know of a program that does this

or perhaps someone would like to create this program  ;)
Check out the Roboduino, Arduino-compatible board!


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

www.Narobo.com

paulstreats

  • Guest
Re: Using sound output for robots
« Reply #7 on: January 27, 2008, 06:58:27 AM »
After creating the hex data file that you want to send, rename it as a .raw file. There are many sound programs that will convert the .raw file into other sound files such as wav and mp3.

The point about mp3 is true, even if you used a 0quality loss control the sound is still compressed.

 


Get Your Ad Here

data_list