Full Fly-by-Wire Electric Outboard (26): RPM Measurement via Motor Current (2) @robertssmorgasbord
Full Fly-by-Wire Electric Outboard (26): RPM Measurement via Motor Current (2)  @robertssmorgasbord
Uploaded December 2025 | Updated September 2026, 11 hours ago
Using the ATmega4809 analog comparator to measure the motor’s RPM …
↓↓↓ Complete description, time index and links below ↓↓↓

In the last video we’ve developed an active band pass filter to extract the sinusoidal fluctuation in the motor current (link below). Now we just have to measure the frequency of those oscillations to calculate the motor’s speed.

First we connect the output of our filter to an analog comparator input of our Arduino. Then we write some code to measure the frequency using an interrupt. Initially we get spurious readings at 0 RPM, but a slight adjustment fixes that.

00:00 Intro – let’s count oscillations to measure RPM
00:54 Circuit – filter output and Arduino A6 connected
01:21 Code 1 – RPM measurement comparator interrupt
10:43 Test 1 – works, but spurious readings with motor off
13:44 Code 2 – adjusting the threshold of the comparator
14:40 Test 2 – spurious readings with motor off gone
15:53 Wrap-up – next is some housekeeping, bye

Full Fly-by-Wire Electric Outboard youtube.com/playlist?list=PLwq-2MnM58FKvpYgFXgNCjlKo14L0KI16
Full Fly-by-Wire Electric Outboard (25): RPM Measurement via Motor Current (1) youtu.be/SDlMZ4LuVTg
Full Fly-by-Wire Electric Outboard (27): Housekeeping (2) youtu.be/sxmy_BU-NdY
Arduino megaAVR Analog Comparator, e.g. Nano Every ATmega4809 youtu.be/6zbvXBz7TKc

#flybywire #electricoutboard #haswing #trollingmotor #outboardmotor #outboard #robertssmorgasbord
Full Fly-by-Wire Electric Outboard (26): RPM Measurement via Motor Current (2)Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (5)RS-485 – The Details (3/4): Full-Duplex Bus, Interleaving MessagesFull Fly-by-Wire Electric Outboard (22): Redesign of ADC Frontend (4)German Telekom ISDN NTBA Teardown (All the Chips)Full Fly-by-Wire Electric Outboard (28): RPM Measurement via Motor Current (3)Proxxon PD 250/E Lathe Tailstock Maintenance (Cleaning & Adjusting)Electronic Steering Wheel / Rudder Jog IP68 (19): KeyFull Fly-by-Wire Electric Outboard (18): Chasing Noise & Intermittent Errors (1)Haswing Protruar 2.0 24V Trolling Motor – More Reverse EngineeringSolid-State Relays – The Details (2)Dual Electronic Engine Control Lever IP68 (16): Rotary Table Setups
Roberts Smorgasbord |

Full Fly-by-Wire Electric Outboard (26): RPM Measurement via Motor Current (2)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER