So I am trying to make a speedometer for my motorbike.
The concept is simple : I have an hall effect sensor, a magnet on my wheel and a screen on my pico that shows the speed every second.
When the bike is not start and that I turn the wheel, i detect the magnet and it shows a normal speed but when I start the bike with a certain engine rotation speed or when I use the horn, the raspberry pico is detecting wheel turns i don't know why and it shows 250km/h on my screen while I'm not even moving the bike
I have conclude that this is linked with electromagnetism disturbance in the ground wire powering the raspberry pico because this append even if I unplug the hall sensor...
I tried to put capacitor on the raspberry power supply but it didn't change nothing.
Does anyone got an idea how to resolve that problem ?
Thanks
(PS :I'm using a raspberry pico with micropython)
The concept is simple : I have an hall effect sensor, a magnet on my wheel and a screen on my pico that shows the speed every second.
When the bike is not start and that I turn the wheel, i detect the magnet and it shows a normal speed but when I start the bike with a certain engine rotation speed or when I use the horn, the raspberry pico is detecting wheel turns i don't know why and it shows 250km/h on my screen while I'm not even moving the bike

I have conclude that this is linked with electromagnetism disturbance in the ground wire powering the raspberry pico because this append even if I unplug the hall sensor...
I tried to put capacitor on the raspberry power supply but it didn't change nothing.
Does anyone got an idea how to resolve that problem ?
Thanks
(PS :I'm using a raspberry pico with micropython)
Statistics: Posted by Loniryz — Mon Feb 24, 2025 10:54 pm — Replies 0 — Views 32