Author

Topic: Make your own Switched PDU. (Read 2269 times)

sr. member
Activity: 324
Merit: 250
August 31, 2016, 11:54:54 AM
#31
can you link the part that will fit into that box? All amazon pref. thanks

n to be clear the 110v outlets like that are good for 220v right? thanks

I ran these before expanding the farm and upgrading to PDU friendly outlets:

https://www.amazon.com/gp/product/B000U3BVNC/ref=oh_aui_detailpage_o08_s00?ie=UTF8&psc=1


If you want to go the PDU route, this outlet is common in the PDU world, its what i use and runs really cool:

https://www.amazon.com/gp/product/B00002NAT9/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
hero member
Activity: 687
Merit: 511
August 26, 2016, 09:53:56 PM
#29
can you link the part that will fit into that box? All amazon pref. thanks

n to be clear the 110v outlets like that are good for 220v right? thanks

You really should use the correct outlet for the voltage/current you want to use - those are NEMA 5-20R, so they're 110v rate to 20A, if you want the correct one for that voltage I believe it would be the NEMA 6-20R, it looks almost the same, but the right plug is horizontal instead of vertical:

http://amzn.to/2brkETr
sr. member
Activity: 366
Merit: 250
August 26, 2016, 08:34:23 PM
#28
can you link the part that will fit into that box? All amazon pref. thanks

n to be clear the 110v outlets like that are good for 220v right? thanks
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
August 26, 2016, 04:57:00 AM
#27
Just get a main breaker with a shunt.  Apply some juice to the shunt (using any of the good multiple ways already mentioned), main breaker turns off, everything is off.

Turning the thing back on is never an "emergency", plus if you had to kill everything remotely you need to do a physical inspection before turning everything back on.

Yeah but turning on and off is a goal if you are avoiding the heat in a warm part of the world.

Also if you have cheap power from 8pm to 9am    on and off is nice.

What exactly does the last item do on your list? Is that so you can run the ten guage in and split it 4 ways?

This setup is pretty much eactly what I was looking for. in theory that smart outlet could trip multiple relays correct? If you wanted to do that which box would be needed to split the 120 line "x" amount of times.

For example if 1 s9 goes down in 8 circutes (4 to each box) I can trip two circuts without having to purchase as many wifioutlets (they are price).

yes it is a  2 x 2 outlet box  it would let you put in something like this



sr. member
Activity: 366
Merit: 250
August 26, 2016, 01:29:06 AM
#26
Just get a main breaker with a shunt.  Apply some juice to the shunt (using any of the good multiple ways already mentioned), main breaker turns off, everything is off.

Turning the thing back on is never an "emergency", plus if you had to kill everything remotely you need to do a physical inspection before turning everything back on.

Yeah but turning on and off is a goal if you are avoiding the heat in a warm part of the world.

Also if you have cheap power from 8pm to 9am    on and off is nice.

What exactly does the last item do on your list? Is that so you can run the ten guage in and split it 4 ways?

This setup is pretty much eactly what I was looking for. in theory that smart outlet could trip multiple relays correct? If you wanted to do that which box would be needed to split the 120 line "x" amount of times.

For example if 1 s9 goes down in 8 circutes (4 to each box) I can trip two circuts without having to purchase as many wifioutlets (they are price).
sr. member
Activity: 261
Merit: 250
August 25, 2016, 11:45:55 AM
#25
Just get a main breaker with a shunt.  Apply some juice to the shunt (using any of the good multiple ways already mentioned), main breaker turns off, everything is off.

Turning the thing back on is never an "emergency", plus if you had to kill everything remotely you need to do a physical inspection before turning everything back on.

Yeah but turning on and off is a goal if you are avoiding the heat in a warm part of the world.

Also if you have cheap power from 8pm to 9am    on and off is nice.

Got ya, people were asking about a way to get an emergency kill using servos to throw the breaker, I was trying to give them an instant and safer solution. 

Cooling is a whole other ball of wax, but is much simpler.  My rule is if you have enough cooling where just a few really hot days of summer get overly hot, just throttle the machines down on those days.  If it is more than say a week or so you have to throttle down, then it is more cost effective to add more cooling.  However, I run a lot of machines, so everyone needs to adjust that equation to their own unique situation.  If you need to adjust machine usage to time of day usage write a script to kill mining during certain hours, get smart PDUs you can control remotely, get PSUs that need power_on sent externally, etc.  Lots of solutions already posted to that problem. 
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
August 25, 2016, 08:20:32 AM
#24
Just get a main breaker with a shunt.  Apply some juice to the shunt (using any of the good multiple ways already mentioned), main breaker turns off, everything is off.

Turning the thing back on is never an "emergency", plus if you had to kill everything remotely you need to do a physical inspection before turning everything back on.

