PS4 Controller-Controlled Tank Tread Vehicle
Print Profile(1)

Bill of Materials
Description
A complete tank tread vehicle, driven by two N20 geared motors, controlled by an ESP32 and controllable with a PS4 controller.
An excellent beginner project to gain initial experience with an ESP32. Simple assembly.
Parts List:
2x N20 geared motors - I use 100 rpm, but I think...faster is better (:
1x ESP32
1x adapter for screw terminals on the ESP
1x L298N motor driver
1x USB-C cable
1x power source - I use a 5V/2A power bank
Jumper wires
If you use this sketch, the following connection diagram applies:
L298N:
The motors each connected to the L298N (OUT1, OUT2) and (OUT3, OUT4)
+5V → VIN pin of the ESP
GND → GND of the ESP
IN1 → PIN13 of the ESP
IN2 → PIN12 of the ESP
IN3→ PIN27 of the ESP
IN4 → PIN26 of the ESP
ENA → PIN14 of the ESP
ENB → PIN25 of the ESP
Connect the power supply and ESP32 with the USB cable.
A very good video on setting up the ESP for the PS4 controller can be found here:
Boost Me (for free)
I appreciate boosts for more such projects
Documentation (1)
License
You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.















Comment & Rating (5)