Uploaded February 2026 | Updated September 2026, 2 days ago
Re-designing and re-implementing the code for the RS-485 bus protocol …
↓↓↓ Complete description, time index and links below ↓↓↓
In the previous video we’ve wrote some code to identify the beep codes of the motor drive to determin its status (link below). Now that we have two statuses (intrusion and driver), we take the opportunity to rethink the RS-485 protocol.
First we unify our two transmission unions into a single one and add methods to it. Then we create a base RS485 class with some basic functionality. From that we derive a RS485 master class, a RS485 slave class and finally a RS485 motor class.
00:00 Intro – we’ll add the driver state to the protocol
00:52 Three points – cold, first version and unions
01:50 Union Transmission – one union for all messages
06:15 Class RS485 – encapsulating everything
12:32 Class RS485Master – enormously simplyfied
15:32 Class RS485Slave – base class for all slaves
17:31 Class RS485Motor – also enormously simplified
21:49 Test – anticlimactic, it just works
23:27 Wrap-up – I have no idea what I’ll do next, bye
Full Fly-by-Wire Electric Outboard youtube.com/playlist?list=PLwq-2MnM58FKvpYgFXgNCjlKo14L0KI16
Full Fly-by-Wire Electric Outboard (30): Detection of Motor Driver Beep Codes (2) youtu.be/TxCTWDM-wn4
Full Fly-by-Wire Electric Outboard (15): RS-485 Bus Protocol (1) youtu.be/TxCTWDM-wn4
Full Fly-by-Wire Electric Outboard (32): Mechanical Design Overview youtu.be/SHTb_NvHvsY
#flybywire #electricoutboard #haswing #trollingmotor #outboardmotor #outboard #robertssmorgasbord
Re-designing and re-implementing the code for the RS-485 bus protocol …
↓↓↓ Complete description, time index and links below ↓↓↓
In the previous video we’ve wrote some code to identify the beep codes of the motor drive to determin its status (link below). Now that we have two statuses (intrusion and driver), we take the opportunity to rethink the RS-485 protocol.
First we unify our two transmission unions into a single one and add methods to it. Then we create a base RS485 class with some basic functionality. From that we derive a RS485 master class, a RS485 slave class and finally a RS485 motor class.
00:00 Intro – we’ll add the driver state to the protocol
00:52 Three points – cold, first version and unions
01:50 Union Transmission – one union for all messages
06:15 Class RS485 – encapsulating everything
12:32 Class RS485Master – enormously simplyfied
15:32 Class RS485Slave – base class for all slaves
17:31 Class RS485Motor – also enormously simplified
21:49 Test – anticlimactic, it just works
23:27 Wrap-up – I have no idea what I’ll do next, bye
Full Fly-by-Wire Electric Outboard youtube.com/playlist?list=PLwq-2MnM58FKvpYgFXgNCjlKo14L0KI16
Full Fly-by-Wire Electric Outboard (30): Detection of Motor Driver Beep Codes (2) youtu.be/TxCTWDM-wn4
Full Fly-by-Wire Electric Outboard (15): RS-485 Bus Protocol (1) youtu.be/TxCTWDM-wn4
Full Fly-by-Wire Electric Outboard (32): Mechanical Design Overview youtu.be/SHTb_NvHvsY
#flybywire #electricoutboard #haswing #trollingmotor #outboardmotor #outboard #robertssmorgasbord






![Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (13)
Covering the parameters ORTH_B1B2, ORTH_SEL and FILTER …
↓↓↓ Complete description, time index and links below ↓↓↓
In the previous video we’ve successfully used the SEL_SMISM and SMISM parameters, but couldn’t make sense of the FHYST parameter (link below). Well, there’s no rest for the wicked, so let’s churn through the next parameters.
First we revisit the orthogonality parameters, focusing on ORTH_B1B2. But in the following experiment ORTH_B1B2, like ORTH_XY before, seems to do absolutely nothing. Finally we have a look at the FILTER parameter and it actually works.
00:00 Intro – we’ll start with ORTH_B1B2 and go from there
00:45 ORTH_[SEL|XY|B1B2] – recap focused on ORTH_B1B2
03:53 Experimenting 1 – effect of ORTH_B1B2 (there’s none)
07:08 FILTER – according to the datasheet
09:03 Experimenting 2 – FILTER works as expected
13:01 Preview – 3D, KALPHA, KBETA, KT and FHYST (again)
16:10 Wrap up – some math and geometry ahead, bye
Tutorials https://www.youtube.com/playlist?list=PLwq-2MnM58FKn3920rc1V0qoTsQDheTIw
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Basics https://youtu.be/XAbHbonRWEk
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (1) https://youtu.be/w1Tx66HK83Q
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (2) https://youtu.be/HDymx1VU_a8
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (3) https://youtu.be/6rkxCzaH1hQ
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (4) https://youtu.be/8s34R9XDqzk
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (5) https://youtu.be/MrlVVu7uIHg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (6) https://youtu.be/5g_6NYy5Qcg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (7) https://youtu.be/0tTG7peMkSI
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (8) https://youtu.be/xaL3Or_DVjI
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (9) https://youtu.be/JhSwvkAOEUc
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (10) https://youtu.be/YmZj0D8PAvE
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (11) https://youtu.be/HtG6XRlLfJg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (12) https://youtu.be/lx8CAS7Sqfo
My code https://drive.google.com/drive/folders/1CLvym6ytoPLXkoji6DU-rJKnTpFYmiu6?usp=sharing
Melexis MLX90636 Datasheet https://media.melexis.com/-/media/files/documents/datasheets/mlx90363-datasheet-melexis.pdf
Getting Started Guide for MLX90363 | Melexis https://media.melexis.com/-/media/files/documents/application-notes/mlx90363-getting-started-guide-application-note-melexis.pdf?la=en
#arduino #magnetometer #microcontroller #spi #tutorials #tutorial #how-to #robertssmorgasbord Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (13)](https://i.ytimg.com/vi/zKj6MQiQBz4/mqdefault.jpg)