drakerdg / rpm_calc_pwm Goto Github PK
View Code? Open in Web Editor NEWI have used external and internal interrupts in this code to calculate the DC motor RPM. I have used an IR sensor and an encoder to translate the motion into an electrical signal. In addition, I have also used a TFT display (ST7735) and a Beatle BadUSB atmega32u4 (Leonardo) to display the RPM of the DC motor