free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Rickey's World :: Discussion Forums :: Project Development :: Project Help
 
<< Previous thread | Next thread >>
Building a MCS51 that operates a door
Go to page   <<      
Moderators: Ajay Bhargav, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph, ExperimenterUK, DavesGarage
Author Post
IonescuA
Wed Jun 03 2009, 02:45PM
 User Offline
Registered Member #18920
Joined: Sat May 30 2009, 02:07PM

Posts: 6
Thanked 0 times in 0 posts
yea , sorry for the sloppy code writing and thx Dave
Was actually in a hurry to see what u have to say about the ISIS simulation and how to manipulate the relay better (not sure I am activating it at all at this point).
Posting a pic to catch your attention

large here



[ Edited Wed Jun 03 2009, 02:54PM ]
Back to top

DavesGarage
Thu Jun 04 2009, 01:19PM

 User Offline
Registered Member #14254
Joined: Tue Jan 20 2009, 08:14AM

Posts: 621
Thanked 116 times in 112 posts
Ah, I may have found your problem. Look closely at your relay. The driver IC (U2) is connected to the COMMON input to the relay. How is the relay actuated?

Perhaps if you connected the driver IC to the COIL(-) in the relay, and connected the other side of the coil to VCC, your relay would actuate?

Also, note that the ANODE side of your DIODE is connected to the COIL(-) side of the relay, and the CATHODE side of your DIODE is connected to the COIL(+) side of the relay. This DIODE is referred to as a SNUBBER DIODE, which means that it will "snub" (or remove) the large stored charge in the coil when it is released. Sometimes, this is referred to as "back EMF", and can be hazardous to your circuitry. A very good idea to have this DIODE in place.

Now, when you actuate the relay, not much will happen, because you have nothing connected to the COMMON pole, nor do you have anything connected to the NORMALLY-OPEN pole... so connect a voltage source to the COMMON pole, and connect your latch release to the NORMALLY-OPEN pole. Make sure to connect the other side of your latch to the common for your voltage source, whatever that might be.

Now when you activate your output from your micro controller, the driver should actuate the relay, and your door latch should move...

One final note: The relay may not be necessary, if the latch current is not too high. What I mean is that U2 may be able to drive your latch by itself... Double check the requirements for your latch, and see how much current it takes to work...

Hope this helps,


[ Edited Thu Jun 04 2009, 02:26PM ]

-Dave
"Basic research is what I am doing when I don't know what I am doing"
Back to top

Go to page   <<       

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems