SilverFire / esp8266-pc-power-control

ESP8266 based PC power controller
MIT License
48 stars 12 forks source link

ESP8266 based PC power controller

This project is super-easy and lightweight Wi-Fi connected ESP8266 board that polls remote server and allows to turn PC power ON and OFF, reset or perform graceful shutdown.

The background

To turn PC ON and OFF, all the motherboards have special pins with 3.3V in normal condition. When a power (PWR) or reset (RST) button on the front panel of your PC is pressed, the pin gets shortened with ground (GND) and PC does its work.

All we need to do - add this device in parralel to normal buttons to be able to short the desired pin on ground programmatically.

Whenever the PC power supply is connected to high voltage, there is a special +5VSB pin that has 5V even when PC is in stand-by. We should use that pin to power out module.

Building

You need following electronic componens to build this project:

schematic

I did not care too much about the breadbord design, so it is far from perfect and I would not like to put it here as an example :)

Flashing

Usage

Install example PHP task server from php_server directory so it is accesible on the URL you've set in firmware.ino.

Ready device

device

You can do it better ;)