This commit is contained in:
2025-07-02 22:14:31 -04:00
parent d53dc49f29
commit dcb3296142
7 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@
<section id="direction-and-speed">
<h3>Direction and Speed<a class="headerlink" href="#direction-and-speed" title="Link to this heading"></a></h3>
<p>The pairs of DC motors on the left side are wired to the dedicated PWM channels. This means that <em>ESP32-C3 Breadboard DevBoard</em> can control rotation speed and direction of DC motors in pairs only (i.e. left and right side).
Consequently, only four PWM channels are used for controlling the direction of the RC car.
Consequently, only four PWM channels are sufficient for controlling the direction of the RC car.
Based on this constraint, the RC car can only move front, back, and turn/rotate left and right. Any other movements are not possible (i.e. diagonal or sideways).</p>
<p>A pair of PWM channels are required for defining rotation speed and direction of the DC motors on each side.
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.