Yeah but turning on and off is a goal if you are avoiding the heat in a warm part of the world.

Also if you have cheap power from 8pm to 9am    on and off is nice.
sr. member
Activity: 261
Merit: 250
August 24, 2016, 11:51:58 PM
#23
Just get a main breaker with a shunt.  Apply some juice to the shunt (using any of the good multiple ways already mentioned), main breaker turns off, everything is off.

Turning the thing back on is never an "emergency", plus if you had to kill everything remotely you need to do a physical inspection before turning everything back on.
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
August 24, 2016, 10:56:00 PM
#22
this is fully remote  but will do one s7 at 120 volts

http://us.dlink.com/products/connected-home/wi-fi-smart-plug/

http://content.us.dlink.com/wp-content/uploads/2014/06/DSP-W215_REVA_DATASHEET_2.00_EN_US.pdf


you need to power a relay with this  and let the relay turn the pdu on and off.




https://www.platt.com/platt-electric-supply/Solid-State-Relays-Surface-Mount/Eaton/D93250ACZ1/product.aspx?zpid=773488

https://www.platt.com/CutSheets/Eaton/Relays-D93-Series-CatalogPage.pdf



this would be a 50 dollar smart outlet to a 67 dollar  240 volt 50 amp relay  then to a pdu.

while costly with a psu    you could avoid the pdu  with this


https://www.amazon.com/2IH4-2-Device-Outlet-8-Inch-16-Inch/dp/B0025QFN1S/ref=sr_1_13?

with 4 out lets of your choice.


so :

 1)smart plug with internet access >>>>>> in a 120 volt separate  power outlet
 2) 240 volt 50 amp relay >>>>>>>  this could be 30 amp
 3) four outlet box   with plugs of your choice

and some ten gauge wire.

this could do 4  s9's

legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
August 24, 2016, 09:49:00 PM
#21
As a comp sci, oh man I hate ladder logic. Ladder logic sucks balls for complex tasks. But yeah for reacting to sensors it actually kinda makes sense.
For controls -- really can't be beat. Programming is just choosing boxes as in/out and stringing them along.
Box A + box B, etc drive result (coil) Y.
Repeat with as many lines as needed.
Math functions or PID loops now just boxes with fill-in the blanks for variables.
All in fixed scan time, usually under 100us these days.
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
August 24, 2016, 09:38:03 PM
#20
As a comp sci, oh man I hate ladder logic. Ladder logic sucks balls for complex tasks. But yeah for reacting to sensors it actually kinda makes sense.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
August 24, 2016, 09:19:33 PM
#19
Ya know... All of this just screams to me get a small PLC from Automation direct.com and lose all the falderall. Something such as http://www.automationdirect.com/adc/Shopping/Catalog/Programmable_Controllers

It's um, part of the voodoo I do so well...

Cheap (ish). Utterly reliable. hugely expandable with standardized modules. Can integrate other sensors such as fire/smoke/temps, etc. Can be a web-server if remote is desired. Ja is programmed in ladder logics but so what? After all for the most part is is just a mass of switches and coils in software. very linear and obvious programming as in X1 in controls Cwhatever Wink

Thinking cap on. Always dangerous...
If I do it for other than myself -- will provide switched 24vdc to contactor coils for power loads.
DISCLAIMER of liability: What and how YOU wire said contactors to is beyond my control (not liable for idiots and chicken-wire/duct tape types). Consult a licensed electrician.

Also will provide low power sink or source IO in banks of either 16 or 32 channels per module.

Touch screen panel for it? Maybe.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
August 24, 2016, 09:09:44 PM
#18
Hmm. how much leakage current can your DC_ON input take before it turns on?

Ust 2 wires per PSU and opto output assuming simple NPN:
the AUX 3 or 5v (also have seen 12v) from PSU to opto collector
Emitter from opto to you breakout.
Instant opto ON = Vsource ON  fed to the breakout but depending on the load a breakout presents, possibly not always opto OFF = exactly Vsource OFF.
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
August 24, 2016, 09:09:13 PM
#17
Surely some of that would work, yeah. I think chigiuretor (or however he spells it, been doing business with him for like two years you'd think I'd remember by now) has been setting 'em up for remote turnon/off for a while. I wonder what he does.

But anyways none of those DC-side solutions would work if there were an issue with the mains feed, in which case you'd want control of an AC disconnect and that gets a bit more complex.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
August 24, 2016, 08:52:52 PM
#16
Or that, yeah. It's a completely different solution to a breakout board with an external turnon input pin. My boards take an active-high signal so that wouldn't work.
Actually, I thinking of/referring to using a badge on the um, call it it 'Hobbyist" CPU board with the optos on it to drive yers or other breakouts. Just use 2 jumpers feeding the LED side to select active hi or low per bank of 4 in the opto chip. edit: or have a software switch for active high low...

