mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-09 14:35:27 +00:00
pwm
This commit is contained in:
@@ -53,7 +53,7 @@ Based on this constraint, the RC car can only move front, back, and turn/rotate
|
||||
In particular, <strong>GPIO6</strong> and <strong>GPIO5</strong> provide PWM to the left- and right- side DC motors to rotate in a <strong>clockwise</strong> direction.
|
||||
Similarly, <strong>GPIO4</strong> and <strong>GPIO7</strong> provide PWM to the left- and right- side DC motors to rotate in a <strong>counter-clockwise</strong> direction.
|
||||
Changing PWM on each channel determines the speed and direction of the RC car.</p>
|
||||
<p>The following images illustrate various PWM duty cycles registered by oscilloscope.</p>
|
||||
<p>The following images illustrate various PWM duty cycles registered by oscilloscope (duty cycles 0%, 50% and 95%, resp.).</p>
|
||||
<img alt="_images/ESP-IDF_Robot_PWM_Duty-0.bmp" src="_images/ESP-IDF_Robot_PWM_Duty-0.bmp" />
|
||||
<img alt="_images/ESP-IDF_Robot_PWM_Duty-50.bmp" src="_images/ESP-IDF_Robot_PWM_Duty-50.bmp" />
|
||||
<img alt="_images/ESP-IDF_Robot_PWM_Duty-95.bmp" src="_images/ESP-IDF_Robot_PWM_Duty-95.bmp" />
|
||||
|
Reference in New Issue
Block a user