Author Topic: DTMF From Music  (Read 3519 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
DTMF From Music
« on: April 01, 2008, 09:48:12 PM »
So what I am building now is an interface between sound output of an MP3 player and a microcontroller


I want to use this DTMF decoder
http://www.dschmidt.com/dtmf.html

and just plug in the output from the MP3 player into that . Then from the serial output of the decoder I connect that to a PIC microcontroller and the MC will behave according to which tone was sent from the MP3 player.


Anything I'm missing here ,or would my proposed set up work?

,Eric
Check out the Roboduino, Arduino-compatible board!


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

www.Narobo.com

Offline hazzer123

  • Supreme Robot
  • *****
  • Posts: 460
  • Helpful? 3
Re: DTMF From Music
« Reply #1 on: April 02, 2008, 06:16:12 AM »
Sounds pretty good to me :)

Though im interested in why you want to do this... Isnt there a method that cuts out the 'middle man'. An serial eeprom which stores the data you need and then transmits it serially to the MCU. No need for a mp3 player then.
Imperial College Robotics Society
www.icrobotics.co.uk

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: DTMF From Music
« Reply #2 on: April 02, 2008, 06:54:40 AM »
Sounds pretty good to me :)

Though im interested in why you want to do this... Isnt there a method that cuts out the 'middle man'. An serial eeprom which stores the data you need and then transmits it serially to the MCU. No need for a mp3 player then.


No I want it to be MP3 based , so to change the routine sequence you would change the audio file INSTEAD of the microcontroller program.

Basically I want the microcontroller to do routines based on what tone is played by the MP3 player


Also, can I generate DTMF from a mono output NOT stereo output???  I think so , but I may be wrong.
Check out the Roboduino, Arduino-compatible board!


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

www.Narobo.com

Offline kd5kfl

  • Full Member
  • ***
  • Posts: 72
  • Helpful? 1
Re: DTMF From Music
« Reply #3 on: April 02, 2008, 06:59:07 AM »
Quote
can I generate DTMF from a mono output NOT stereo output???

you do, every time you make a phone call.

use a DTMF encoder chip. probably a Radio Shack item.

Offline Asellith

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 648
  • Helpful? 9
  • "I'm a leaf on the wind. Watch how I soar"
    • CorSec Engineering
Re: DTMF From Music
« Reply #4 on: April 02, 2008, 07:35:01 AM »
Why not just use the EEPROM but instead of having hard coded sequences have a programmable setup that will allow you to add or change sequences with a keypad. You could even just put an RJ-11 jack on it and plug a phone into it. Then dial like #1*(insert sequence here) to add one to slot one or #2# to delete the stored value. If you have the keypad onboard you just have to make a sequence to call a stored value like 2# or 2*. Do you need the DTMF tones or was that just a good way to have the mp3 player talk to the controller? If you don't need the tones then it would be even easier to store values from the keypad in the controller and use the keypad to call a sequence.
Jonathan Bowen
CorSec Engineering
www.corseceng.com

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: DTMF From Music
« Reply #5 on: April 02, 2008, 10:31:28 AM »
Do you need the DTMF tones or was that just a good way to have the mp3 player talk to the controller?

Yep

I need it from an MP3 player so its easy to sync routines to music. I will have two channels . One will be DTMF and one will be for music. Then I can just upload the two channel audio file into the MP3 player and that will send out the data to the MC 

Check out the Roboduino, Arduino-compatible board!


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

www.Narobo.com

Offline Asellith

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 648
  • Helpful? 9
  • "I'm a leaf on the wind. Watch how I soar"
    • CorSec Engineering
Re: DTMF From Music
« Reply #6 on: April 02, 2008, 01:23:38 PM »
http://www.bpesolutions.com/asoundeuip.html#anchor319960

so your building something like that? They have several different wizard models that increase the amount of servos and outputs you can have. All seem to have a 4 min audio recording limit however not sure why that is. Cheap way to make a dancing biped robot.
Jonathan Bowen
CorSec Engineering
www.corseceng.com

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: DTMF From Music
« Reply #7 on: April 02, 2008, 01:32:54 PM »
i just love the idea of using mp3 players with bots,

do make a tutorial on how u did it after u make the bot coz i am really interested in ur project
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

 


Get Your Ad Here