Basic Stamp & RC Car

pianoman

New Member
Hey Everyone--

At school, We received a grant to build an autonomous sensor robot. Much to my dismay, they decided to use a basic stamp in a kit. But, we had extra money left over, so we bought another basic stamp, and since this was of my initiative, they are letting me use this one as I please. In this digital electronics class, we have remote control car kits, so what I plan to do is create a second robot, using bump switches, the RC Car chassis, and this basic stamp.

Here's the thing: How can I interface the basic stamp with the 12 volt motors that come with the car? Do I have to use a relay so I don't burn out the chip?

Thanks!
 

A relay would be one solution, but it's rather crude and only offers ON/OFF control. The usual method is to use an H-Bridge, and feed it with PWM (Pulse Width Modulation) to give variable speed.
 
Thanks for the reply. I don't really care about speed, at the moment. All I really need is a simple on or off circuit. So, if I set, in the code High Rear_Axle, and it produces plus five volts, is there any way for me to safely use that to power a 6 to 12 volt r.c. car motor? --preferably using just transistors, or easy-to-come-by components (available at a radioshack or something)
 

Yes, you can use a transistor to feed a relay, check the 'Hardware Extras' section of my tutorials for details.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…