Tacho Unit Test #9
DeeEmm
started this conversation in
Code Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Simple unit test to create proof of concept for basic tachometer.
Input signal source will be Hall effect sensor as this is simplest. Goal is to use hall effect sensor with simple trigger wheel to measure RPM of engine / Dyno. Results are printed to serial monitor
In case of both brake and interia dyno. RPM is required to calculate power.
Basic premise is to monitor input and compare against ESP32 millisecond scan timer. The time in between measured pulses can then be used along with the number of pulses per revolution to determine rpm.
At a basic level (such as this test) this can be done in the main loop. However we may need to look to move this into a dedicated task or interrupt depending on how complex the other functions become.
All reactions