Hello!
You can give a link to the document where you found "UART is a communication protocol"
As soon as you search on the net, you will find UART associated with protocol, and this is not
necessarily by newbies as the analog devices link below shows.
UART, or universal asynchronous receiver-transmitter, is one of the most used device-to-device communication protocols. This article shows how to use UART as a hardware communication protocol by following the standard procedure.When properly configured, UART can work with many different types of...
That's a matter of definition. So even if the terms are not adequate, I somewhat understand what
this article is about. I often use the word "kilogram" for a force, and I might be seen as a heretic
from the purists of physics. Kilogram somewhat "talks" to me, not newton. But I of course use
newtons for calculations.
That said, I agree with you that some more net search would bring quite a few implementation examples.
@joniengr:
- Buy a RS 422 chip
- Wire microcontroller TX to one input, which will transform TX to a pair TX+ / TX- which goes to external
communicating hardware
- Wire microcontroller RX to one output, the input being RX+ / RX- coming from external communicating
hardware.
At some point you may have to add 100 ohms loads somewhere between +/-.
Doing this, you can probably run at full speed of your µC, but this may depend on the cable length.
NB: I haven't touched that kind of hardware for a while, so try to search the net for actual schematics.
And come back when you have done your homework. No problem if it doesn't work at that point,
we are here to help. I mean: no problem if you have at least tried something.
Dora.