motors:motor_with_encoder
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| motors:motor_with_encoder [2022/09/26 19:29] – created aistis | motors:motor_with_encoder [2022/09/26 23:40] (current) – aistis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| motor with encode A B | motor with encode A B | ||
| + | RK 520 encoder motor | ||
| + | one round turn equals to 44 encoded steps | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | <code cpp> | ||
| + | #include < | ||
| + | |||
| + | Encoder knobLeft(19, | ||
| + | |||
| + | void setup() { | ||
| + | Serial.begin(115200); | ||
| + | Serial.println(" | ||
| + | } | ||
| + | |||
| + | void loop() { | ||
| + | auto a = knobLeft.read(); | ||
| + | Serial.printf(" | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | speed reduction | ||
| + | |||
| + | {{: | ||
| + | |||
| + | PWM vs motor speed at 5V: | ||
| + | {{: | ||
| + | |||
| + | |||
| + | {{: | ||
motors/motor_with_encoder.1664209783.txt.gz · Last modified: by aistis
