Posts: 1
Joined: Mon Nov 27, 2017 5:02 pm

Hall Effect Sensor not Reading Fast Enough

Mon Nov 27, 2017 5:10 pm

I recently have been working on a school project to read rpm speeds from several different locations on a Baja vehicle. I am using a raspberry pi zero w and am running the code through python. During my recent test I noticed that most of my sensors were working and reading accurately except for one. I have one sensor reading the output of a 3600 rpm engine, and the program was maxing right around 3000 rpm. When I tested with a separate commercial gauge the engine was in fact turning at 3600. the Hall effect sensor has a working refresh rate of 10 khz so I don't think the sensor is my problem but more likely either a setting on my raspberry pi or the coding. If I need to upload the coding I can do so but I'm thinking its something like a refresh setting on the raspberry pi. Thank you.

User avatar
Posts: 294
Joined: Sat Apr 16, 2016 4:28 pm
Location: North Carolina, US
Contact: Website

Re: Hall Effect Sensor not Reading Fast Enough

Tue Nov 28, 2017 10:27 pm

Perhaps this thread could shed some light:


It seems the faster sample programs are using finely tuned assembler.
I am the Umbrella man

User avatar
Posts: 15282
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Hall Effect Sensor not Reading Fast Enough

Tue Nov 28, 2017 10:42 pm

It sounds like a coding problem. I've used Hall effect sensors to measure in excess of 9000 RPM (the sensors were being pulsed in excess of 18000 RPM).

See viewtopic.php?f=37&t=90243

Return to “Automation, sensing and robotics”