descriptions

This commit is contained in:
2025-07-01 01:49:47 -04:00
parent 28aa0a29a2
commit f4c7fd41d0
8 changed files with 43 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ The GPIO numbers correspond to those on the ESP32-C3 WROOM microcontroller. The
x- and y- axis
~~~~~~~~~~~~~~
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.
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.
Direction and Speed
~~~~~~~~~~~~~~~~~~~
@@ -24,8 +24,8 @@ Consequently, only four PWM channels are required for controlling the direction
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).
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, **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.
Changing PWM on each channel determines the speed and direction of the RC car.
+------+-----+---------------------------------------------------------+----------------+