The comunication throug Putty is:
USB-RS232 dongle
Putty set to
I press "44VL" and press return
In Putty I get the response for the pioneer "VOL044" and the volume change
Putty is set to:
9600 baud
8 Databits
1 stop bit
none parity
XON/XOFF
My connection is a Unu + a RS232 to TLL unit (MAX232 based), with 4 connections VCC, RX, TX and GND; Connected to 5V, pin10 Rx, pin11 Tx (I also tried to revers the RX and TX pin - no difference. I have two RS232 to TLL cards - both appeared in the same way.
I used this scetch
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); //pin10 Rx, pin11 Tx
int ssByte = 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
mySerial.begin(9600);
}
void loop()
{
if (mySerial.available()>0)
{
ssByte = mySerial.read();
Serial.print(ssByte, HEX);
if(mySerial.read() == 0x11) //Pioneer is ready to accept data
{
mySerial.println("44VL"); //data going to Pioneer
delay(5000);
}
}
}
I got no response on of the volume setting of the pioneer, and I could not se any thing on the Uno's serial monitor.
Do I need to solder a connection between pin 1 and pin 6 of the RS232 to TLL?
Any onther thing that can be wrong?