[Solved] Arduino Nano UART problems

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

[Solved] Arduino Nano UART problems

Post 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.

Post Reply