caramoan tour package

caramoan tour package

Author Topic: Pls Help Me in Creating Relay Driver For pic16f877  (Read 1257 times)

Offline marcasjr™

  • Size D Battery
  • ******
  • Posts: 262
  • Pogi/Ganda Points: 1
  • Gender: Male
Pls Help Me in Creating Relay Driver For pic16f877
« on: February 25, 2008, 12:52:32 AM »
i need to drive a magnetic lock using relay.but pic16f877 cannot drive the relay.
my magnetic lock is 12v.
tnx for any replys

Philippine Electronics Forum

Pls Help Me in Creating Relay Driver For pic16f877
« on: February 25, 2008, 12:52:32 AM »

Offline marcasjr™

  • Size D Battery
  • ******
  • Posts: 262
  • Pogi/Ganda Points: 1
  • Gender: Male
Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #1 on: February 25, 2008, 12:53:19 AM »
pls provide schemtics..
tnx..

Philippine Electronics Forum

Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #1 on: February 25, 2008, 12:53:19 AM »

Offline Shey

  • Administrator
  • Gas Turbine
  • *****
  • Posts: 2004
  • Pogi/Ganda Points: 154
  • Gender: Female
  • "E tangi ana koe Hine e hine, E hine e Hoki maira"
    • Elab.PH
Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #2 on: February 25, 2008, 01:11:09 AM »
Ganito lang yun. Yung base resistor from 4.7K to 10K ang value niya. Yung bypass capacitor siyempre 0.1 uF. Yung transistor bale general purpose transistor ok na yan..

I wish for this night-time to last for a lifetime
The darkness around me
Shores of a solar sea
Oh how I wish to go down with the sun
Sleeping
Weeping
With you

I walk alone
Every step I take
I walk alone
My winter storm
Holding me awake
It’s never gone

I fear that soon you'll reveal
Your dangerous mind
As your true colours show
A dangerous sign

Philippine Electronics Forum

Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #2 on: February 25, 2008, 01:11:09 AM »

Offline toasted siopao

  • She loves me, she loves me not, she loves me...
  • Global Moderator
  • Gas Turbine
  • *****
  • Posts: 2574
  • Pogi/Ganda Points: 107
  • Gender: Female
    • TeknoBlogger
Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #3 on: February 25, 2008, 06:14:46 AM »
Do not forget to put that diode between the coils of your relay.

Philippine Electronics Forum

Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #3 on: February 25, 2008, 06:14:46 AM »

Offline marcasjr™

  • Size D Battery
  • ******
  • Posts: 262
  • Pogi/Ganda Points: 1
  • Gender: Male
Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #4 on: February 25, 2008, 07:01:15 AM »
I will try it now
tnx. :D

Philippine Electronics Forum

Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #4 on: February 25, 2008, 07:01:15 AM »

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2179
  • Pogi/Ganda Points: 305
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #5 on: February 25, 2008, 02:31:45 PM »
I think the base capacitor is not needed.  The diode in parallel to the relay coils are very IMPORTANT though. 
If absent, the NPN transistor will be damaged due to reverse voltage generated by the coil after it is de-energized.

If you are using multiple relays in your circuit, you could use ULN2003 as relay drivers.
This is multiple darlington transistors in one 16 pin DIP package including the resistors and diode.
Easy interfacing for beginners :).
The Cebuano Geek

Philippine Electronics Forum

Re: Pls Help Me in Creating Relay Driver For pic16f877
« Reply #5 on: February 25, 2008, 02:31:45 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com