BASIC stamp 2 and Infra-red
Frozey
Posts: 8
I am currently working on a project that opens a lock using the universal IR remote kit from parallax. I am using a modified version of Amal Graafstra's RFID keyless lock from the book "RFID Toys" The IR remote kit has the IR detector, and a 220 ohm resistor. I also have a 5VDC/1A SPST Reed Relay with a a low power switching diode(radio shack part number 276-1122) soldered on the top of the relay , and I am using the wieser powerlock 1000 electronic deadbolt as my lock. I was wondering if you guys could take a look at my schematic and let me know if the circuit would work properly...and also if there is anything that needs to be added, or possible somethings that are not neccesary in my circuit and can be removed
Thank you all in advance
Post Edited (Frozey) : 10/20/2007 2:30:17 AM GMT
Thank you all in advance
Post Edited (Frozey) : 10/20/2007 2:30:17 AM GMT
Comments
and it looks right to me...who know, there is a very good chance i am wrong...I am still very very new to basic stamp 2 and the like.
Thanks for your help Mike....other then the pins does everything else look alright?
I compared the two diagrams and the numbering is different in the two, but the connections are the same.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--DFaust
DFaust...could you elaborate a little on what kind of transistor i need...and where it needs to go? I thought that each I/O pin on the BS2 can source 20 mA and sink25 mA...i could be way off again here...
Thank you! [noparse]:)[/noparse]
Post Edited (Frozey) : 10/20/2007 1:46:05 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--DFaust
Thanks
Take a look at the article below, it shows using a Motor, but a relay would be applicable here as well.
http://forums.parallax.com/attachment.php?attachmentid=37701
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 10/20/2007 2:39:55 PM GMT
I think others got confused about your notation for a 5V/1A reed relay. I understood it as a 5V coil reed relay with contacts rated at 1A. Often you can get these with a coil that draws maybe 20ma and that will work fine off a Stamp I/O pin without a driver transistor. If you have a relay whose coil draws more than 20-25ma, then you will need a driver transistor.
I am fairly sure that the relay will work fine on its own. If anyone has any questions about the relay, it can be found at:
http://www.radioshack.com/product/index.jsp?productId=2062478&cp=&parentPage=search
I think that i am good to go. the only thing i need to purchase is the Wieser lock...other than that I am ready for putting it together, and after that...the coding. I am not sure how to proceed with this, but i suppose i could browse around for similar projects and use their code as a base for mine.
Thank you everyone for your help,
Frozy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--DFaust