mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 07:36:11 +00:00
descriptions
This commit is contained in:
@@ -13,6 +13,8 @@ GPIO number corresponds to that on the ESP32-C3 WROOM microcontroller. The Pin n
|
||||
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 two DC motors on the left side are wired to the same PWM channel, as well as the two DC motors on the right side. Consequently, only four PWM channels are required for controlling the direction of the RC car.
|
||||
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.
|
||||
|
||||
+------+-----+---------------------------------------------------------+----------------+
|
||||
| GPIO | Pin | Function | Notes |
|
||||
|
Reference in New Issue
Block a user