motors:pwm_analysis
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| motors:pwm_analysis [2023/04/16 19:11] – created aistis | motors:pwm_analysis [2023/04/16 19:16] (current) – aistis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | motor with encoder speed analysis, | + | * motor with encoder speed analysis, |
| + | * Chihai Motor CHR-16GR-050-ABHL DC 6V 12V 7PPR | ||
| + | * https:// | ||
| + | * pwm frequency, duty cycle, speed | ||
| - | pwm frequency, duty cycle, speed | + | {{: |
| + | {{: | ||
| {{: | {{: | ||
| + | < | ||
| + | Encoder motor_pos(18, | ||
| + | WiFiClient client; | ||
| + | MySQL_Connection conn(& | ||
| + | |||
| + | void setup() { | ||
| + | Serial.begin(115200); | ||
| + | Serial.println(" | ||
| + | pinMode(23, OUTPUT); | ||
| + | pinMode(19, OUTPUT); | ||
| + | |||
| + | ledcAttachPin(17, | ||
| + | ledcSetup(1, | ||
| + | ledcWrite(1, | ||
| + | </ | ||
| to rotate motor to precise 2000 position is hard: | to rotate motor to precise 2000 position is hard: | ||
| {{: | {{: | ||
| + | {{: | ||
motors/pwm_analysis.1681661483.txt.gz · Last modified: by aistis
