Thursday, February 9, 2012

Basic Stamp 2 Project 3 - Driving a Mechanical 5v SPDT Relay

Basic Stamp 2 Project 3 - Driving a Mechanical 5v SPDT Relay Tube. Duration : 0.67 Mins.


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: img706.imageshack.us And a simpler one for beginners: img651.imageshack.us Also the pin orientation for the 2N2222A Transistor: img171.imageshack.us 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

Tags: Basic, Stamp, Microcontroller, Electronics, transistor, resistor, diode, mechanical, relays, how, to, wire, back, emf, electro, magnetic, force, 1N4004, 2N2222A, Parallax, Board, of, education, High, voltage, usb, sparks, computers, hardware, hardcore, simple, xxjose130xx, robotics, arm, sensors, rs-232, serial, lpt, parallel, lcd, liquid, cristal, display, led, light, emitting, semiconductor, fairchild, cdil, continental, device, india, limited, resistance, coiling, transformer, windows, vista

No comments:

Post a Comment