Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How does work a DC relay to use it with 16F84???

Status
Not open for further replies.

terka

Advanced Member level 4
Joined
Dec 15, 2003
Messages
100
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Activity points
936
16f84 relay

I saw an circuit with a PIC controlling a 12 volt DC relay...a transistor for switching purpose and a protecting diode.....my dude is


. The transistor must be in constant on/off to make a coil of relay generates a electromagnetic field, for relay operate ( switch funtion) ???? something like PWM???, or the relay is ON when transistor is in ON mode?

I dont know how a relay does it work in DC mode as source of power for coil of relay..I know how a relay works in AC mode, with V= L* d(i)/d(t) to generate a electromagentic field and relay is ON ( normal open to close change)

Sorry for my bad english

Help me please

Thank you
 

how dc relay works

The output from a PIC is usually not powerful enough to drive a 12V DC relay. That's why a transistor is required to boost the power to drive the relay. When there is a DC supply across primary coil, the relay will be energized and the contact will be closed. There are few types of relay, e.g. normally open or normally close relay.
 

how does a relay work

You need a 12V DC relay first. Then you must drive it via a transistor. You need a series resistor (R1) from PIC output pin to transistor base and another one resistor (R2) from base to emmiter. R1=1-3,3 Kohms depending on transistors gain. 2,2K is almost always OK. Then R2=4,7 to 10 Kohms, prefered is 4,7K.

Now have in mind that, PIC is supplieed by 5V and relay by 12V. So you need two different voltage supplies unless you find a 5V DC relay.

I advice to use good filtering of the relay's supply in order to avoid RESETTING the PIC due to spikes caused by the relay during activation.
 

relay 16f84

Hi


I understand it, but how DC current can produce a electromagnetic field to activate the terminals of relay, if an coil (bobbin) in DC in a short circuit???

I think about V= l*d(i)/d(t), where (i) is changing, then i dont understant that of DC instead AC current

Thats is my problem, that is I dont understand.

Thank you
 

how relay works

The current through the coil produces the magnetic field. The relay has an electro magnet to switch it.
I think you are getting confused with a transformer, which requires a changing magnetic field to produce current in a wire.
The coils in the relay have many windings. The resistance is quite high. ~1K.
 


16f84 transistor relay

Shortly speaking, the coils of the DC relay will generate a constant magnetic field. While if you give AC voltage to a coil, the magnetic field generated would then change periodically by time, hence generating an electromagnetic wave. CMIIW

A magnetic field is enough to cause the realy to switch.

Now this makes me wonder, what is actually the difference between AC relays and DC relays, in terms of the internal structure??
 

dc relay and ac relay difference

irfansyah said:
Shortly speaking, the coils of the DC relay will generate a constant magnetic field. While if you give AC voltage to a coil, the magnetic field generated would then change periodically by time, hence generating an electromagnetic wave. CMIIW

A magnetic field is enough to cause the realy to switch.

Now this makes me wonder, what is actually the difference between AC relays and DC relays, in terms of the internal structure??


Hi, googling I come to following data:

Solid State Realy : its works like opto-couple, a led inside of package activates the relay, It have more life than electromecjanics relay

Electromechanics relay: it works with a magnetic field, the load can be AC or DC, resistive, inductive, capacitive. Magnetic field on coil is the activator of relay.

Other types exists, but the above are the most imporant types.

Thank to all

Bye
 

how does a relay circuit work

terka said:
Solid State Realy : its works like opto-couple, a led inside of package activates the relay, It have more life than electromecjanics relay

Reliable. Expensive. Low values of max. currents and voltages. No inductive feedback current.

terka said:
Electromechanics relay: it works with a magnetic field, the load can be AC or DC, resistive, inductive, capacitive. Magnetic field on coil is the activator of relay.

Very cheap. Can switch high currents and voltages. Should have protection from inductive feedback current (usually, diode). Recommended to use special drive IC, like ULN2003.
 

how relay work dc

**broken link removed**
 

how electromagnetic dc relay works

WOW midepja

I understand all, i was confused about transformer and current induction

Thanz to all


Terka

Added after 33 minutes:

Hi again

What types of relay can i use to activation functions??


Thank you
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top