I need to control power amp by rs232. (exsample sent "1on","vol++")
How to make this program and wiring cable to control rs232.please show me
Thank you everybody..
Are you familiar with the Serial.print() command ?
A place to start.
sansab111:
I need to control power amp by rs232. (exsample sent "1on","vol++")
How to make this program and wiring cable to control rs232.please show me
Thank you everybody..
Interface questions:
- What are the 'specs' of the RS232 of the power amp? Does it use RS232 levels or TTL levels? If it uses RS232 levels, you basically need a device that converts the levels and you need to invert the signal (MAX232 comes to mind and will do both for you).
- Does the power amp talk back (acknowledge reception of a command or whatever)?
- Does it use handshaking? If yes, software or hardware handshaking?
The above questions are relevant for the interfacing (hardware, cabling) between your Arduino and the power amp. They can partly be relevant for the software.
Other questions:
- Do you know the baudrate, number of databits, number of stopbits and parity setting?
- Which Arduino are you using?