Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: how to wire up relay  (Read 9091 times)

0 Members and 1 Guest are viewing this topic.

G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
how to wire up relay
« on: August 27, 2008, 04:02:40 pm »
i want to power everything on my cab from single switch (pc) so i got a  relay,

relay details...

model bta6-2c-j-cw-12vdc

 8 pins on relay

10a@24v
10a@28v
cos.0=0.4 5a@24v
l/r=7ms 5a@24v


i got the mount aswell it has 2x4 contacts.

i know i put a 12v line to the coil someware, prob pins 2&7 as they have a box with a diagonal line it in,

havent a clue where to get the 12v from (pc psu prob)

and would i need a diod so when  the coil field collapsies it doesnt send a spike?

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: how to wire up relay
« Reply #1 on: August 27, 2008, 05:25:26 pm »
A protection diode is wired across a DC coil in such a way so it will not conduct.   It will only pass the spike that is created when the field on the coil collapses.

Your relay coil is at pins 2 and 7.   The polarity is not set unless you have and LED indicator in your relay.  Just remember where you put the +12V and that is where you put the striped end of your diode so it does not conduct when voltage is applied.

scotthh

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 254
  • Last login:June 06, 2012, 10:03:42 pm
Re: how to wire up relay
« Reply #2 on: August 27, 2008, 08:32:18 pm »

G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
Re: how to wire up relay
« Reply #3 on: August 29, 2008, 04:04:20 am »
thanx guys, where will i put the mains voltage? does that go to  any pins except the coil? and the monitor would go
to any   pin aswell? do i just bunch the nuteral wires together and connect to house  mains?

Teebor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 215
  • Last login:June 04, 2009, 12:39:06 pm
  • What does this button do??
Re: how to wire up relay
« Reply #4 on: August 29, 2008, 04:59:15 am »
The supplier of the relay should have a circuit diagram for the Relay

