Automotive {$stamp bs2}
TrickyOne
Posts: 3
Hi
I have A ( {$STAMP BS2} {$PBASIC 2.5} ) What I would like to know is. Is there A way to program the chip. So that I can hook it up to my car's turn lights. When the light"s go on and off. It would look like this as 0 and 1 (101010101). Is there A way I can program the Stamp. So when the turn light is on (0101010101) the Stamp will switch A LED on for how long the turn light is left on.
What I want to do is use the turn single on my car so when the turn single is on the stamp's led is on. When the turn single is off the led is off. What I don't know is how is how to tell my stamp to pick up the on and off pulse's.......
I have A ( {$STAMP BS2} {$PBASIC 2.5} ) What I would like to know is. Is there A way to program the chip. So that I can hook it up to my car's turn lights. When the light"s go on and off. It would look like this as 0 and 1 (101010101). Is there A way I can program the Stamp. So when the turn light is on (0101010101) the Stamp will switch A LED on for how long the turn light is left on.
What I want to do is use the turn single on my car so when the turn single is on the stamp's led is on. When the turn single is off the led is off. What I don't know is how is how to tell my stamp to pick up the on and off pulse's.......
Comments
2) It is possible to do what you want with a Stamp. Have you read the "What's a Microcontroller?" tutorial? This can be downloaded from Parallax. Go to their main webpage and click on the Resources tab. From the list you get, choose Downloads, then from the next list choose Stamps in Class Downloads and you'll see the list of tutorials. You may find other useful ones as well.
3) For monitoring the lights, ask again when you understand better what you want. You'll need a simple voltage divider, probably with a protective Zener diode, to reduce the 12-14V of the car's lighting system to the 5V needed by the Stamp for its input-output pins.