Author Topic: 110 AC DPDT latch relay  (Read 9445 times)

0 Members and 1 Guest are viewing this topic.

Offline tubejim101Topic starter

  • Newbie
  • Posts: 5
110 AC DPDT latch relay
« on: October 08, 2011, 11:43:42 pm »
Have a solar panel running to a batter.  Have an inverter for the battery.
So I would like to tape into one of my house ceiling lights.
The idea would be to have a microcontroller check the battery.
If their is enough "juice" in the battery, run the light off the battery.
If not, then run the light off the city/house power.

Can anyone recommend some kind of latching AC relay that I can control with my microcontroller?
Hopefully, one that does not cost to much.



 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 12038
  • Country: us
Re: 110 AC DPDT latch relay
« Reply #1 on: October 08, 2011, 11:53:42 pm »
You shouldn't mess with mains wiring unless you are an electrician, or unless you really know what you are doing.

Unfortunately, asking this question means you don't really know what you are doing. Best to stay way from the mains. Use a separate lamp, like a table lamp or standard lamp, and power this solely from the inverter. Don't make any connection to the mains wiring.
 

Offline tubejim101Topic starter

  • Newbie
  • Posts: 5
Re: 110 AC DPDT latch relay
« Reply #2 on: October 09, 2011, 12:21:00 am »
You shouldn't mess with mains wiring unless you are an electrician, or unless you really know what you are doing.

Unfortunately, asking this question means you don't really know what you are doing. Best to stay way from the mains. Use a separate lamp, like a table lamp or standard lamp, and power this solely from the inverter. Don't make any connection to the mains wiring.

Here in the states we are encouraged to do our own work.  We have many warehouse like stores that you can buy everything you need to do the house wiring.  They will assist you with any questions and even have classes you can take in the stores.  Only thing, is it is "old school" for the most part.  Most house electricians don't know what a microcontroller is.


 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 12038
  • Country: us
Re: 110 AC DPDT latch relay
« Reply #3 on: October 09, 2011, 01:11:36 am »
Do you have a Fry's near you? Last time I was in there they had a whole range of solar panels, charge controllers, batteries, mains switching interfaces and everything you need for a home solar power system. All properly designed with the right safety certifications and installation instructions. Take a look there.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19687
  • Country: gb
  • 0999
Re: 110 AC DPDT latch relay
« Reply #4 on: October 09, 2011, 02:22:08 pm »
  Most house electricians don't know what a microcontroller is.
Because they don't need to know what a microcontroller does, the same as a digital designer doesn't need to know about wiring regulation.

Would you be able to work out the fault circuit current of your mains supply or work out the derating factor for PVC cables buried under thermal insulation? Are you aware of the requirements for connecting an inverter to the grid in your country?
 

Offline bilko

  • Frequent Contributor
  • **
  • Posts: 405
  • Country: 00
Re: 110 AC DPDT latch relay
« Reply #5 on: October 09, 2011, 02:26:31 pm »
Can anyone recommend some kind of latching AC relay that I can control with my microcontroller?
Hopefully, one that does not cost to much.
Why can't you use the micro to latch the relay ?
If you use relay logic you can very easily create a latching circuit, does the relay circuit have to survive a power cycle ?
 

Offline tubejim101Topic starter

  • Newbie
  • Posts: 5
Re: 110 AC DPDT latch relay
« Reply #6 on: October 09, 2011, 03:17:17 pm »
Can anyone recommend some kind of latching AC relay that I can control with my microcontroller?
Hopefully, one that does not cost to much.
Why can't you use the micro to latch the relay ?
If you use relay logic you can very easily create a latching circuit, does the relay circuit have to survive a power cycle ?

Just planning on running house ceiling lights.  So the power cycle should not be an issue.
 

Offline bilko

  • Frequent Contributor
  • **
  • Posts: 405
  • Country: 00
Re: 110 AC DPDT latch relay
« Reply #7 on: October 09, 2011, 03:52:52 pm »
Some properties have a standby generator in case of mains power failure. The safety requirements would be similar. There are issues in not back feeding the supply if you lose utility power. I would do as another poster suggested earlier, that is to run a totally separate light, standard lamp e.t.c.
The problem is if you interface to your domestic lighting and do not have the correct protective measures, you could end up getting in trouble or getting sued.

If you use a relay with DPDT contacts the commons would connect to the lamp, the nc contact to utility power and the no contacts to your solar powered inverter. The system would work OK, but in no way would I recommend that you connect the system up like I described. Should the relay fail or the contacts weld together there could be significant problems.

To do the job properly and safely requires a lot more thought and as others have said, you need to follow local regulations including fitting safety equipment.
« Last Edit: October 09, 2011, 04:07:35 pm by yachtronics »
 

Offline Rufus

  • Super Contributor
  • ***
  • Posts: 2095
Re: 110 AC DPDT latch relay
« Reply #8 on: October 09, 2011, 03:56:13 pm »
Just planning on running house ceiling lights.  So the power cycle should not be an issue.

Unless your mains power is really expensive or your batteries are really cheap the wear on batteries will cost you more than the electricity you save.
 

