Basic Stamp controlled RC CAR
vaultpurple
Posts: 3
I am trying to start writing the basic code for running an RC car battery motor with a Basic Stamp 2.
I tested the engine using the by running the negative lead to the (-)Vss and the positive lead into the (+5)Vdd. This made the engine turn on. And when testing the voltage across these two points it is about 5 volts like it supposed to do.
Now instead of running through the (+5)Vdd I connected the positive lead to P15 so I could use basic code to turn it on.
I just have a basic code wrote
DO
HIGH 15
LOOP
However when I run this the engine does not turn on. But if I test the voltage from P15 to (-)Vss without the engine connected I get a voltage reading of about 5v like I should. But when I run the positive lead of the engine into P15 and the negative into (-)Vss nothing happens.
Andy advice?
I tested the engine using the by running the negative lead to the (-)Vss and the positive lead into the (+5)Vdd. This made the engine turn on. And when testing the voltage across these two points it is about 5 volts like it supposed to do.
Now instead of running through the (+5)Vdd I connected the positive lead to P15 so I could use basic code to turn it on.
I just have a basic code wrote
DO
HIGH 15
LOOP
However when I run this the engine does not turn on. But if I test the voltage from P15 to (-)Vss without the engine connected I get a voltage reading of about 5v like I should. But when I run the positive lead of the engine into P15 and the negative into (-)Vss nothing happens.
Andy advice?
Comments
A few years back I bought a copy of the book "Robot Builder's Bonanza" and it really helped me understand these issues. The companion website is http://www.robotoid.com and has some free articles that can give you a feel for the content.
http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol1/col/nv6.pdf