LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programable MP3 Player

Hello,
 
I am trying to determine how to use an MP3 player to activate based on a signal input.  I want to have it start up and play music when it is recieving this signal, and stop a short duration later.  If this will involve labview, I am not sure.  I do know that you guys seem to know your stuff, and might have some good ideas.  Please feel free to throw out any ideas you have.
 
Thanks a million!
0 Kudos
Message 1 of 7
(3,911 Views)

Hi drewsky,

you can use a Queue with an Event Structure and a State Mashine for solving this. How do you start your mp3 player? Do you use one with ActiveX Support?

Regards

Mike

0 Kudos
Message 2 of 7
(3,906 Views)
You should also better define what you mean by "signal input". Is this some external hardware signal, like a digital control line, or analog voltage, or something? Or, are you referring to some software signal, like somebody pressing a button on a GUI?
0 Kudos
Message 3 of 7
(3,903 Views)
I haven't made myself clear.  I apologize.  I am using a physical mp3 player, not one that will be coded up.  The signal will be from an accelerometer, basically I want it to turn on when it moves.  So it will be an external signal probably a little DC voltage that is sent up the line.  Right now this is all a hardware problem.  It may be the case to where I need to rewrite some code for the mp3 player to get it to read a signal?
0 Kudos
Message 4 of 7
(3,893 Views)

Hi drewsky

There are a few things that you need to consider.  First off how are you going to acquire the accelerometer signal?  You are going to need a DAQ card of some sort.  You will also need some method of sending a signal to the MP3 player to turn it on.  A multifunction DAQ card might be a good choice for your application. It will provide both the analog input for the acceleration measurements, and both analog and digital outputs that can be used to send the signal to your MP3.   You will also need some type of processing that will detect and analyze the acceleration readings and then output a signal to the MP3 player when a particular threshold is reached.  LabVIEW would be a great option as you could easily setup the acquisition and use a similar technique that was described above by Mike.

Chris_K

0 Kudos
Message 5 of 7
(3,836 Views)
I may be mistaken, but it sounds like the user is trying to create something that is portable, and what you're describing won't be portable. If that is what the user is trying to do, then the solution is really dependent on what the MP3 player is, and what its I/O capabilities are. This will be very model-dependent.
0 Kudos
Message 6 of 7
(3,815 Views)
Depending on the current supplied by the accelerometer, you could just wire it in-line instead of the Play button hitting contacts.
0 Kudos
Message 7 of 7
(3,812 Views)