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. 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 | | | | 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.). 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> Changing PWM on each channel determines the speed and direction of the RC car.</p>
<table class="docutils align-default"> <table class="docutils align-default">
<thead> <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>State</p></th>
<th class="head"><p>Function</p></th> <th class="head"><p>Function</p></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr class="row-even"><td><p>GPIO6 <tr class="row-even"><td><p>GPIO6 &amp;
GPIO4</p></td> GPIO4</p></td>
<td><p>PWM</p></td> <td><p>PWM</p></td>
<td><p>Forward</p></td> <td><p>Forward</p></td>
</tr> </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> </tbody>
</table> </table>
<p>The following images illustrate various PWM duty cycles registered by oscilloscope (duty cycles 0%, 48% and 91%, resp.).</p> <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

View File

@@ -1,4 +1,4 @@
# Sphinx build info version 1 # 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. # This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 810e69613b4eb0d1d8e31e14492e94f3 config: fb0788d5a1f893b7e3c3f696413a5487
tags: 62a1e7829a13fc7881b6498c52484ec0 tags: 62a1e7829a13fc7881b6498c52484ec0

View File

@@ -377,7 +377,7 @@ Changing PWM on each channel determines the speed and direction of the RC car.
<tr class="row-odd"> <tr class="row-odd">
<th class="head"> <th class="head">
<p> <p>
GPIO Num. GPIOs
</p> </p>
</th> </th>
<th class="head"> <th class="head">
@@ -396,7 +396,7 @@ Changing PWM on each channel determines the speed and direction of the RC car.
<tr class="row-even"> <tr class="row-even">
<td> <td>
<p> <p>
GPIO6 GPIO6 &amp;
GPIO4 GPIO4
</p> </p>
</td> </td>
@@ -411,6 +411,60 @@ GPIO4
</p> </p>
</td> </td>
</tr> </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> </tbody>
</table> </table>
<p> <p>