I've connected same fan to motherboard, and used it's bios settings to change speeds from min to max and based on that, updated the code, and now it delivers results consistent with motherboard readings.
cnt=60000/cnt*50.
I've connected same fan to motherboard, and used it's bios settings to change speeds from min to max and based on that, updated the code, and now it delivers results consistent with motherboard readings.
cnt=60000/cnt*50.
It makes very little difference now that you've managed a method that works, but there is a pretty good read on measuring frequency with Pulsin here: http://batdetector.freevar.com/ArduBat/PulseIn.html (notice the misspelling).
Bookmarks