This commit is contained in:
2025-07-05 23:43:14 -04:00
parent c8aa262b67
commit 6a750fcb85
8 changed files with 67 additions and 29 deletions

View File

@@ -39,21 +39,21 @@ In particular, **GPIO6** and **GPIO5** provide PWM to the left- and right- side
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.
+-----------+-------+----------+
| GPIOs | State | Function |
+===========+=======+==========+
| GPIO6 & | PWM | Forward |
| GPIO4 | | |
+-----------+-------+----------+
| GPIO5 & | PWM | Reverse |
| GPIO7 | | |
+-----------+-------+----------+
| GPIO6 & | PWM | Left |
| GPIO7 | | |
+-----------+-------+----------+
| GPIO4 & | PWM | Right |
| GPIO5 | | |
+-----------+-------+----------+
+-----------+-------+---------------------------------------+----------+
| GPIOs | State | Description | Function |
+===========+=======+=======================================+==========+
| GPIO6 & | PWM | Left & Right DC Motors | Forward |
| GPIO4 | | spin clockwise | |
+-----------+-------+---------------------------------------+----------+
| GPIO5 & | PWM | Left & Right DC Motors | Reverse |
| GPIO7 | | spin counterclockwise | |
+-----------+-------+---------------------------------------+----------+
| GPIO6 & | PWM | Left DC Motors spin clockwise | Left |
| GPIO7 | | Right DC Motors spin counterclockwise | |
+-----------+-------+---------------------------------------+----------+
| GPIO4 & | PWM | Left DC Motors spin counterclockwise | Right |
| GPIO5 | | Right DC Motors spin clockwise | |
+-----------+-------+---------------------------------------+----------+
The following images illustrate various PWM duty cycles registered by oscilloscope (duty cycles 0%, 48% and 91%, resp.).

View File

@@ -66,6 +66,7 @@ Changing PWM on each channel determines the speed and direction of the RC car.</
<thead>
<tr class="row-odd"><th class="head"><p>GPIOs</p></th>
<th class="head"><p>State</p></th>
<th class="head"><p>Description</p></th>
<th class="head"><p>Function</p></th>
</tr>
</thead>
@@ -73,21 +74,29 @@ Changing PWM on each channel determines the speed and direction of the RC car.</
<tr class="row-even"><td><p>GPIO6 &amp;
GPIO4</p></td>
<td><p>PWM</p></td>
<td><p>Left &amp; Right DC Motors
spin clockwise</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>Left &amp; Right DC Motors
spin counterclockwise</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 DC Motors spin clockwise
Right DC Motors spin counterclockwise</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>Left DC Motors spin counterclockwise
Right DC Motors spin clockwise</p></td>
<td><p>Right</p></td>
</tr>
</tbody>

File diff suppressed because one or more lines are too long

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: fb0788d5a1f893b7e3c3f696413a5487
config: d926a5bb60ced0af1fff872097d223ce
tags: 62a1e7829a13fc7881b6498c52484ec0

View File

@@ -385,6 +385,11 @@ Changing PWM on each channel determines the speed and direction of the RC car.
State
</p>
</th>
<th class="head">
<p>
Description
</p>
</th>
<th class="head">
<p>
Function
@@ -405,6 +410,12 @@ GPIO4
PWM
</p>
</td>
<td>
<p>
Left &amp; Right DC Motors
spin clockwise
</p>
</td>
<td>
<p>
Forward
@@ -423,6 +434,12 @@ GPIO7
PWM
</p>
</td>
<td>
<p>
Left &amp; Right DC Motors
spin counterclockwise
</p>
</td>
<td>
<p>
Reverse
@@ -441,6 +458,12 @@ GPIO7
PWM
</p>
</td>
<td>
<p>
Left DC Motors spin clockwise
Right DC Motors spin counterclockwise
</p>
</td>
<td>
<p>
Left
@@ -459,6 +482,12 @@ GPIO5
PWM
</p>
</td>
<td>
<p>
Left DC Motors spin counterclockwise
Right DC Motors spin clockwise
</p>
</td>
<td>
<p>
Right

View File

@@ -39,21 +39,21 @@ In particular, **GPIO6** and **GPIO5** provide PWM to the left- and right- side
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.
+-----------+-------+-------------+----------+----------+
| GPIOs | State | Description | Function |
+===========+=======+========================+==========+
| GPIO6 & | PWM | Left & Right DC Motors | Forward |
| GPIO4 | | spin clockwise | |
+-----------+-------+------------------------+----------+
| GPIO5 & | PWM | Left & Right DC Motors | Reverse |
| GPIO7 | | spin counterclockwise | |
+-----------+-------+---------------------------------------+----------+
| GPIOs | State | Description | Function |
+===========+=======+=======================================+==========+
| GPIO6 & | PWM | Left & Right DC Motors | Forward |
| GPIO4 | | spin clockwise | |
+-----------+-------+---------------------------------------+----------+
| GPIO5 & | PWM | Left & Right DC Motors | Reverse |
| GPIO7 | | spin counterclockwise | |
+-----------+-------+---------------------------------------+----------+
| GPIO6 & | PWM | Left DC Motors spin clockwise | Left |
| GPIO7 | | Right DC Motors spin sounterclockwise | |
+-----------+-------+----------+
| GPIO7 | | Right DC Motors spin counterclockwise | |
+-----------+-------+---------------------------------------+----------+
| GPIO4 & | PWM | Left DC Motors spin counterclockwise | Right |
| GPIO5 | | |
+-----------+-------+----------+
| GPIO5 | | Right DC Motors spin clockwise | |
+-----------+-------+---------------------------------------+----------+
The following images illustrate various PWM duty cycles registered by oscilloscope (duty cycles 0%, 48% and 91%, resp.).