833333 divided by TPS number equals RPM. Roughly, there's decimals not accounted for.
Edit sketch with the following to use RPM numbers directly
Code: Select all
int RPM = 9000;
int TPS = (2500000 / RPM) / 3;
Original post:
https://www.youtube.com/watch?v=EXo97nUB3hk
Tested at over 9,000 RPM
I used a Pi Pico and a TC4452V.
It's all generic Arduino code; so grab your favorite micro controller and give it a try.
The oscilloscope is a VDS1022 if you care to know. They sell for $95.