Robot Smart Car Kits - johnosbb/Automation GitHub Wiki
Robot Smart Car Kits
Arduino Interfacing

Layout and Wiring

PWM Guide
Encoder References
Reference
Parts
Using an ESP32 to control a Smart Car
- We will have four motors. Each motor will require three pins. Two to control direction and one to control the speed.
Forward Turn Right
- Left Front Motor: Forward at normal speed.
- Left Rear Motor: Forward at normal speed.
- Right Front Motor: Forward at reduced speed.
- Right Rear Motor: Forward at reduced speed.
Forward Turn Left
- Left Front Motor: Forward at reduced speed.
- Left Rear Motor: Forward at reduced speed.
- Right Front Motor: Forward at normal speed.
- Right Rear Motor: Forward at normal speed.
Rotate Right (The car rotates in place clockwise.)
- Left Front Motor: Forward at normal speed.
- Left Rear Motor: Forward at normal speed.
- Right Front Motor: Reverse at normal speed.
- Right Rear Motor: Reverse at normal speed.
Rotate Left (The car rotates in place counterclockwise.)
- Left Front Motor: Reverse at normal speed.
- Left Rear Motor: Reverse at normal speed.
- Right Front Motor: Forward at normal speed.
- Right Rear Motor: Forward at normal speed.