I cannot find any info for that relay model you gave on the net :(


You should have 2 pins that with a low voltage applied will activate the Relay and then you should have another 2 pins (or more depending on the relay) that will remain open when the relay is not active and will be closed when it is active
There will then be two more pines that are the opposite, closed when not active and open when active

A multimeter is very important to have here as if you do not have a diagram it can help you work out what pins do what

Are you sure the relay can handle the 120v/240v that you intend to put through it?
How was your french toast dear?
Smelly and ungrateful
-American Dad

G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
Re: how to wire up relay
« Reply #5 on: August 30, 2008, 04:04:31 am »
hi ive attached a diagram  that is on the relays body

the make is beta  and i think model is 0716b

it also has bta6-2c-j-cw-12vdc on it

and a picture of open gate   |
                                            \
                                             |

and next to that : 10a @ 240v~ 50/50hz
                              10a@ 28v -/...
cos.0-0.4 5a@240v-
l/r=7ms 5a@24v -/...

then shows the box with line in it 12v

its for uk 140 power.

it has base to (square with 4 contacts each side)

markings from top left  6 5 4 3  and bottom left 7 8 1 2

i know that 2 & 7 is coil and the 12v from pc molex connector connects to here , yellow no2 and black no 7.

i want to run 3 items, poss 4 from this (each 240v)

and i guess the load has to be spread accross the terminals so wired like a buzz bar?


BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: how to wire up relay
« Reply #6 on: August 30, 2008, 09:33:18 am »
For your loads to be on when the relay is powered you would connect to the NO contact at 1-3 or 8-6.   I would wire these in parallel for the max load and wire to a power bar or terminal strip where you can plug in your cabinet loads.   The base of the relay is not made for wiring multiple large wires on a single contact so you would probably be trying to put too much wire in each terminal if you just used the relay base.

G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
Re: how to wire up relay
« Reply #7 on: August 30, 2008, 04:21:42 pm »
ok so i want to wire up a 4 plug strip,  where would you put the earth, neg and live wires of the bar? or is best to wire these directly to the terminals?   i know nothing about doing this

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: how to wire up relay
« Reply #8 on: August 30, 2008, 04:27:15 pm »
The earth is a ground and is wired to you cabinet ground or a plug ground.   The Line or Live wire is connected thru your relay.   The neutral does not have to be switched and can be left connected to the power plug on your 4 outlet strip.    The only wire that has to be cut and put thru your relay is the Line or Hot wire.   In the US and Canada it is the black wire but not sure what color it is where you are for 220/240.

Maybe someone in the UK can chime in on the wire colors used.

« Last Edit: August 30, 2008, 04:30:20 pm by BobA »

G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
Re: how to wire up relay
« Reply #9 on: August 30, 2008, 05:32:29 pm »
live=brown
neutral/neg=blue
earth= yellow/green strip


if i want to add strip i put the 12v onto the coil with a protection diode, and where on the relay to i put the live and neut wire? what pins and to spread the load?

prob better getting a intelli power strip lol

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5158
  • Last login:May 24, 2025, 09:57:44 pm
  • Wheres my coffee?
    • Skenny's Outpost

G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
Re: how to wire up relay
« Reply #11 on: August 31, 2008, 02:18:38 am »
thanx but ive read that post as posted earlyer but still no help,

i dont know what contacts are open, i dont know what each terminal does, as ive put on diagram its just arrows pointing all roads, one is 250 another is 28v i dont knw whats what

if i put 240 into 28v i get BANG and i dont want to go down that road

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5158
  • Last login:May 24, 2025, 09:57:44 pm
  • Wheres my coffee?
    • Skenny's Outpost
Re: how to wire up relay
« Reply #12 on: August 31, 2008, 10:52:17 am »
I think Bob has already told you how to wire it, but I know this can be a little scary.
Looks like from the info you have given us that the relay is rated for 250 volts AC or 28 volts DC. This is for the contacts. Contacts are rated for different currents at AC and DC because DC makes a bigger arc (spark) when the contacts open.
Since you are using 250 volts, here is how I would wire it (Provided that symbols on your relay match what Bob posted):

Live wire from supply to pin 1
Live wire to your power strip to pin 3
Neutral wire from the supply to pin 8.
Neutral wire to the power strip on pin 6.

If the neutral wire really is neutral on your system, then you don not have to switch it with the relay, but it wont hurt a thing to switch it.
The ground (or earth) wires will not connect to the relay at all, tie the one from the supply directly to the one to the power strip.

Use wire nuts or solder the ground wires together. Use heat shrink tubing or good tape to insulate the junction.

The 12 volts from the computer will tie to pins 2 and 7. If you are using a diode then it will also tie to pins 2 and 7. Make sure the band on the diode ties to the same terminal as the yellow wire from the computer.
If the relay has a + and - signs on pins 2 and 7, then yellow ties to + and black ties to -.
If these two pins are not marked + and - then it shouldnt matter. But it does matter on the diode. Band on diode goes to +. Hooking the diode backwards will cause a short circuit.



G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
Re: how to wire up relay
« Reply #13 on: August 31, 2008, 02:33:01 pm »
thanx guys, ill give it a pop tmoz after i get diode and will try it with light 1st , someone says it should be wired like a buzbar? to spread the load due to all the items beeing on.

the diagram showen with the info is what is on the relays body

*with the mains live going to 1 & 3, i take it the relay will always be live?

and i take it the pins not mentioned 4&5 are for the 28v connection? that doesnt get used

wil any type of protection diode do? ive a old kortex chassis with diodes on it but i dont know if they are the correct ones or tunnel diodes, (black cylentrical body with the white ring)
« Last Edit: September 01, 2008, 04:14:31 am by G1zm0 »

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: how to wire up relay
« Reply #14 on: September 01, 2008, 08:22:05 am »
Pins 4 and 5 are the NC contacts.   They are not used.   You are getting the DC voltage switching capability of the relay and the AC voltage switching confused.   The 28 V is simply the DC rating and goes thru the same contacts as the AC voltage.  Your relay can switch either DC or AC.  You are switching AC so you can ignore the DC except for the DC that is used on the coil.

When the relay is not powered the mains live goes to pin 1 and pin 4 is live (NC).  When DC 12V is applied to 2 & 7 the relay is powered and the mains live on pin 1 is switched to pin 3 (NO).   That is all you have to wire.  You can also switch you mains neutral thru pins 8 and 6 but you do not have to.  Your relay base is always hot so treat it with care.

You can use about any power diode to protect from spikes.  Common designations in the US and Canada are 1N4004 and 1N4002.  The higher the last number the higher the rev voltage it can handle. 

G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
Re: how to wire up relay
« Reply #15 on: September 01, 2008, 02:11:42 pm »
what i dont understand if the house mains goes th relay and power strip plugged into relay and the 12v fron pc psu triggers it to work.

how does the 12v get triggerd from pc psu if pc needs power to supply the 12v for the relay to switch the strip on.
and the pc plugged into strip? without strip getting power doesnt that mean the pc is dead and cant get the 12v to the relay?

confusing :dunno



« Last Edit: September 01, 2008, 02:53:36 pm by G1zm0 »

Ed_McCarron

  • Nothing worse than Picard issuing the self destruct order and the next thing you know it your apartment blows up.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2404
  • Last login:June 20, 2022, 02:33:39 pm
  • Get your mind out of the gutter. THIS is a dongle.
Re: how to wire up relay
« Reply #16 on: September 01, 2008, 05:10:05 pm »
Looks like a standard octal relay.  You'll need to leave the computer plugged into normal power, not into the power strip.  When you power up the computer, the 12v DC from the power supply will energize the relay (not sure on relay polarity, you may need to trial and error there...) and power the rest of the ckt.  I've shown the two sets of NO contacts in parallel, for a max of 20A current capacity.  You'll never even approach that.

White is high voltage, cyan is low voltage.
But wasn't it fun to think you won the lottery, just for a second there???

G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
Re: how to wire up relay
« Reply #17 on: September 01, 2008, 06:05:41 pm »
thanx that clears it up knowing the pc psu has to be alway on, ill just wire the house mains to a block and then wire the pc and relay input wires to that so they both power on and rest of the power strip.

and i can switch full power of from back of cab (unless i move to top of cab)

G1zm0

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 05, 2020, 06:57:58 am
  • cute by day, devil by night
Re: how to wire up relay
« Reply #18 on: September 03, 2008, 04:58:20 pm »
ok set it up and working ok, but will the one contact take all the load without burning out?

i am thinking of putting it in the case of the power strip but all links showing this is dead.
 
how do i wire it up as double pole so it spreads all the load over a few contacts?

if i dont use the neutrol do i just join them together?


can i just add another hot to 8 & 6? so it uses more contacts?

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: how to wire up relay
« Reply #19 on: September 04, 2008, 09:25:56 am »
Yes you can add the other contact by using pins 8 and 6 to switch the live line in parallel with your other contact.   All the neutrals can be joined together.