Dunna have to solder to the PSU pins like you saw on the HP's you got with the CARE package from me. Wink

edit 2: Ah. Brain fart. You mean your break out is a sink and want a source to drive it. Back to jumpers to select source/sink at the optos, this time perhaps feeding the typical +5vdc always-on aux voltage the psu provides to each one to maintain isolation? Still just makes at worst a 3-wire connection between the breakout and opto board.
hero member
Activity: 687
Merit: 511
August 24, 2016, 08:50:56 PM
#15
all the tripplite switched units ive seen are costly as can be or a measly 20a whih gets me nowherfe in terms of roi

as for tripping a breaker with a servo you are only tripping the breaker for one of two reasons

1) a unit needs a hard reset. aka trip the breaker and reset all easily just like if you unplugged and replugged in the pdu

2) there is a problem you see remotely and throw the breaker as a saftey precaution

The TrippLite ones I bought was on the secondary market, and older PDU's are generally cheap cheap cheap.  The ones I've got are 30a, which pairs fine with the outlets I'm using.  The problem I've got with the TrippLites is the web interface routinely stops working, and they only put relays on half of the 240 circuit - so if your PDU is 110/120v tolerant, it will still keep running on half a leg - super annoying and really cheesy on their part.

Personally I love (and use) the idea of being able to remotely cycle outlets - but I draw the line at remotely resetting breakers, that just seems like a bad idea.  But if you're using server grade PSU's, you can easily power cycle those (see below).

sorry but what do you mean about "#2: CT on each outlet."

CT = Current Transducer - so you know how many amps each outlet is pulling...

SSD + rpi done deal

You wouldn't need an SSD, just use the MicroSD the RPI uses...

If you're looking for just a cheap/ready made solution, you could use an ethernet relay box, like these:

http://amzn.to/2bCPHku

I used them before, and almost all of the breakout boards have a pin header as well as a power switch, so you just hook up the relay to the power pin header and voila, you have 8 switched breakouts.

legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
August 24, 2016, 08:40:52 PM
#14
Or that, yeah. It's a completely different solution to a breakout board with an external turnon input pin. My boards take an active-high signal so that wouldn't work.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
August 24, 2016, 08:24:33 PM
#13
Ja. Just have the GPIO drive some quad opto-isolators (preferably 16-pin DIP and socket so they can be replaced) and wire their outputs to the DC_ON terminals. That way the only common between the PSU's is their chassis ground so no cross-talk concerns.
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
August 24, 2016, 07:28:02 PM
#12
Especially if you use a good breakout board with an external turnon input pin.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
August 24, 2016, 07:09:14 PM
#11
Search the RasPi/Audrino/BeagleBone sites for a lot of home automation projects that do just this kind of thing. Why reinvent the wheel?

Most of the projects only take the power load so far (typically 15A) but no reason you can't use their outputs to drive heftier contactors. For that matter, all server PSU's have a low power (5vdc) toggle to turn the DC on and off...
legendary
Activity: 1500
Merit: 1002
Mine Mine Mine
August 24, 2016, 04:45:38 PM
#10
SSD + rpi done deal
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
August 24, 2016, 03:18:18 PM
#9
I don't know about your main breakers, but mine would take a very sturdy servo to toggle 'em over. Kicking off isn't too difficult, but kicking back on has a fair bit of pressure on it.

What about using a normally-open relay driven off some networked GPIO? Someone on here was talking a month or two about making his own networked switchable PDU and I think he got laughed off, but that seems to me a lot less jankety than wiring a servo to a cellphone and attaching it to a breakerbox.
sr. member
Activity: 366
Merit: 250
August 24, 2016, 03:12:24 PM
#8
Here's my dream list:

#1: Turn on/off outlets is key.
#2: CT on each outlet.
#3: Temperature sensor
#4: Web interface - nothing special, just something to control and get data

I don't think it's a good idea to use a servo or actuator to reset a breaker - if you're throwing a breaker, something pretty bad is happening.  And resetting it remotely could be REALLY bad, since you don't necessarily see what caused the issue.

I use a TrippLite server PDU's, and to be honest they're pretty marginal.


all the tripplite switched units ive seen are costly as can be or a measly 20a whih gets me nowherfe in terms of roi

as for tripping a breaker with a servo you are only tripping the breaker for one of two reasons

1) a unit needs a hard reset. aka trip the breaker and reset all easily just like if you unplugged and replugged in the pdu

2) there is a problem you see remotely and throw the breaker as a saftey precaution

what r the schematics for a cheap servo throwing the main? for example. 200amp box. entire load is servers. Trip the main reset all systems. all systems running off cheap non switched pdu wired straight into box. (already have all that dont just need trip mechinism)

i can wire np

