sinkoman
Party Escort Bot
- Joined
- Dec 2, 2004
- Messages
- 7,457
- Reaction score
- 21
Sup gais, I just wanted to share this little robot i've been working on for the past little while. It's really nothing too special, the circuitry is pretty primitive and shitty, and the whole repurposed-toy-tank-microcontroller-object-avoider-bot concept has been done to death, but i'm still pretty stoked.
The chassis is a toy tank that my friend gave me to hack and play with. I gutted pretty much everything except for the actual chassis with a dremel, and then cut out the back to fit a Tamiya 2-motor gearbox. The microcontroller is an Arduino Uno that's mounted to a piece of plexiglass with 3 nylon standoffs.
The motors are controlled via a home made 2 h-bridge arduino shield based around TIP31 and TIP42 power trasistors arranged in Sziklai pairs with 2N3906 and 2N3904 transistors. I chose Sziklai pairs over Darlingtons, as the transistors already have a very high forwards voltage drop to begin with. I realize that this is a poor choice of components for the task at hand, as not only are the two transistors unmatched pairs, but their forwards voltage drops are far too high to get the little 3v motors even close to their rated stall current, but it works. The bases each high/low half are tied to a PWM output, and are kept from turning on at the same time (thus smoking) from the fact that one is inverted. Again, poor design choice, but it works.
The little servo controlled turret has a Ping ultrasonic range finder (how original!), a set of light dependent resistors, and a set of infrared phototransistors. I hope to eventually write light tracking and IR tracking modes for the bot, but object avoidance is first.
Everything is powered with an old airsoft battery that's been deep cycled far too many times to still be useful for its intended purpose, running straight into the arduino, and then to an LM317 voltage regulator to power the h-bridges.
Pics:
motor driver. The layout is pretty poor. In retrospect, I should have arranged the transistors with their tabs facing inwards, but oh well.
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_13-16-47_607.jpg
rats nest of wires.
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_21-09-12_480.jpg
side shot
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_21-07-37_964.jpg
again
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_13-15-39_677.jpg
gearbox
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_13-17-07_147.jpg
I've yet to really start programming it, but everything works (as far as I can tell). I'll maybe take some video once I get it to start moving.
The chassis is a toy tank that my friend gave me to hack and play with. I gutted pretty much everything except for the actual chassis with a dremel, and then cut out the back to fit a Tamiya 2-motor gearbox. The microcontroller is an Arduino Uno that's mounted to a piece of plexiglass with 3 nylon standoffs.
The motors are controlled via a home made 2 h-bridge arduino shield based around TIP31 and TIP42 power trasistors arranged in Sziklai pairs with 2N3906 and 2N3904 transistors. I chose Sziklai pairs over Darlingtons, as the transistors already have a very high forwards voltage drop to begin with. I realize that this is a poor choice of components for the task at hand, as not only are the two transistors unmatched pairs, but their forwards voltage drops are far too high to get the little 3v motors even close to their rated stall current, but it works. The bases each high/low half are tied to a PWM output, and are kept from turning on at the same time (thus smoking) from the fact that one is inverted. Again, poor design choice, but it works.
The little servo controlled turret has a Ping ultrasonic range finder (how original!), a set of light dependent resistors, and a set of infrared phototransistors. I hope to eventually write light tracking and IR tracking modes for the bot, but object avoidance is first.
Everything is powered with an old airsoft battery that's been deep cycled far too many times to still be useful for its intended purpose, running straight into the arduino, and then to an LM317 voltage regulator to power the h-bridges.
Pics:
motor driver. The layout is pretty poor. In retrospect, I should have arranged the transistors with their tabs facing inwards, but oh well.
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_13-16-47_607.jpg
rats nest of wires.
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_21-09-12_480.jpg
side shot
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_21-07-37_964.jpg
again
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_13-15-39_677.jpg
gearbox
http://i218.photobucket.com/albums/cc201/sinkoman_iii/2011-09-04_13-17-07_147.jpg
I've yet to really start programming it, but everything works (as far as I can tell). I'll maybe take some video once I get it to start moving.