From 15f50cb7bfd0620e4940f785dcbd5c03eb411cb9 Mon Sep 17 00:00:00 2001 From: pcgaldo Date: Mon, 17 Jun 2024 12:37:54 +0200 Subject: [PATCH] Atualizar README.md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0821713..c606c50 100644 --- a/README.md +++ b/README.md @@ -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