lunarmodule5 on YouTube has combined a simulation of the Apollo spacecraft with the flight directors loop (discussion in the control room), the air to ground loop (communication with the craft) and some nice footage from the control room as well as from space. This is the best presented version of the famous audio I’ve seen, allowing you to listen to the drama unfold step by step. It’s really interesting to listen to all these people frantically troubleshooting a variety of symptoms and how calm they keep when three peoples lives are very much at risk.
I made this to use with the Custom Server I built. The problem is that I don’t need to use it 24/7 so I wanted to find a way to remotely turn it off/on. The most obvious way to do this is via Wake-on-Lan. This is supported by the motherboard and works fine if I’m on the same network, but seems impossible to do across the internet. I can’t find a way to get the WOL packet past my router intact.
So I decided to use an Arduino Uno board with an Ethernet Shield. Arduino is a low cost microprocessor that is programmed using a language similar to C, and is often used for education and small projects. The Ethernet Shield is an add on board that allows the Arduino to become an internet enabled device. I bought the shield on eBay.
Using that example I changed it so that one pin went HIGH when the page was loaded. How is this useful at all to power on a pc? Well, when you press the power switch on a computer case what you are actually doing is shorting two pins on the motherboard supplying a pulse to the PWRSW+ pin. Putting a transistor between the pins and using the signal from the Arduino to activate it, an electronic switch can be made.
Thus the pc can be switched on demand from anywhere with an internet connection. As an extension I wanted a way to see if the computer was already on before trying to start it. Conveniently the motherboard output for the PWR LED is ~5V when the computer is on. It’s as simple as reading this voltage into the Arduino’s ADC and writing an IF statement dependant on the input level.
So I now have a way to remotely power my server that is software independent of the server itself, useful if it’s blue screened or frozen. The Arduino is powered from a USB port so it’s a pretty tidy system.