I used Serial - TTL converter to Arduino uno pin 2 (RX) and Pin 3 (TX).
Then I use softwareserial, open Serial (uno) and mySerial (soft) began to communicate.
It is normal to send messages from Serial to mySerial.
But when I send a message from mySerial to Serial, it will automatically receive the message.
(EX:MySerial sends “a” messages, and Serial receives “a”, but mySerial also receives “a”, mySerial should not receive any messages)
The situation is
- PC → send a → Arduino (PC and Arduino both receive a) (issue)
- Arduino → Send a → PC (PC receives a, Arduino does not have any message (fine)
PC (RS232) →RS232 to TTL →Arduino.
What can I do?