I have an old RC (remote controlled) car lying around, that I got a few years ago. The battery, being Ni-Cd (and not too well treated), is dying so it hasn’t seen much use lately. Earlier in the year, while taking part in Sebastian Thrun’s brilliant Programming a Robotic Car class, I got inspired to build my robot-car. Well, at least a model version.
Where I’m currently at – that RC car controlled via an Arduino.
I saw David Singleton’s Neural-Networks Car, blog.davidsingleton.org/nnrccar, and that’s where I decided to start – converting that old RC car into an Arduino controlled one. The key from David Singleton being, controlling the remote via Arduino rather than directly controlling the car via Arduino (which would probably require
some a lot of disassembly of the plastic mold).
After taking apart the plastic shell of the remote, I needed to find how to connect up the Ardiuno. The method I used was:
- Find ground (or just use the negative terminal of the battery) and connect one end of a wire there
- Look for the switches (forward / back, left / right) on the circuit board
- With the car & remote on, begin touching the other end of the wire to parts of the circuit and see what happens
Once you’ve found that connection (you’ll notice that the car begins to move…), that’s (between there and ground) where you’d add the transistor (a transistor is like a tap, with the base being the valve). Setting the Arduino pin (which you connect to the base) to LOW or HIGH then controls whether current can flow through the transistor, in essence, an electronic switch.
After playing around with that for some time, and buying 90cents worth of transistors (the 2N2222A NPN transistor) I was able to get it to work (connecting the Arduino’s ground with the remote’s ground, and having the transistor the right way round, were two things that I learnt in particular).
Image based on Howard Logsdon’s work at wiki.hplogsdon.com/Arduino/. GPL licensed.
Made with circuitlab.com