Yes I am using software serial to receive data from rs232
I am using Arduino Uno and for Rs232 , I am using Max232 IC module with DB9 connector
Data expecting to receive is string
I am not receiving any data at the arduino when I send data from rs232 port
3. If you have two Arduino (UNO/NANO/MEGA), you may connect them together using hard/soft serial port to exercise the process of writing sketches to exchnage string type data. Sometimes, it is difficult to debug 3rd party's codes without having basic understanding of the communication protocol used.
2. Do not connect USB-2 cable with PC. Connect only the USB-1 cable. 3. From start menu, open an IDE; be sure that correct COM port has been assigned for UBS-1 cable. After that Upload the sketch of your post #1. Open the Serial Monitor-1 at Bd = 2400.
4. Connect USB-2 cable. 5. From start menu, open a second IDE; be sure that correct COM port has been assigned for USB-2 cable. After that open the Serial Monitor-2 at Bd = 2400. Choose Carriage return option for Line ending box of Serial Monitor-2 (Fig-2).
6. Enter Hello in the InputBox of Serial Monitor-2 and click on the Send Button. 7. Check that Hello has appeared on the OutputBox of Serial Monitor-1. 8. If the above steps work, then it is fine; else, wait to receive help once I return home from my works.
Check if the Max232 module is functioning correctly. You might want to test it with another device or use an oscilloscope/logic analyzer to inspect the signals.