With demonstrations using Arduinos and TI SN75176B transceivers …
↓↓↓ Complete description, time index and links below ↓↓↓
In the first video we had a look at the principles of RS-485 communication as well as its bus topology, specification and performance. We’re now ready to establish communication between two Arduino MCUs using a RS-485 connection.
First we reminisce how easy RS-422 was. After we discuss the challenges of using half-duplex RS-485 busses, we come up with a simple protocol and implement the required hardware and software. Finally our Arduinos talk to each other.
00:00 Intro – making two Arduinos talk to each other via RS-485
01:06 RS-422 – easy full-duplex point-to-point with serial ports
02:26 Bus – challenges and pitfalls of using half-duplex RS-485
04:34 Protocol – exemplary master - (single) slave communication
09:40 Hardware – Arduino, SN75176B, 4 resistors, 1 capacitor
15:19 Software – for master sending bytes and slave echoing them
26:05 Result – echoing characters via RS-485 and a look at the scope
28:29 Wrap-up – next we’re using RS-485 with an Arduino MCU, bye
Tutorials https://www.youtube.com/playlist?list=PLwq-2MnM58FKn3920rc1V0qoTsQDheTIw
RS-485 – The Basics (1/2): Principles, Topology, Specification, Performance https://youtu.be/DRR9NUAMKic
RS-485 – The Basics (2/2): Simple Master-Slave Half-Duplex Setup https://youtu.be/FBA98ks61Dg
RS-485 – The Details (1/4): Timeouts, Addressing, Multiple Slaves https://youtu.be/ncQ16ht-9nU
RS-485 – The Details (2/4): Failsafe Biasing, Associated Protocol Simplifications https://youtu.be/ITlgIUTyPVo
RS-485 – The Details (3/4): Full-Duplex Bus, Interleaving Messages https://youtu.be/N9N53I6ipG0
RS-485 – The Details (4/4): Modbus, PROFIBUS, DMX https://youtu.be/SzlGJrPhmwE
RS-422 RS-Differential Signaling (Renesas ISL8490, Arduino MCU) – The Basics (1/2) https://youtu.be/6YWZMRe-7DQ
RS-422 Differential Signaling (Renesas ISL8490, Arduino MCU) – The Basics (2/2) https://youtu.be/hoZ4D2Tk9Qc
RS-422 Differential Signaling (ISL8490, AdUM121N) – The Details (1/2) https://youtu.be/__EvQgr3sGA
RS-422 Differential Signaling (ISL8490, AdUM121N) – The Details (2/3) https://youtu.be/0WHKMjBg1QQ
RS-422 Differential Signaling (ISL8490, AdUM121N) – The Details (3/4) https://youtu.be/y0wD84uRvbY
RS-422 Differential Signaling (ISL8490, AdUM121N) – The Details (4/4) https://youtu.be/Xamy60ZRohw
My code https://drive.google.com/drive/folders/1gzxPKzEM4quBD5I5Gl0RCIzb5ipcODZp?usp=sharing
Texas Instruments, Application Report, RS-422 and RS-485 Standards Overview and System Configurations http://focus.ti.com/lit/an/slla070d/slla070d.pdf
#rs485 #arduino #mcu #microcontroller #tutorials #tutorial #how-to #robertssmorgasbord