Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Nov 29, 2024
1 parent b805806 commit 54c0287
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bbn_m5atomS3_lite_alternator_freq_to_RPM/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ Attach an interrupt handler function in RISING edge to analog input pin.

Add logic to debounce interrupt. IF you do not know what 'debouncing of interrupt' you can google it.

Debounce timeout. If your engine RPM gauge goes to 5000 RPM and alternalor has N-poles.
Debounce timeout. Let's say your engine RPM gauge goes to 5000 RPM and alternalor has N-poles.
And "transfer number" on an alternator belt (makes alernator RPM differ from engine RPM).
Then the frequency of alternator signal can be up to

5000 * N / 60 Hz

Let's say there are 12 poles on alternator N = 12.
Let's say there are 12 poles on alternator N = 12, R = 1.

5000 * 12 / 60 = 1000 Hz

Expand Down

0 comments on commit 54c0287

Please sign in to comment.