I’d like to be able to upload new sketches and monitor the serial port remotely.
- Arduino UNO
- RS232 → TTL (MAX202)
- Digi portserver ts4 (Serial over IP)
PC > Network > Portserver > MAX202 > Arduino (for TX/RX)
The MAX202 converter seems to work. I can monitor the serial TX/RX remotely.
I’m aware that the arduino needs to be reset right before uploading a new sketch. This is done by pulling RTS (and CTS) low which is connected to the reset pin of the atmega.
I’ve connected the RTS/CTS pins to a BC547B which is also connected to ground and the reset pin.
When uploading a new sketch, the UNO is being reset right after compiling the program, but i keep getting these errors:
avrdude: stk500_getsync(): not in sync: resp=0x30
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51