Status: This is a project in planning state. Currently, these are just thoughts and ideas noted for future usage -- once I have time and/or materials needed for this. If you want to help me with the materials issues, you can check the WishList for an overview what I am missing. Usually, though, the missing resource is just time.

I have several systems in my personal computing center (a noisy room at home, that is), and want to switch them off and back on remotely.

As I also have a terminal server with 16 serial ports in there, I am planning to build a device that has a serial (RS232) interface connected to that terminal server, and a bunch of power outlets on the other side which can be powered on and off through serial commands.

A small microcontroller board, a relay and a nicely crafted firmware for the microcontroller should do the job...

Security features such as powering off all ports in case of a power outage and defaults for all power connectors to "off" to prevent them from running e.g. when I am not at home but a power outage had occurred, must also be implemented.

Safety certification is beyond my financial possibilities, I have now found out (several thousand Euro), so it might be that I give up this project due to insurance problems. There are solutions like this commercially available.

Design

Modules

The device will follow a modular design: There is one control module, which is where the serial interface is connected to an input device (such as a computer's serial interface, or a terminal server). To this control module, up to three switching modules can be connected, which is where the power plugs are located and the actual switching takes place. Furthermore, multiple control modules can be connected to each other, then acting as "master" and "slave" modules, where the "master" module is the one with the serial attachment, and the "slave" modules can act as additional switch banks.

User interface

The control module will have a command line based user interface.

First of all, the available power plugs are addressed as RLYxy, where RLY stands for "relay", x is the bank number, y is the plug number per bank.

The user interface asks for commands by displaying a command prompt consisting of a unique identifier of the control module, and a > character, e.g. "pc.A1-001> ". Commands are entered as described below, terminated by the return key.

Available commands are:

In these commands, y can be replaced by 0 to address all plugs at one switching module at once. If both x and y are given as 0, all power plugs on all switching modules attached to the control module are addressed.

Commands can either fail or succeed. In case of success, the system prints "ok" before returning to the command prompt mode. In case of failure, it prints "failed:" and an error code, e.g. "failed: E-A001.", and returns to the command prompt, if the error was not fatal.


CategoryElectronics


THIS DATA IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DATA, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

All product and brand names mentioned on there pages and in the source code are registered names and/or trademarks of the respective owner and are mentioned for identification purposes only.

For a full copyright notice, please see this link. For imprint and contact information, please see http://www.thiemo.net/.

PowerController (last edited 2008-05-20 16:08:23 by ThiemoNordenholz)