Uploaded July 2025 | Updated September 2026, 18 hours ago
Trying to improve the RC filter and introducing oversampling …
↓↓↓ Complete description, time index and links below ↓↓↓
Last time we’ve build up the current sensor circuitry, wrote some Arduino code for it, and did some measurement using a constant current source (link below). While the accuracy was OK, we had a bit much noise. So let’s get rid of the noise now.
We first try to improve the filtering at the ADCs input, but that fails. So we move on to a software filter.
00:00 Intro – reducing noise with hard- and software
01:06 Capacitor ESR & ESL – the stuff you don’t want
03:34 Circuit – 100nF capacitor added to ADC input
04:23 Test 1 – noise with 1µF and 1nF cap in parallel
06:06 Results 1 – no improvement, quite the contrary
08:03 Code – implementing oversampling to reduce noise
12:24 Test 2 – noise at 1, 5, 10, 20 & 50 times oversampling
15:23 Results 2 – oversampling works as expected
18:50 Re-calibration – this time doing proper averages
22:39 Test 3 – current readings at 0A and 5A
24:53 Results 3 – precision is good, noise partly OK
28:04 Wrap-up – next we actually connect the motor, bye
Full Fly-by-Wire Electric Outboard youtube.com/playlist?list=PLwq-2MnM58FKvpYgFXgNCjlKo14L0KI16
Full Fly-by-Wire Electric Outboard (6): Current Measurement Circuit & Code (1) youtu.be/ZjQUw6jp80M
MCP300X/MCP320X Family ADCs and Arduino MCUs – The Basics youtu.be/L4hx470XRtI
MCP300X/MCP320X Family ADCs and Arduino MCUs – The Details youtu.be/uI8IOceJs78
#flybywire #electricoutboard #haswing #trollingmotor #outboardmotor #outboard #robertssmorgasbord
Trying to improve the RC filter and introducing oversampling …
↓↓↓ Complete description, time index and links below ↓↓↓
Last time we’ve build up the current sensor circuitry, wrote some Arduino code for it, and did some measurement using a constant current source (link below). While the accuracy was OK, we had a bit much noise. So let’s get rid of the noise now.
We first try to improve the filtering at the ADCs input, but that fails. So we move on to a software filter.
00:00 Intro – reducing noise with hard- and software
01:06 Capacitor ESR & ESL – the stuff you don’t want
03:34 Circuit – 100nF capacitor added to ADC input
04:23 Test 1 – noise with 1µF and 1nF cap in parallel
06:06 Results 1 – no improvement, quite the contrary
08:03 Code – implementing oversampling to reduce noise
12:24 Test 2 – noise at 1, 5, 10, 20 & 50 times oversampling
15:23 Results 2 – oversampling works as expected
18:50 Re-calibration – this time doing proper averages
22:39 Test 3 – current readings at 0A and 5A
24:53 Results 3 – precision is good, noise partly OK
28:04 Wrap-up – next we actually connect the motor, bye
Full Fly-by-Wire Electric Outboard youtube.com/playlist?list=PLwq-2MnM58FKvpYgFXgNCjlKo14L0KI16
Full Fly-by-Wire Electric Outboard (6): Current Measurement Circuit & Code (1) youtu.be/ZjQUw6jp80M
MCP300X/MCP320X Family ADCs and Arduino MCUs – The Basics youtu.be/L4hx470XRtI
MCP300X/MCP320X Family ADCs and Arduino MCUs – The Details youtu.be/uI8IOceJs78
#flybywire #electricoutboard #haswing #trollingmotor #outboardmotor #outboard #robertssmorgasbord










