Atualizar README.md
This commit is contained in:
parent
f051627c14
commit
15f50cb7bf
1 changed files with 2 additions and 6 deletions
|
@ -15,13 +15,9 @@ This Arduino program is designed to interface with a two-channel incremental enc
|
|||
## Real-Time Calculation of RPM and Speed
|
||||
- The main loop of the program calculates the RPM (revolutions per minute) and the speed in meters per minute (m/min) every second.
|
||||
- RPM is calculated using the formula:
|
||||
\[
|
||||
\text{RPM} = \frac{\text{counter} \times 60}{\text{pulses per revolution}}
|
||||
\]
|
||||
`RPM = (counter * 60) / pulses per revolution`
|
||||
- The speed in m/min is calculated using the formula:
|
||||
\[
|
||||
\text{Speed (m/min)} = \frac{\text{RPM} \times \pi \times \text{roller diameter}}{1000}
|
||||
\]
|
||||
`Speed (m/min) = (RPM * π * roller diameter) / 1000`
|
||||
- After each calculation, the counter is reset for the next measurement period.
|
||||
|
||||
## Displaying Speed on the LCD
|
||||
|
|
Loading…
Add table
Reference in a new issue