descriptions

This commit is contained in:
2025-07-01 01:43:21 -04:00
parent da9fa483ab
commit 112a099638
8 changed files with 226 additions and 192 deletions

View File

@@ -38,10 +38,15 @@
<p>The BitByteRider RC car is powered by ESP32-C3 Breadboard &amp; Power adapter developmemt board.</p>
<section id="reserver-pins-gpios">
<h2>Reserver Pins &amp; GPIOs<a class="headerlink" href="#reserver-pins-gpios" title="Link to this heading"></a></h2>
<p>The table below summarizes GPIOs and pins reserved for operations purposes.</p>
<p>GPIO number corresponds to that on the ESP32-C3 WROOM microcontroller. The Pin number corresponds to the pin on the Breadboard and Power adapter development board.
The GPIO0 and GPIO1 assigned to measuring the voltage of x- and y- axis of the Joystick. Lastly, there is a group of GPIO pairs responsible for PWM for DC motors.
The two DC motors on the left side are wired to the same PWM channel, as well as the two DC motors on the right side. Consequently, only four PWM channels are required for controlling the direction of the RC car.
<p>The following table summarizes GPIOs and pins reserved for operations purposes.</p>
<p>The GPIO numbers correspond to those on the ESP32-C3 WROOM microcontroller. The Pin number corresponds to the pin on the Breadboard and Power adapter development board.</p>
<section id="x-and-y-axis">
<h3>x- and y- axis<a class="headerlink" href="#x-and-y-axis" title="Link to this heading"></a></h3>
<p>The GPIO0 and GPIO1 assigned to measuring the voltage of x- and y- axis of the Joystick. Lastly, there is a group of GPIO pairs responsible for PWM for DC motors.</p>
</section>
<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 two DC motors on the left side are wired to the same PWM channel, as well as the two DC motors on the right side. Consequently, only four PWM channels are required for controlling the direction of the RC car.
A pair of PWM channels are required for defining rotation speed and direction of the DC motors on each side.
In particular, GPIO6 and GPIO5 provide PWM to the left- and right- side DC motors to rotate in a clockwise direction.
Similarly, GPIO4 and GPIO7 provide PWM to the left- and right- side DC motors to rotate in a counter-clockwise direction.
@@ -93,6 +98,7 @@ Changing PWM on each channel determines the speed and direction of the RC car.</
</tbody>
</table>
</section>
</section>
<section id="schematic">
<h2>Schematic<a class="headerlink" href="#schematic" title="Link to this heading"></a></h2>
<img alt="_images/ESP-IDF_Robot_schematic.png" src="_images/ESP-IDF_Robot_schematic.png" />