gurudattakr123 wrote:How can we change this code so that rpm and kmph must come back to 0 when wheel is not rotating?
are you asking for devices that could be used as speed sensor for Raspberry Pi?Onkarb68 wrote:Can anyone please tell which RPM sensor has got best accuracy for Raspberry pi3 model B?
the accuracy is quite acceptable for small and simple project where you just wanna create a simple speedometer to calculate the speed of your bike / motobike. as mentioned our friend above, pigpio method is the most accurate implementation.am3u wrote:but how much accurate is it
hi mr blurp!MrBulp wrote:hi Yazid... can i have your email please..
Thanks so much! Thats really what I was looking for before I started working with this project.joan wrote:http://abyz.co.uk/rpi/pigpio/examples.h ... ead_RPM_py shows a method using pigpio.
You might be interested in viewtopic.php?f=37&t=90243
is that the solution for lowering the CPU load? i have tried adding time.sleep(1) in the while true but the problem still exist. Probably something else was not right during my test. I'll try that again soon. Thanks for the feedback!joan wrote:Why not add a time.sleep(1) in the While True: loop?