Troubles with RS232 UART
Posted: Fri Feb 24, 2023 2:03 am
Hi,
I am using the Arduino chipset. I have provided my code as an attachment. I am attempting to send "HELLO\n" over UART from the ATMEGA2560 H0,H1,GND (channel 3)pins to docklight. I am connecting to the desktop with a rs232 to usb(PL-2303), null modem, and DB9 breakout connector. I also tried connecting with a RS232 Shield. I have tried with different baud rates and no luck. I use 1 start, 1 stop, no parity. Any suggestions?
I attached a pic of what I get if I try sending "HELLO\n" to docklight.
Something odd I noticed if I program the ARDUINO2560 using Arduino studio with the flowcode c-code i might get it to work. If build the .hex file and program with atmel-ice using microchip studio it will not work. Why?
I am banging my head on the keyboard because it seems like it is something so simple and I have not been able to get it.
I am using the Arduino chipset. I have provided my code as an attachment. I am attempting to send "HELLO\n" over UART from the ATMEGA2560 H0,H1,GND (channel 3)pins to docklight. I am connecting to the desktop with a rs232 to usb(PL-2303), null modem, and DB9 breakout connector. I also tried connecting with a RS232 Shield. I have tried with different baud rates and no luck. I use 1 start, 1 stop, no parity. Any suggestions?
I attached a pic of what I get if I try sending "HELLO\n" to docklight.
Something odd I noticed if I program the ARDUINO2560 using Arduino studio with the flowcode c-code i might get it to work. If build the .hex file and program with atmel-ice using microchip studio it will not work. Why?
I am banging my head on the keyboard because it seems like it is something so simple and I have not been able to get it.