seems much simpler to do it that way then build and entire PDU. also a lot cheaper.
sr. member
Activity: 366
Merit: 250
August 24, 2016, 03:10:32 PM
#7
Here's my dream list:

#1: Turn on/off outlets is key.
#2: CT on each outlet.
#3: Temperature sensor
#4: Web interface - nothing special, just something to control and get data

I don't think it's a good idea to use a servo or actuator to reset a breaker - if you're throwing a breaker, something pretty bad is happening.  And resetting it remotely could be REALLY bad, since you don't necessarily see what caused the issue.

I use a TrippLite server PDU's, and to be honest they're pretty marginal.


all the tripplite switched units ive seen are costly as can be or a measly 20a whih gets me nowherfe in terms of roi

as for tripping a breaker with a servo you are only tripping the breaker for one of two reasons

1) a unit needs a hard reset. aka trip the breaker and reset all easily just like if you unplugged and replugged in the pdu

2) there is a problem you see remotely and throw the breaker as a saftey precaution
legendary
Activity: 2464
Merit: 1710
Electrical engineer. Mining since 2014.
August 24, 2016, 02:58:42 PM
#6
I think that even though I could come up with schematics for this, you would have problems with electrical knowledge, acquiring the parts etc.
And depending how much features you want into it, the parts are gonna cost as well.
legendary
Activity: 1932
Merit: 1042
https://locktrip.com/?refId=40964
August 24, 2016, 02:43:17 PM
#5
Here's my dream list:

#1: Turn on/off outlets is key.
#2: CT on each outlet.
#3: Temperature sensor
#4: Web interface - nothing special, just something to control and get data

I don't think it's a good idea to use a servo or actuator to reset a breaker - if you're throwing a breaker, something pretty bad is happening.  And resetting it remotely could be REALLY bad, since you don't necessarily see what caused the issue.

I use a TrippLite server PDU's, and to be honest they're pretty marginal.


sorry but what do you mean about "#2: CT on each outlet."
hero member
Activity: 687
Merit: 511
August 24, 2016, 01:01:36 PM
#4
Here's my dream list:

#1: Turn on/off outlets is key.
#2: CT on each outlet.
#3: Temperature sensor
#4: Web interface - nothing special, just something to control and get data

I don't think it's a good idea to use a servo or actuator to reset a breaker - if you're throwing a breaker, something pretty bad is happening.  And resetting it remotely could be REALLY bad, since you don't necessarily see what caused the issue.

I use a TrippLite server PDU's, and to be honest they're pretty marginal.
sr. member
Activity: 366
Merit: 250
August 24, 2016, 12:35:09 PM
#3
Yes exactly. I would like that to. In theory you could bread board the smoke alarm into the breaker switch (actuator) also so if the alarm went off it would auto shutoff until you dial into your cam system and asses the damage. The main problem i see is two things

1) parts list? Seriousy... who the heck knows? Just for the pdu you would need 8guage 240v wire. I beleive a grounding bar for the box (pdu) and I would presume another 2 bars to split the 2 hot 120v leads. how to enclose this is another story / mystery. Truthfully when all is said and done it may just be much easier to buy a basic triplite PDU and figure out something with the actuator.

2) wiring all the parts together. we almost need an expert to draw a wiring diagram for this whole thing. I know how to wire and read diagram but i am not so great with parts list and the actual schematic at my current tech level.

Help friends. We love you.
sr. member
Activity: 324
Merit: 250
August 24, 2016, 10:11:07 AM
#2
I don't really have much to add aside from the fact that I like the idea. Personally, I'd like to have remote access to switch the breakers on\off in case I get a smoke alarm notification. What you're talking about could accomplish that.
sr. member
Activity: 366
Merit: 250
August 24, 2016, 08:49:34 AM
#1
Good morning internet family,

I have been doing quite a bit of contemplating. Switched PDU's are hella expensive. Furthermore even if cheap most are only a measly like 20-30amp.

Which brings me to building my own PDU.

What is the deal? I am familiar with 240v wiring. I would imagine I would be fine as long as i incorporate a fuse? I couldn't realistically draw much more then 30amp per unit i build due to hardware and wire limitations (its tricky to wire 200amp main lines into a self made pdu box hard to find hardware etc)

So I have been thinking I could probably build each pdu for about $50. Which brings me to my next question. How to switch the pdu.

An easy method i am thinking is mount a board (wood) next to my electric box. A small cheap servo or actuator in place to flip said breaker (or flip the main)

additionally it would be boss if I could wire in a cell phone trigger for the actuator, as if my network drops i can reset the entire system from a cell phone (or internet i could wire both).

Any advice and pointers would be great. Switched pdus are hella expensive and i dont have gaypal or scambay. Would love to hear everyones input including how to wire a cellphone actuator or networked actuator etc Smiley

happy mining family
Jump to: