Main > Main Forum
cheapy 'Zero Delay' USB encoder
PL1:
Here's the basic wiring.
The snubber diode is there to keep the collapsing magnetic field of the coil (curly part ;D) from causing relay chatter -- some relays have this built-in, check the data sheet.
12v relays are common so you probably won't want/need the zener diode.
Haven't looked into the exact parts required for this application, but there are small SPST (shown in diagram) or SPDT relays like this that should do the trick.
Anyone have a known good parts recommendation/link?
Scott
EDIT: Here is a tutorial on relays. ;D
InfantSorrow:
--- Quote from: PL1 on February 24, 2014, 10:41:21 pm ---Here's the basic wiring.
The snubber diode is there to keep the collapsing magnetic field of the coil (curly part ;D) from causing relay chatter -- some relays have this built-in, check the data sheet.
12v relays are common so you probably won't want/need the zener diode.
Haven't looked into the exact parts required for this application, but there are small SPST (shown in diagram) or SPDT relays like this that should do the trick.
Anyone have a known good parts recommendation/link?
Scott
EDIT: Here is a tutorial on relays. ;D
--- End quote ---
Turns out I already have these on hand. Got all this at the start of the project when reading up on all this.
I will hook this up now and take a pic.
Thanks Scott
Edit: I have 2 sets of these relays. 2 x big ones (DC5V-N) and 2 x small ones (DC12V-N)
I should use the 12v, correct
Edited Edit (lol) : Your 12v relay has 4 pins.. mine has 5? Maybe I don't have the right component? I did ask for 12v relay though when I bought it :dunno
PL1:
Your 5 pin relay is almost certainly a SPDT (Single Pole Double Throw) -- like a HAPP button microswitch that has COM, NO, and NC terminals instead of a Seimitsu with just COM and NO terminals.
Looks like the terminals on your 12v relay are arranged like this:
NC NO
Coil1 Coil2 COM
Scott
InfantSorrow:
--- Quote from: PL1 on February 25, 2014, 12:53:32 am ---Your 5 pin relay is almost certainly a SPDT (Single Pole Double Throw) -- like a HAPP button microswitch that has COM, NO, and NC terminals instead of a Seimitsu with just COM and NO terminals.
Scott
--- End quote ---
So, I'm assuming the lonely isolated pin is common and on each side you have clustered NO, NC and positive coil, negative coil?
Once again, thanks Scott and everyone else pitching in here.. i'm learning alot
PL1:
Yes, tracked down a datasheet while you were posting and added the pinout above.
Check to see if the coil has a + or - marking -- if not marked, it shouldn't matter which side of the coil connects to ground.
Scott