mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 14:40:52 +00:00
descriptions
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<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>
|
||||
<p>The <strong>GPIO0</strong> and <strong>GPIO1</strong> 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>
|
||||
@@ -50,8 +50,8 @@
|
||||
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.
|
||||
In particular, <strong>GPIO6</strong> and <strong>GPIO5</strong> provide PWM to the left- and right- side DC motors to rotate in a <strong>clockwise</strong> direction.
|
||||
Similarly, <strong>GPIO4</strong> and <strong>GPIO7</strong> provide PWM to the left- and right- side DC motors to rotate in a <strong>counter-clockwise</strong> direction.
|
||||
Changing PWM on each channel determines the speed and direction of the RC car.</p>
|
||||
<table class="docutils align-default">
|
||||
<thead>
|
||||
|
Reference in New Issue
Block a user