June 29, 2024
Description
Hardware
All needed hardware are available in Amazon, AliExpress, eBay, Walmart, or any online shops convenient to you.
Software
Required skills:
No need to reinvent the wheels
Track_Plate.stl
https://www.thingiverse.com/thing:14599
new-608_idler_sprocket.stl
https://www.thingiverse.com/thing:1209486
Battery holder with ON/OFF switch
https://www.thingiverse.com/thing:6675466
Net weight (without battery) of the robot: 450g
This RC model is based on TOM's track links and wheel system which is popular and reliable.
I choose to use TT motors as engines because it is at a lower cost and very flexible in voltage needs. The motors can be powered by a pair of 18650 batteries (in serial connection about 8V) without needing to convert it to 5V or 12V before use. The best companion for TT motors is L298N DC motor driver module. It serves two purposes in one unit. First, it controls two DC motors allowing change of motor speed and direction by the microcontroller. Second, it has a built-in voltage convertion chip to supply a constant 5V output (separated from the motor power supply) which supplies power for itself and can also power up the microcontroller.
L298N is capable of simultaneous control of two DC motors, ideal for this tank project which requires exactly two motors.
A wide variety of microcontrollers are compatible with L298N. To control two motors it needs 4 to 6 digital I/O pins. I used 4 pins only. If you plan to have extra sensors or connectors, you need extra I/O pins for these components. In this project I used an IR receiver occupying one I/O pin, so that I totally need 5 empty pins available on the microcontroller. A low-cost Arduino Nano is great for this purpose. I used ESP32 instead because this bigger chip has built-in wifi and bluetooth connections. It gives a bigger potential for upgrading in the future to include RC through wifi or bluetooth.
An IR Receiver module is added to allow using any IR remote control as the controller.
License:
Creative Commons - Attribution - Share Alike