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










