This commit is contained in:
2025-07-02 22:30:56 -04:00
parent e41bc161f1
commit 7a7d301572
6 changed files with 22 additions and 3 deletions

View File

@@ -54,7 +54,12 @@ In particular, <strong>GPIO6</strong> and <strong>GPIO5</strong> provide PWM to
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 (duty cycles 0%, 50% and 95%, resp.).</p>
<figure class="align-default" id="id1">
<img alt="_images/ESP-IDF_Robot_PWM_Duty-0.bmp" src="_images/ESP-IDF_Robot_PWM_Duty-0.bmp" />
<figcaption>
<p><span class="caption-text">DC Motor PWM duty cycle 0%.</span><a class="headerlink" href="#id1" title="Link to this image"></a></p>
</figcaption>
</figure>
<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" />
<br/><br/><br/><br/><table class="docutils align-default">