Pages: [1]   Go Down
Author Topic: what is this part called?(shematic from playground)  (Read 829 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hey,

im planing to buy all the parts to build 2 relayboards for my arduino. found this nice shematic in playground:
http://www.arduino.cc/playground/uploads/Learning/relays.pdf
now my problem is that i found all the parts, but i dont know what K1 is. hope someone can help me ^^

greetz
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 291
Posts: 25849
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A relay.
In this case, a single pole, double throw (SPDT) relay.
« Last Edit: July 01, 2011, 04:02:08 pm by AWOL » Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

okay i failed, so this is the relay i want to power ^^
i thought relay power + and gnd go to the relay and wondered why the diode is on the K1 part ^^
another question, can i just connect the 5V rail from the arduino to the positive relay power connection in the shematic?
« Last Edit: July 01, 2011, 04:36:39 pm by Kinsi » Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

okay i failed, so this is the relay i want to power ^^
another question, can i just connect the 5V rail from the arduino to the positive relay power connection in the shematic?

Yes, with the caveat of not knowing how much total +5vdc current your project is consuming because of other components, and keeping in mind the 500ma total +5vdc current limit (while on USB power).

Lefty
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ill make the relayboards with an extra port for the relay power, ill make some measurements how much ma they are need. i selected 5v relays that are working from 4 - 11V so 5V will be enough. ill reply when i got & soldered all parts smiley-wink

thank
Logged

0
Offline Offline
Shannon Member
****
Karma: 200
Posts: 11718
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
wondered why the diode is on the K1 part

It stops the transistor being destroyed by the inductor.  A relay coil is a large-value inductor that will generate hundreds or thousands of volts if it it switched off fast - the diode allows the current to die down slowly and prevent that inductive spike from destroying other components in the circuit.

A bit more theory - inductors generate a voltage proportional to the rate-of-change of current.  Trying to interrupt the current through an inductor causes a large rate-of-change of current, thus a high voltage (which always acts to reduce the rate of change).
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes, i know that the diode is there because of the coil that generates voltage by turning off, but i wondered why it was on the K part because i thought the relay will go to relay power +/gnd
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
but i wondered why it was on the K part because i thought the relay will go to relay power +/gnd

The transient protection offered by the diode is most effective if wired right across the relay coils terminals. It works like this, when the magnetic field collapses at turn off, the resulting voltage spike developed from the collapsing field is of a reverse voltage of the original supplied voltage. This negative voltage will therefore allow the normally reversed biased diode to conduct and clamp the negative voltage spike.
Logged

0
Offline Offline
Shannon Member
****
Karma: 200
Posts: 11718
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Pedants only past this point: smiley-wink  It's not really clamping the voltage spike, its providing a path for the current to continue flowing (an inductor is a bit like a constant current source with unlimited voltage compliance).  There is simply no voltage spike when the diode is there, its the lack of a current path that 'generates' the voltage spike because the inductor continues to push electrons round the circuit at the same rate.

When the diode is there the current will take a lot longer to die down, so the spike becomes a pulse of much longer duration, an effect that isn't really explained by 'clamping'.

An analogy:  with the diode its a bit like stopping a runaway lorry with a gravel-trap.  Without the diode the lorry hits a concrete barrier when the switch opens.  Substitute velocity for current, force for voltage and mass for inductance.  The forward-voltage drop of the diode plus the IR voltage in the coil provide a small stopping voltage (force), so  things slow down smoothly.  With no current path the road ends in a concrete wall and the stopping voltage/force is extremely large.  If you want to extend the analogy then the IR voltage drop across the winding is the lorry's rolling resistance, and the supply voltage is like the engine's driving force (which normally balances the rolling resistance).

Thus when switching on there is no big spike since all that happens is the engine starts and the lorry pulls away smoothly.  If the fuel runs out that's like the supply voltage falling to zero (not the same as switching the transistor off as current can continue to flow).  Opening the circuit is like the road suddenly ending in a barrier (in fact the barrier is the transistor, and if its not strong enough it gets damaged in the crash).

When there is no inductor it's like having a massless lorry (lets say its an inflatable lorry!) - it's easy and safe to stop with a barrier since there's no real momentum to dissipate. 

Logged

[ I won't respond to messages, use the forum please ]

SW Scotland
Offline Offline
Edison Member
*
Karma: 17
Posts: 1376
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

and that's why they are often referred to as "flywheel" diodes
Logged

Pages: [1]   Go Up
Jump to: