Atualizar README.md

This commit is contained in:
Pablo César Galdo Regueiro 2024-06-17 12:37:54 +02:00
parent f051627c14
commit 15f50cb7bf

View file

@ -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