This is my third project of basic stamp 2. I've been very happy with the basic stamp and i like to share these projects.
Notes:
1 - You NEED to use a driver circuit for mechanical relays. I've made the diagram:
http://img706.imageshack.us/img706/3484/relay.png
And a simpler one for beginners:
http://img651.imageshack.us/img651/4458/relay2.png
Also the pin orientation for the 2N2222A Transistor:
http://img171.imageshack.us/img171/1360/2n2222.png
2 - You may need to turn the volume up to hear it clicking. That's proof it's working.
Code (Maybe it's realy simple, and assuming you connected the
base to pin 1 through the 1k or 2.2k ohm resistor ) :
' {$STAMP BS2}
' {$PBASIC 2.5}
DO
HIGH 1
PAUSE 500
LOW 1
PAUSE 500
LOOP
Thanks for watching!!!!
- xXjose130Xx
Link to this comment:
All Comments (0)