descriptions

This commit is contained in:
2025-07-01 01:47:48 -04:00
parent d43893db0e
commit ac49df7c9b
9 changed files with 32 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 5458a27274c33d5af44795e94e6d9fcd
config: 98742c429cdbadc2becb44395c60939a
tags: 62a1e7829a13fc7881b6498c52484ec0

View File

@@ -71,8 +71,8 @@
</a>
<ul>
<li class="toctree-l2">
<a class="reference internal" href="#reserver-pins-gpios">
Reserver Pins &amp; GPIOs
<a class="reference internal" href="#reserved-pins-gpios">
Reserved Pins &amp; GPIOs
</a>
</li>
<li class="toctree-l2">
@@ -160,10 +160,10 @@
<p>
The BitByteRider RC car is powered by ESP32-C3 Breadboard &amp; Power adapter developmemt board.
</p>
<section id="reserver-pins-gpios">
<section id="reserved-pins-gpios">
<h3>
Reserver Pins &amp; GPIOs
<a class="headerlink" href="#reserver-pins-gpios" title="Link to this heading">
Reserved Pins &amp; GPIOs
<a class="headerlink" href="#reserved-pins-gpios" title="Link to this heading">
&para;
</a>
</h3>
@@ -186,15 +186,19 @@
</section>
<section id="direction-and-speed">
<h4>
Direction and speed
Direction and Speed
<a class="headerlink" href="#direction-and-speed" title="Link to this heading">
&para;
</a>
</h4>
<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.
The two DC motors on the left side are wired to the dedicated PWM channels in pairs. This means that PWM channels can control rotation speed and direction of DC motors in pairs (i.e. left and right side).
Consequently, only four PWM channels are required for controlling the direction of the RC car.
Based on this constraint, the RC car can only move front, back, and rotate left and right. Any other movements are not possible (i.e. diagonal).
</p>
<p>
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.
Changing PWM on each channel determines the speed and direction of the RC car.
</p>