Offline Jimmy

  • Regular Contributor
  • *
  • Posts: 224
  • Country: au
Re: 110 AC DPDT latch relay
« Reply #9 on: October 12, 2011, 04:04:50 am »
You don't need a microcontroller to check batt voltages you can just use a LM3814 in bar mode to check voltage with some magic then drive a relay with that.

Assuming that you are allowed to modify mains wiring where you are.

With the Relay you would wire the common to the Light the NC to the House live wire and NO to the Inverter Live wire.

Then when your circuit gives power to the relay it will change to inverter power. This way if your circuit breaks you will have mains power lights. This would act like an automatic change over switch. If wired correctly there is physically no way you can back feed power into the grid.

Or you could just put some 12v led lights in your room and and have a 12v mains psu as backup power that automatically takes over once batteries drop below a set voltage. You can then use the inverter to run other stuff.   

 

Offline PetrosA

  • Frequent Contributor
  • **
  • Posts: 625
  • Country: us
Re: 110 AC DPDT latch relay
« Reply #10 on: October 13, 2011, 02:54:14 am »
If you're in the US, I can't think of anything in the NEC that would allow you to do this for less than a few hundred dollars  - legally, that is. When you power mains fed loads from a transferred battery powered source, it's what's called a Separately Derived System (the same as a permanently mounted generator). If you intend to do this, you better read up on the requirements for SDSs. It will mean installing separate grounding electrodes, panels, transfer switches, etc. Big money if you want to do it and have insurance cover a loss if something goes wrong.
I miss my home I miss my porch, porch
 

Offline bilko

  • Frequent Contributor
  • **
  • Posts: 405
  • Country: 00
Re: 110 AC DPDT latch relay
« Reply #11 on: October 13, 2011, 11:16:56 am »

Then when your circuit gives power to the relay it will change to inverter power. This way if your circuit breaks you will have mains power lights. This would act like an automatic change over switch. If wired correctly there is physically no way you can back feed power into the grid.


Have you ever seen relay contacts weld ?
That is why I suggested the method in the previous post and then scored through. I would suggest that the OP speaks to his insurance company because if his house burns down or if a utility worker gets electrocuted then he will be in big trouble.
Not wanting to pour water on the idea but there is a right way and a wrong way of doing things.
 

Offline Jimmy

  • Regular Contributor
  • *
  • Posts: 224
  • Country: au
Re: 110 AC DPDT latch relay
« Reply #12 on: October 13, 2011, 11:58:35 pm »
Quote
Have you ever seen relay contacts weld ?

Yes I have seen many relay contacts wield together. About 8 years ago I had the pleasure of replacing about 80 relays in a 240v emergency backup system that failed to operate correctly. This did not create a fire only incorrect operation.

Quote
I would suggest that the OP speaks to his insurance company because if his house burns down
That is why I suggested replacing it with a 12v system. In most places you can burn your house down if you get a permit.

 
Quote
if a utility worker gets electrocuted then he will be in big trouble

It a utility worker gets electrocuted form this it is his own fault for failing to isolate all sources of supply and failing to test before you touch. If the contacts on the wield together and the power goes out the inverter will not start supplying power to the grid only your lights. It will only supply back to the grid if there is a short circuit which would quickly blow the fuse in the inverter.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19687
  • Country: gb
  • 0999
Re: 110 AC DPDT latch relay
« Reply #13 on: October 14, 2011, 05:27:27 pm »
That is why I suggested replacing it with a 12v system. In most places you can burn your house down if you get a permit.
Why on earth would a 12V system be less of a fire risk?

That makes no sense. In reality a 12V system will probably pose a greater fire risk than the mains. Batteries can catch fire and hydrogen gas can cause explosions. You may also need to replace the wring and switches. The current in a 12V system will be 20 times greater than the equivalent 240V system, causing the power dissipation in the cables to increase 400 fold which may cause a fire if the cables aren't suitably rated. Fortunately the cable in most modern installations is suitable overrated but you should check it, just to be safe. You could also increase the voltage to 48V to reduce the current four fold.

As far as regulations are concerned, in the UK the fact that it's ELV will not absolve you from abiding by the wiring regulations which also cover wind power, battery and PV installations, regardless of the voltage. You still need to use suitable fuses or circuit breakers and the correct cable. The only really difference is you don't need to use an RCD if it's 120VDC or 50VAC.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9159
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: 110 AC DPDT latch relay
« Reply #14 on: October 17, 2011, 01:32:11 am »
If you're in the US, I can't think of anything in the NEC that would allow you to do this for less than a few hundred dollars  - legally, that is. When you power mains fed loads from a transferred battery powered source, it's what's called a Separately Derived System (the same as a permanently mounted generator). If you intend to do this, you better read up on the requirements for SDSs. It will mean installing separate grounding electrodes, panels, transfer switches, etc. Big money if you want to do it and have insurance cover a loss if something goes wrong.
If a plug in solution would work, a UPS nearly does just that. You'll need to somehow hack it to use the mains as a backup.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf