Introduction: RC Tamiya Tracked Rover
Awhile back I made a blog on the Amino Maker app of a rc rover I made for my younger brother. In this short tutorial, I'll show you how I did it. (FYI this is my first tutorial so please bear with me and if you see any mistakes let me know).
Step 1: First Off. Here's the Parts List for Ya:
1 - tamiya tracked chassis (http://amzn.to/2rzE54U)
1 - tamiya dual motor gearbox (http://amzn.to/2q41Y3r)
1 - dual h-bridge motor controller ( http://ebay.to/2rzv5O3)
1 - arduino of your choice (I'd recommend a nano) (http://ebay.to/2qzeoE4)
1 - wireless playstation 2 controller (http://ebay.to/2q41evk)
1 - 4 AA or AAA batteries (I love Eneloop but any set will work) 1 - 4 battery holder (make sure you can tap into both 5v and 3v) 1 - soldering iron And some connection wire (I used some 27 gauge stranded)
and some female and male pins. (If you are going to make the controller dongle removable)
Step 2: Assembly
Next, you need to assemble the chassis and gearbox. They both come with detailed instructions on how to assemble them so I won't cover that here.
Step 3: Mounting
Now let's mount the gearbox to the chassis (the same wood chassis that came with the tracked chassis kit). This is going to require some cutting. Unfortunately, this gearbox is not made for this chassis so a little customizing is in order. I used a drummel tool with a cutoff wheel but you can use whatever you like.
Step 4: Modification
Now it's time to modifying the ps2 controller's dongle. We are going to need the first 6 pins on the dongle. My brother wanted to also be able to use the controller with our ps2 console so I left the ps2 plug part in tact. However, if you don't want to do this then you can strip it down to the board and make it much smaller. All you need to do is extend the 6 wires to the Arduino on the bottom. I used an old USB cable as 4 of the 6 wires then some stranded wire for the other 2.
Step 5: Prep
Next, is desolder all the pins and connectors on the Arduino (except the USB port) and motor controller. This helps to slim down everything so it fits under the axles on the bottom. Be careful though. You'll notice that my motor wires are soldered onto the resistors on the motor controller and that's because when I was desoldering the motor connectors from the board they took some of the copper with them but if you're careful this shouldn't happen.
Step 6: Wiring
Now to start the wiring. The 4 motor control wires are soldered to pins 10, 11, 12, and 13 on the Arduino and the ground to GND and VCC to 3v from the battery pack. The ps2 controller is wired up the same as in this tutorial. Data to pin 2 (with a 10k pullup resistor to 5v), command to pin 3, attention to pin 4, clock to pin 5, VCC to 5v, and ground to GND.
Step 7: Code
Now for the fun part. The Arduino code. First, you'll need to download the ps2x library from here http://bit.ly/2rzGP2q. Now you'll need the code. (If you need any help modifying it you can send me an email at, email@example.com or leave me a comment)
Step 8: Testing
Now for the slightly irritating/fun part. Troubleshooting everything. Unfortunately, this is a part I can't tell you how to fix but as always if you need help just send me an email at firstname.lastname@example.org or leave me a comment.
Step 9: Time to Party
After troubleshooting it's time to celebrate because you now have an RC tank that is just itching for upgrades and fun. I hope you found this tutorial helpful and if you make one for yourself post about it in the comments I'd love to see it. Thank you for looking and I hope you have a great day.
martenp made it!