mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-13 09:00:13 +00:00
manual
This commit is contained in:
@@ -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: 4cc9ee0f9f77e14cf8c7713a4bf8af68
|
config: 810e69613b4eb0d1d8e31e14492e94f3
|
||||||
tags: 62a1e7829a13fc7881b6498c52484ec0
|
tags: 62a1e7829a13fc7881b6498c52484ec0
|
||||||
|
Binary file not shown.
@@ -333,9 +333,9 @@ Based on this constraint, the RC car can only move front, back, and turn/rotate
|
|||||||
<strong>
|
<strong>
|
||||||
PWM
|
PWM
|
||||||
</strong>
|
</strong>
|
||||||
(Pulse Width Modulation) is a technique used to simulate analog voltage levels using ddiscrete igital signals. It works by rapidly switching a
|
stands for Pulse Width Modulation. It is a technique used to simulate analog voltage levels using discrete digital signals. It works by
|
||||||
digital pin between HIGH (on) and LOW (off) states at a fixed frequency (often, at base frequency of 5 kHz). The duty cycle—the percentage of time the signal is HIGH in one
|
rapidly switching a digital GPIO pin between HIGH (on) and LOW (off) states at a fixed frequency (often, at base frequency of 5 kHz).
|
||||||
cycle determines the effective voltage delivered to a device.
|
The duty cycle—the percentage of time the signal is HIGH in one cycle determines the effective voltage delivered to a device.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
A higher duty cycle increases the motor speed, and a lower duty cycle decreases the motor speed. This allows for fine-grained speed control
|
A higher duty cycle increases the motor speed, and a lower duty cycle decreases the motor speed. This allows for fine-grained speed control
|
||||||
@@ -343,7 +343,7 @@ without needing analog voltage regulators.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
A pair of PWM channels are required for defining rotation speed and direction of the DC motors on each side.
|
A pair of PWM channels are used per DC motor for defining their rotation speed and direction on each side.
|
||||||
In particular,
|
In particular,
|
||||||
<strong>
|
<strong>
|
||||||
GPIO6
|
GPIO6
|
||||||
@@ -372,6 +372,47 @@ Similarly,
|
|||||||
direction.
|
direction.
|
||||||
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.
|
||||||
</p>
|
</p>
|
||||||
|
<table class="docutils align-default">
|
||||||
|
<thead>
|
||||||
|
<tr class="row-odd">
|
||||||
|
<th class="head">
|
||||||
|
<p>
|
||||||
|
GPIO Num.
|
||||||
|
</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
|
||||||
|
GPIO4
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
PWM
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
Forward
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
<p>
|
<p>
|
||||||
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.).
|
||||||
</p>
|
</p>
|
||||||
|
Reference in New Issue
Block a user