jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.82k stars 720 forks source link

Is 8-N-1 right for this? #496

Open elvisthedj opened 3 years ago

elvisthedj commented 3 years ago
Screen Shot 2020-08-28 at 2 52 28 PM

Trying to breathe some new life into an old amp that only supports control via RS232.

I'm set to 4800 8N1, but the manual doesn't mention anything about the stop bit.. just 4800, 8, no parity and no handshake (no CR or LF either).

I should get an OK when I send AT, but nothing I send gets a reply.

I have not tested this with any other method because i don't yet have what I need (usb -> db9 rs232 on the way), but I just wanted to see if someone had an option for me to try.

I used my scope to verify the signaling is going to the right pin, but I get no response. I'm probably going to have to wait until my cable shows up, but thought maybe there was a slight chance that someone else had gone through something similar and came up with an answer.

Thanks!

uzi18 commented 3 years ago

@elvisthedj any type/model of this amp?

elvisthedj commented 3 years ago

Matrix Audio MRC-84e

I just realized that even with Vin, I'm not getting the voltage necessary for RS232. I'm going to try it with an external supply for the ttl-rs232 chip and see if I get a proper signal.

uzi18 commented 3 years ago

It is hard to find anything more, you need 3v3 to rs232 converter and null modem cable

elvisthedj commented 3 years ago

I'm getting a solid RS232 signal on my scope, but still no reply from device. I notice that the url in the esp log includes h=xxxxx ... Does this mean I'm sending hex values? I'm thinking I need to just send ASCII.

uzi18 commented 3 years ago

please attach some logs