RC Robot Tutorial

This commit is contained in:
2025-07-19 01:46:55 -04:00
parent 05f6f0661f
commit 9919720330

View File

@@ -25,9 +25,19 @@ Controlling the Direction and Speed
To set any desired speed of BiteRider RC car, the *ESP32-C3 Breadboard Adapter DevBoard* uses PWM to control the rotation speed To set any desired speed of BiteRider RC car, the *ESP32-C3 Breadboard Adapter DevBoard* uses PWM to control the rotation speed
of DR motors. Similarly, to set the direction of the RC car, the rotation speed of corresponding DC motors is changed as required. of DR motors. Similarly, to set the direction of the RC car, the rotation speed of corresponding DC motors is changed as required.
Due to the design and limited number of available GPIOs, the *ESP32-C3 Breadboard DevBoard* can control rotation speed and direction of DC motors in pairs only (i.e. left and right side). Due to the design and limited number of available GPIOs, the *ESP32-C3 Breadboard DevBoard* can control rotation speed and direction
Consequently, only four PWM channels are sufficient for controlling the direction of the RC car. of DC motors in pairs only (i.e. left and right side). Consequently, this means that the four PWM channels used for controlling the
Based on this constraint, the RC car can only move front, back, and turn/rotate left and right. Any other movements are not possible (i.e. diagonal or sideways). direction of the RC car.
Based on this constraint, the RC car can only move front, back, and turn/rotate left and right. Any other movements are not
possible (i.e. diagonal or sideways).
+---+---+---+
| PWM of DC Motors | Direction |
+------------------+-----------+
| PWM (left) = PWM (right) | Straight (Forward or Reverse) |
+--------------------------+-------------------------------+
|
.. admonition:: What is PWM? .. admonition:: What is PWM?