Go Down

Topic: How do I control audio device from serial ? (Read 478 times) previous topic - next topic

DavidFMarks

I want to control a quadravox mp3 player by sending serial commands via its RS232 input. I have connected the tx and rx pins of the UNO (via a Max233 level shifter)  to the RS232 input of the Quadravox. Not knowing a fat lot about serial communication I haven't a clue how to send a serial string. All the tutorials I can find show me how to send serial data via the usb port to the serial monitor using commands like serial.print but none tell me how to send out data via the tx pin. I would be grateful for some pointers on how to find out more please.

johnwasser

If you want to send something other than a character string:
Code: [Select]

Serial.write(value); // where 'value' is an integer from 0 to 255
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

DavidFMarks

Excellent, thanks. I'll give that a try !

Go Up