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 56f64a3 commit 7b53f0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bbn_m5atomS3_lite_alternator_freq_to_RPM/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ 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.

5000 * 12 / 60 = 1000 Hz

1/1000Hz = 0.001 sec = 1 millisecond

So debouncing time of 100 microseconds should be ok.

On esp32 there has to be added some synchronization code on the critical section of interrupts (pulses) counting.

Expand Down

0 comments on commit 7b53f0f

Please sign in to comment.