This commit is contained in:
2025-07-05 23:36:16 -04:00
parent 0abca39b55
commit db54f95470
7 changed files with 86 additions and 8 deletions

View File

@@ -40,11 +40,20 @@ Similarly, **GPIO4** and **GPIO7** provide PWM to the left- and right- side DC m
Changing PWM on each channel determines the speed and direction of the RC car.
+-----------+-------+----------+
| GPIO Num. | State | Function |
| GPIOs | State | Function |
+===========+=======+==========+
| GPIO6 | PWM | Forward |
| GPIO6 & | PWM | Forward |
| GPIO4 | | |
+-----------+-------+----------+
| GPIO5 & | PWM | Reverse |
| GPIO7 | | |
+-----------+-------+----------+
| GPIO6 & | PWM | Left |
| GPIO7 | | |
+-----------+-------+----------+
| GPIO4 & | PWM | Right |
| GPIO5 | | |
+-----------+-------+----------+
The following images illustrate various PWM duty cycles registered by oscilloscope (duty cycles 0%, 48% and 91%, resp.).

View File

@@ -64,17 +64,32 @@ Similarly, <strong>GPIO4</strong> and <strong>GPIO7</strong> provide PWM to the
Changing PWM on each channel determines the speed and direction of the RC car.</p>
<table class="docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p>GPIO Num.</p></th>
<tr class="row-odd"><th class="head"><p>GPIOs</p></th>
<th class="head"><p>State</p></th>
<th class="head"><p>Function</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>GPIO6
<tr class="row-even"><td><p>GPIO6 &amp;
GPIO4</p></td>
<td><p>PWM</p></td>
<td><p>Forward</p></td>
</tr>
<tr class="row-odd"><td><p>GPIO5 &amp;
GPIO7</p></td>
<td><p>PWM</p></td>
<td><p>Reverse</p></td>
</tr>
<tr class="row-even"><td><p>GPIO6 &amp;
GPIO7</p></td>
<td><p>PWM</p></td>
<td><p>Left</p></td>
</tr>
<tr class="row-odd"><td><p>GPIO4 &amp;
GPIO5</p></td>
<td><p>PWM</p></td>
<td><p>Right</p></td>
</tr>
</tbody>
</table>
<p>The following images illustrate various PWM duty cycles registered by oscilloscope (duty cycles 0%, 48% and 91%, resp.).</p>

File diff suppressed because one or more lines are too long