Page 1 of 1

[Solved] Arduino Nano UART problems

Posted: Sat Jul 03, 2021 10:12 pm
by MJU
It's nice to start a topic with "solved" in the title .
In Belgium we have a saying that, translated, must sound something like: " A donkey doesn't hit the same stone twice", but I must be dumber then a donkey :-)

In some projects I've used the UART of a Arduino Nano (Chinese version with a CH340 chip), and almost every time I've had problems.
Last days I was, again, working on something that uses the UART on a Nano and again got some weird readings.
After a while I've noticed that the RX and TX were labelled with TX1 and RX0.. so not the same UART?

My logic analyser tells me that there is something wrong. I can read what is going on and then I found this article:
https://forum.arduino.cc/t/btooth-to-id ... -tx/622840

Oh my! I've been using different UART channels all this time.
I've changed my UART from the hardware version (like mentioned in the article), to the software version and now everything works.

I just want to share this problem and it's origin so no other one will bump his head twice against the same stone.