serial communication with mp3 player
Archiver
Posts: 46,084
I am trying to communicate with a quadravox QV502. This is a mp3
player that reads sound stored on a CF card. The specs are on the
website at www.tetraphon.com/docs/qv502spec.pdf. The company techs
don't know how to interface the stamp with their product. The serial
communication protocol is rs232 0-5v levels, 9600baud, 8 bits, no
parity, noninverted. I have successfully communicated at 2400B with
their QV306 (that parallax now sells) but can't seem to get these
guys talking. I am using a stamp2. To get the qv502 to play a file
one is supposed to simply address that file number. I used the line
in my program to attempt this and it doesn't seem to work: Serout
2,84,[noparse][[/noparse]1]. I also tried to request status and error bytes from the
qv502 with
serout 2,84,[noparse][[/noparse]$F5]
serin 3,84,[noparse][[/noparse]data]
where as 2 is the stamp pin to Rxd, 3 is Txd $F5 is the command
request for status, "data" is a variable. 84 is the baudmode
according to the stamp manual. I have all the obvious tested, such
as power to the qv502, speaker connections (it makes a beep on power
up). I even tried another stamp.
Any ideas would be appreciated.
player that reads sound stored on a CF card. The specs are on the
website at www.tetraphon.com/docs/qv502spec.pdf. The company techs
don't know how to interface the stamp with their product. The serial
communication protocol is rs232 0-5v levels, 9600baud, 8 bits, no
parity, noninverted. I have successfully communicated at 2400B with
their QV306 (that parallax now sells) but can't seem to get these
guys talking. I am using a stamp2. To get the qv502 to play a file
one is supposed to simply address that file number. I used the line
in my program to attempt this and it doesn't seem to work: Serout
2,84,[noparse][[/noparse]1]. I also tried to request status and error bytes from the
qv502 with
serout 2,84,[noparse][[/noparse]$F5]
serin 3,84,[noparse][[/noparse]data]
where as 2 is the stamp pin to Rxd, 3 is Txd $F5 is the command
request for status, "data" is a variable. 84 is the baudmode
according to the stamp manual. I have all the obvious tested, such
as power to the qv502, speaker connections (it makes a beep on power
up). I even tried another stamp.
Any ideas would be appreciated.
Comments
Just figured out my problem I set the volume higher and that solved
the problem.
Cheers
Robin
On Tuesday, April 13, 2004, at 10:04 AM, Gary Goddard wrote:
> I am trying to communicate with a quadravox QV502. This is a mp3
> player that reads sound stored on a CF card. The specs are on the
> website at www.tetraphon.com/docs/qv502spec.pdf. The company techs
> don't know how to interface the stamp with their product. The serial
> communication protocol is rs232 0-5v levels, 9600baud, 8 bits, no
> parity, noninverted. I have successfully communicated at 2400B with
> their QV306 (that parallax now sells) but can't seem to get these
> guys talking. I am using a stamp2. To get the qv502 to play a file
> one is supposed to simply address that file number. I used the line
> in my program to attempt this and it doesn't seem to work: Serout
> 2,84,[noparse][[/noparse]1]. I also tried to request status and error bytes from the
> qv502 with
> serout 2,84,[noparse][[/noparse]$F5]
> serin 3,84,[noparse][[/noparse]data]
> where as 2 is the stamp pin to Rxd, 3 is Txd $F5 is the command
> request for status, "data" is a variable. 84 is the baudmode
> according to the stamp manual. I have all the obvious tested, such
> as power to the qv502, speaker connections (it makes a beep on power
> up). I even tried another stamp.
> Any ideas would be appreciated.
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject
> and Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Dr Robin Petterd
robin@o...
mobile +61 (0)419101928
land +61 (0)3 62314808
http://www.otheredge.com.au