Bitcoin Forum
April 25, 2024, 06:30:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: remotely controlled power switch?  (Read 31674 times)
cicada (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
August 21, 2011, 06:36:54 PM
Last edit: August 21, 2011, 08:16:52 PM by cicada
 #21

I have this & it works well. Rated at 6A per outlet (10A overall). It does get quite hot, and the web interface only works 100% with IE. And that price is not far off half of what I paid!  Grin

That's pretty cool.  10A is just short of what I need though, I'd have to get two...

[edit] actually, my rigs pull about 6.5A.. won't work for me Sad

Team Epic!

All your bitcoin are belong to 19mScWkZxACv215AN1wosNNQ54pCQi3iB7
1714026659
Hero Member
*
Offline Offline

Posts: 1714026659

View Profile Personal Message (Offline)

Ignore
1714026659
Reply with quote  #2

1714026659
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714026659
Hero Member
*
Offline Offline

Posts: 1714026659

View Profile Personal Message (Offline)

Ignore
1714026659
Reply with quote  #2

1714026659
Report to moderator
1714026659
Hero Member
*
Offline Offline

Posts: 1714026659

View Profile Personal Message (Offline)

Ignore
1714026659
Reply with quote  #2

1714026659
Report to moderator
kirax
Member
**
Offline Offline

Activity: 77
Merit: 10


View Profile WWW
August 21, 2011, 11:25:17 PM
 #22

A friend and myself are looking at a solution to this, so far it looks like it connects to a computer via USB, wires to up to 14 (!) computer power switches, and supports a keep alive on the computer it is wired to via USB in case it locks up, and will reboot that one as well. Price ranges so far looking like it could be around $50 USD (Or about the same BTC) + shipping from here in Canada. Other possible options include custom cases for it, like mine will likely be in a grey skull so I can make bad jokes about "by the power of greyskull!" We are working out details and software right now, let me know if people are interested. 3D printers are awesome. Send me a PM if you have interest :p

VPS, shared, dedicated hosting at: electronstorm.ca. No bitcoin payment for that yet, but bitcoins possible for general IT, and mining/GPGPU rigs. PM for details.
cicada (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
August 25, 2011, 09:46:35 PM
 #23


I was finally able to really research this some more and it seems like it's pretty trivial.

I'm looking at building mine this weekend with a Jennic ZigBee IC I happen to have.. it's way overkill for this but hey miners are good at utilizing whatever happens to be around in a pinch Cheesy

I'm almost convinced that this could be done with serial cable + transistors alone just by pulling a serial pin high to trigger the transistor.  ~$5 in parts Wink

Team Epic!

All your bitcoin are belong to 19mScWkZxACv215AN1wosNNQ54pCQi3iB7
Swishercutter
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
August 26, 2011, 02:10:46 AM
 #24


I was finally able to really research this some more and it seems like it's pretty trivial.

I'm looking at building mine this weekend with a Jennic ZigBee IC I happen to have.. it's way overkill for this but hey miners are good at utilizing whatever happens to be around in a pinch Cheesy

I'm almost convinced that this could be done with serial cable + transistors alone just by pulling a serial pin high to trigger the transistor.  ~$5 in parts Wink

This would work fine...build a serial cable and set it up.  It worked fine with an arduino and transistors so there is no reason a serial cable would not.  Be sure to connect a common ground thats about the only thing that I could see throwing things off.  The MSI boards come with some nice connectors for the board pins, you can actually hook the transistors directly to the connector and then plug it in without having to worry about mis-pinning (connector will only go on one way).  I'll take some pics of what I built so people can see...I should probably post my arduino/processing sketch for my gui control also, been busy and haven't got around to doing a writeup.
mrb
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
August 26, 2011, 08:26:53 AM
 #25

I designed a USB device that can remotely power cycle 45 computers. Total cost in parts is about $100, or $2.20 per computer. This is much more computers and much less expensive than any commercial solution. It is based on an AVR microcontroller, and SSRs connected to the power switches via standard cheap cat5 cables.

Watch my blog for a future announcement. I am probably going to sell kits.
Swishercutter
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
August 26, 2011, 11:16:30 AM
 #26

I designed a USB device that can remotely power cycle 45 computers. Total cost in parts is about $100, or $2.20 per computer. This is much more computers and much less expensive than any commercial solution. It is based on an AVR microcontroller, and SSRs connected to the power switches via standard cheap cat5 cables.

Watch my blog for a future announcement. I am probably going to sell kits.

You don't need SSR's for the  front panel switch...its just DC unless you are switching the supply in which case I don't think the necessary Triacs/Optotriacs can be purchased for 2.20/unit.  AVR's are cheap too though.

One arduino mega would switch 54 (also avr based). More if you did some sort of multiplexing.

At any rate simple transistors are fine.
abracadabra
Hero Member
*****
Offline Offline

Activity: 956
Merit: 1001



View Profile
August 26, 2011, 03:05:34 PM
 #27

Been looking into this for a few days

http://forum.sparkfun.com/viewtopic.php?f=14&t=12563&start=0
http://dataprobe.com/ipio8-web-relay-control.php
http://www.tekkies.co.uk/v2/index.php?option=com_content&view=article&id=24&Itemid=4
http://tuxgraphics.org/electronics/200606/article06061.shtml


I like this one:

http://tuxgraphics.org/electronics/200911/home-automation.shtml



mrb
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
August 26, 2011, 03:46:34 PM
 #28

You don't need SSR's for the  front panel switch...its just DC unless you are switching the supply in which case I don't think the necessary Triacs/Optotriacs can be purchased for 2.20/unit.  AVR's are cheap too though.

One arduino mega would switch 54 (also avr based). More if you did some sort of multiplexing.

At any rate simple transistors are fine.

4 things:
- I want SSRs because I want the electrical circuits to be isolated, for safety. A motherboard or PSU going up in smoke and sending voltage spikes through the power switch wires shouldn't fry my AVR or the 44 other remote-controlled computers...
- If using transistors, the user would have to know which pin of the power switch is + and which is -, increasing setup complexity for non-technical users.
- My SSRs are cheap ($0.75 in my quantities)
- One Arduino Mega would be twice the cost of my AVR board (about $50 vs. $25)
cicada (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
August 26, 2011, 03:51:20 PM
 #29

- My SSRs are cheap ($0.75 in my quantities)

What SSRs are you getting so cheap?  When I was looking for these it seemed impossible to find something that could handle >6A for any reasonable price..  how much load are yours rated for on the AC side?

Team Epic!

All your bitcoin are belong to 19mScWkZxACv215AN1wosNNQ54pCQi3iB7
mrb
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
August 26, 2011, 04:00:00 PM
 #30

- My SSRs are cheap ($0.75 in my quantities)

What SSRs are you getting so cheap?  When I was looking for these it seemed impossible to find something that could handle >6A for any reasonable price..  how much load are yours rated for on the AC side?

They are not on the AC side. They control the ATX motherboard power switch (so 5VDC).
Jezzz
Full Member
***
Offline Offline

Activity: 120
Merit: 100


View Profile
August 26, 2011, 04:11:22 PM
 #31


Pfft.  I couldn't disagree more.
cicada (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
August 26, 2011, 04:12:04 PM
 #32

They are not on the AC side. They control the ATX motherboard power switch (so 5VDC).

Ahh, sorry misunderstood since you were talking about isolation.  There's really little danger of voltage spikes over the power switch pin - when was the last time you saw or heard of a fried PC power button? Tongue

A diode on the transistor base pin would keep it pretty safe I think, but diode+transistor is pretty similarly priced to your SSRs unless you're buying them in bulk anyway.

Good luck to you, it may be slightly overengineered for the purposes here, but I wouldn't dare kit whatever I'm about to cobble together here with transistors, you're in a better spot for it Wink

Team Epic!

All your bitcoin are belong to 19mScWkZxACv215AN1wosNNQ54pCQi3iB7
abracadabra
Hero Member
*****
Offline Offline

Activity: 956
Merit: 1001



View Profile
August 26, 2011, 04:17:12 PM
 #33


You got any better ideas :p Wink
mrb
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
August 26, 2011, 04:29:48 PM
 #34

They are not on the AC side. They control the ATX motherboard power switch (so 5VDC).

Ahh, sorry misunderstood since you were talking about isolation.  There's really little danger of voltage spikes over the power switch pin - when was the last time you saw or heard of a fried PC power button? Tongue

A diode on the transistor base pin would keep it pretty safe I think, but diode+transistor is pretty similarly priced to your SSRs unless you're buying them in bulk anyway.

Good luck to you, it may be slightly overengineered for the purposes here, but I wouldn't dare kit whatever I'm about to cobble together here with transistors, you're in a better spot for it Wink

Power switches don't fry. But it doesn't mean the 5V standby voltage they are connected to remains perfectly stable or safe, especially given the power supplies failures reported in this community...

If you can have safety and user-friendliness for $0.75, take it Smiley
Swishercutter
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
August 26, 2011, 09:04:52 PM
 #35

About those 4 things:
- I want SSRs because I want the electrical circuits to be isolated, for safety. A motherboard or PSU going up in smoke and sending voltage spikes through the power switch wires shouldn't fry my AVR or the 44 other remote-controlled computers...

You can use any optoisolator, doesn't have to be an optotriac.   

- If using transistors, the user would have to know which pin of the power switch is + and which is -, increasing setup complexity for non-technical users.

If they cannot figure out which pin is the pos/neg on the switch they probably shouldn't be trying to pin anything to the Mobo, took me about 2 seconds.  Plus, I checked my MSI vs. an Asrock and they had the exact same pinout for the Mobo power switch pinning...not saying all are, just the 2 I checked.

- My SSRs are cheap ($0.75 in my quantities)
Sounds like you are buying the optotriacs...small components of SSR's that are use to trigger the bigger Triacs in a SSR circuit.  If you were building an SSR that would switch the PSU current you would be looking at around $5/SSR minus the board (and snubber).

- One Arduino Mega would be twice the cost of my AVR board (about $50 vs. $25)
Yep, probably.  But you can use it for other things if you no longer need a resetter. 



Also, have you tested this.  Every time I try to run DC with a Triac it will turn on but it will stick because it requires a negative voltage swing to trigger turn off.  So basically you will trigger it and it will hold the power on.

A quick google search verified what I thought.  Triacs (SSR's) do not properly trigger DC.
http://answers.yahoo.com/question/index?qid=20081024022745AAwQ8nF
http://www.electronicspoint.com/triac-optocoupler-moc3043-switch-12v-dc-t11292.html

So looks like you will have to either use small relays with transistor drivers, DC optoisolators, or just transistors as I was saying before.
kirax
Member
**
Offline Offline

Activity: 77
Merit: 10


View Profile WWW
August 26, 2011, 10:11:01 PM
 #36

About those 4 things:
- I want SSRs because I want the electrical circuits to be isolated, for safety. A motherboard or PSU going up in smoke and sending voltage spikes through the power switch wires shouldn't fry my AVR or the 44 other remote-controlled computers...

You can use any optoisolator, doesn't have to be an optotriac.   

- If using transistors, the user would have to know which pin of the power switch is + and which is -, increasing setup complexity for non-technical users.

If they cannot figure out which pin is the pos/neg on the switch they probably shouldn't be trying to pin anything to the Mobo, took me about 2 seconds.  Plus, I checked my MSI vs. an Asrock and they had the exact same pinout for the Mobo power switch pinning...not saying all are, just the 2 I checked.

- My SSRs are cheap ($0.75 in my quantities)
Sounds like you are buying the optotriacs...small components of SSR's that are use to trigger the bigger Triacs in a SSR circuit.  If you were building an SSR that would switch the PSU current you would be looking at around $5/SSR minus the board (and snubber).

- One Arduino Mega would be twice the cost of my AVR board (about $50 vs. $25)
Yep, probably.  But you can use it for other things if you no longer need a resetter. 



Also, have you tested this.  Every time I try to run DC with a Triac it will turn on but it will stick because it requires a negative voltage swing to trigger turn off.  So basically you will trigger it and it will hold the power on.

A quick google search verified what I thought.  Triacs (SSR's) do not properly trigger DC.
http://answers.yahoo.com/question/index?qid=20081024022745AAwQ8nF
http://www.electronicspoint.com/triac-optocoupler-moc3043-switch-12v-dc-t11292.html

So looks like you will have to either use small relays with transistor drivers, DC optoisolators, or just transistors as I was saying before.

Reading circuit design and embedded hardware threads is good for me, it makes me remember how I keep meaning to learn more about the actual base electrical principles of the computers I work with so much... But haven't yet :p

VPS, shared, dedicated hosting at: electronstorm.ca. No bitcoin payment for that yet, but bitcoins possible for general IT, and mining/GPGPU rigs. PM for details.
Swishercutter
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
August 26, 2011, 10:26:55 PM
 #37

About those 4 things:
- I want SSRs because I want the electrical circuits to be isolated, for safety. A motherboard or PSU going up in smoke and sending voltage spikes through the power switch wires shouldn't fry my AVR or the 44 other remote-controlled computers...

You can use any optoisolator, doesn't have to be an optotriac.   

- If using transistors, the user would have to know which pin of the power switch is + and which is -, increasing setup complexity for non-technical users.

If they cannot figure out which pin is the pos/neg on the switch they probably shouldn't be trying to pin anything to the Mobo, took me about 2 seconds.  Plus, I checked my MSI vs. an Asrock and they had the exact same pinout for the Mobo power switch pinning...not saying all are, just the 2 I checked.

- My SSRs are cheap ($0.75 in my quantities)
Sounds like you are buying the optotriacs...small components of SSR's that are use to trigger the bigger Triacs in a SSR circuit.  If you were building an SSR that would switch the PSU current you would be looking at around $5/SSR minus the board (and snubber).

- One Arduino Mega would be twice the cost of my AVR board (about $50 vs. $25)
Yep, probably.  But you can use it for other things if you no longer need a resetter. 



Also, have you tested this.  Every time I try to run DC with a Triac it will turn on but it will stick because it requires a negative voltage swing to trigger turn off.  So basically you will trigger it and it will hold the power on.

A quick google search verified what I thought.  Triacs (SSR's) do not properly trigger DC.
http://answers.yahoo.com/question/index?qid=20081024022745AAwQ8nF
http://www.electronicspoint.com/triac-optocoupler-moc3043-switch-12v-dc-t11292.html

So looks like you will have to either use small relays with transistor drivers, DC optoisolators, or just transistors as I was saying before.

Reading circuit design and embedded hardware threads is good for me, it makes me remember how I keep meaning to learn more about the actual base electrical principles of the computers I work with so much... But haven't yet :p

It all runs on smoke...never forget that.  Once you let the smoke out it doesn't work anymore. Wink
Pipesnake
Legendary
*
Offline Offline

Activity: 1012
Merit: 1000



View Profile
August 27, 2011, 03:20:51 AM
 #38

I designed a USB device that can remotely power cycle 45 computers. Total cost in parts is about $100, or $2.20 per computer. This is much more computers and much less expensive than any commercial solution. It is based on an AVR microcontroller, and SSRs connected to the power switches via standard cheap cat5 cables.

Watch my blog for a future announcement. I am probably going to sell kits.
ETA?

I'll buy a kit.


 ██▄                ██        ▄███████▄        ██                  ██      ▄█████████▄ 
 ████              ██      █                  █      ██                  ██      ██                ██
 ██  ▀█            ██    ▄█                  █▄    ██                  ██    ██                  ██
 ██    █▄          ██    ██                  ██    ██                  ██    ▀█                     
 ██      █▄        ██    ██                  ██    ██                  ██      ██                   
 ██        █▄      ██                                  ██                  ██       ▀████████▄   
 ██          █▄    ██    ██                  ██    ██                  ██                        ██ 
 ██            █▄  ██    ██                  ██    ██                  ██                          ██
 ██              █▄██    ██                  ██    ▀█                  █▀    ▄▄                  █▀
 ██                ███      █                  █        █                  █      ██                ██ 
 ██                  ▀█        ▀███████▀            ▀███████▀         ▀█████████▀   











Nousplatform Youtube     
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
August 27, 2011, 04:06:27 AM
 #39

I don't know why you'd start a new board from scratch for this. I already posted above about the PIC-WEB board available for $29 euro. It has a TCP-IP stack built in with sample web server code, is easy to program with C tools and free PIC tools. It has a ready to use expansion connector that you could hang many SSR off of to control power switches. Seems to have about 28 pins there but I didn't check each one to see if there are special conditions on some.


mrb
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
August 27, 2011, 05:18:46 AM
Last edit: August 27, 2011, 05:36:29 AM by mrb
 #40

Pipesnake: ETA is mid-September.

BkkCoins: There is only 15 usable digital outputs on the PIC-WEB's EXT connector ($50 in the US). Plus you would have to design a separate board for the SSRs and their resistors ($15). In the end it would be twice more expensive per controllable computer ($65 for 15 computers) compared to my solution ($100 for 45 computers).

About those 4 things:
- I want SSRs because I want the electrical circuits to be isolated, for safety. A motherboard or PSU going up in smoke and sending voltage spikes through the power switch wires shouldn't fry my AVR or the 44 other remote-controlled computers...

You can use any optoisolator, doesn't have to be an optotriac.    

Find me, on Digikey, any type of opto-isolator comparable to my SSR: $0.75 or less for quantities of one hundred, and that operates with an input current of 1mA. I would be delighted to be shown there is one.

- If using transistors, the user would have to know which pin of the power switch is + and which is -, increasing setup complexity for non-technical users.
If they cannot figure out which pin is the pos/neg [...]

I may sell assembled kits and don't want to tell my clients "GTFO if you don't have a multimeter". I am like Steve Jobs, I care about ease of use Smiley

- My SSRs are cheap ($0.75 in my quantities)
Sounds like you are buying the optotriacs...small components of SSR's that are use to trigger the bigger Triacs in a SSR circuit.  If you were building an SSR that would switch the PSU current you would be looking at around $5/SSR minus the board (and snubber).

Nope. These are plain standard SSRs. Just go look them up on Digikey, there are plenty in this price range. Once again, I am controlling 5VDC, not 120VAC.

Also, have you tested this.  Every time I try to run DC with a Triac it will turn on but it will stick because it requires a negative voltage swing to trigger turn off.  So basically you will trigger it and it will hold the power on.

A quick google search verified what I thought.  Triacs (SSR's) do not properly trigger DC.
http://answers.yahoo.com/question/index?qid=20081024022745AAwQ8nF
http://www.electronicspoint.com/triac-optocoupler-moc3043-switch-12v-dc-t11292.html

So looks like you will have to either use small relays with transistor drivers, DC optoisolators, or just transistors as I was saying before.

I have not seen this pb. When I stop applying voltage, the SSR output circuit opens...
Pages: « 1 [2] 3 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!