Full Fly-by-Wire Electric Outboard (15): RS-485 Bus Protocol (1) @robertssmorgasbord
Full Fly-by-Wire Electric Outboard (15): RS-485 Bus Protocol (1)  @robertssmorgasbord
Uploaded September 2025 | Updated September 2026, 5 days ago
Designing and implementing the protocol for the RS-485 bus …
↓↓↓ Complete description, time index and links below ↓↓↓

In the previous video we’ve designed and build the circuitry for the RS-485 bus transceivers (link below). Now it’s time to come up with a protocol that lets the master and the different slaves communicate over that RS-485 bus.

At first we just look at different aspects of our protocol: Message contents and sizes, transmission times, real-time constrains etc. After deciding on using fixed-length messages, we dive right into the code. At the end we do a test of course.

00:00 Intro – it’s time for a proper RR-485 protocol
00:47 Design approach – not as structured as for hardware
01:34 Data transmitted – and time required to transmit
08:13 Message timing – motors/tillers real-time control
10:51 Fixed vs variable length messages – fixed it is
13:24 Common code – some unstructured RS485 stuff
19:16 Master class – encapsulates the master’s stuff
25:55 Master sketch – a lot easier using the master class
27:53 Motor class – encapsulates the slave’s stuff
33:23 Motor sketch – also lot easier using the slave class
35:11 Test – the anticlimactic result, it just works
36:47 Wrap-up – next up is fixing the analog stuff, bye

Full Fly-by-Wire Electric Outboard youtube.com/playlist?list=PLwq-2MnM58FKvpYgFXgNCjlKo14L0KI16
Full Fly-by-Wire Electric Outboard (14): RS-485 Bus Hardware youtu.be/l2ASoGL9Jcs
Full Fly-by-Wire Electric Outboard (16): Redesign of ADC Frontend (1) youtu.be/v7nPXcKOeAk
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (1) youtu.be/w1Tx66HK83Q

#flybywire #electricoutboard #haswing #trollingmotor #outboardmotor #outboard #robertssmorgasbord
Full Fly-by-Wire Electric Outboard (15): RS-485 Bus Protocol (1)Full Fly-by-Wire Electric Outboard (17): Redesign of ADC Frontend (2)Mailbag: LiFePO4 Batteries 24V/50Ah & Accessories, Miscellaneous StuffRemington MB-4030 Beard Trimmer Teardown (PCB Reverse Engineered)Full Fly-by-Wire Electric Outboard (12): Temperature Monitoring Circuit & CodeMEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (5)Automatic Night Light Teardown (PIR Sensor, PCB Details)JFETs – The Dirty Details (3/3): Practice 2EMAG Emmi-12HC Ultrasonic Cleaner – RepairFull Fly-by-Wire Electric Outboard (5): Current Sensor Prototype & TestElectronic Steering Wheel / Rudder Jog IP68 (12): WheelSmall Project: IP68 Battery Switch & Fuse Box for 24V/50A LiFePO4 Battery (2/2)
Roberts Smorgasbord |

Full Fly-by-Wire Electric Outboard (15): RS-485 Bus Protocol (1)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER