

Control PC power buttons (power/reset/force power down) using a raspberry pi through Web interface
- Size
- 54.6 × 34.9 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 15
- Nets
- 19
- Pads
- 47
- Tracks, vias
- 152, 0
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 28 Jun 2020
- Updated
- 28 Nov 2020
Overview
Doc is an open-source printed circuit board by potato1992, from the potato1992/PCSwitchPi repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 54.6 × 34.9 mm with 15 parts on 19 nets, routed with 152 tracks and 0 vias.
It is built around the S8550. Its parts include 5 resistors, 3 diodes, 2 transistors, 2 connectors and 2 switches. It belongs with the interfaces and adapters boards of this library.
Main components
1README
README.mdPCSwitchPi
Control PC power buttons (power/reset/force power down) using a raspberry pi through Web interface
This is a simple Python utility for Raspberry PI to press power or reset button on remote PC using a web interface. Power and Reset button pins of the controlled PC should be connected to Raspberry Pi GPIO port as the config file.
Usage:
Install required unities:
pip3 install -r requirements.txtRun it:
python3 main.pyWeb interface:
ip:port/control
eg:127.0.0.1:8081/control- Screenshot:

Listening ip/port, password, GPIO number for power_pin, reset_pin, status_pin, base_uri can be changed in the default.config file.
Connection schematics:

Parts
15| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 1N4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1, D2 |
| 2 | 200 | Resistor_SMD:R_0805_2012Metric | R3, R4 |
| 2 | G5LE-1 | Relay_THT:Relay_SPDT_Omron-G5LE-1 | K1, K2 |
| 2 | S8550 | Package_TO_SOT_THT:TO-92_Inline | Q1, Q2 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric | R5 |
| 1 | 510 | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | 5k1 | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | Conn_01x05_Male | Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_Vertical | J2 |
| 1 | Conn_01x06_Male | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | J1 |
| 1 | LED | LED_THT:LED_D3.0mm | D3 |
| 1 | PC817 | Package_DIP:DIP-4_W7.62mm | U1 |
Questions
How big is the Doc PCB?
It measures 54.6 × 34.9 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Doc use?
15 parts, built around the S8550. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Doc KiCad files?
From the potato1992/PCSwitchPi repository on GitHub, at the commit this page was made from: the board is doc/pcb/817.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Doc design in my own project?
Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
Similar boards
- 2 layers128 × 77 mm

- 2 layers

IEC-62056-21-Optical Probe
twam/IEC-62056-21-Optical-Probe
Optical-Probe for reading out power meters supporting IEC 62056-21 via USB
38 parts33 - 2 layers60 × 40 mm

Forcegauge
szbeni/forcegauge
Traning for climbing. Load cell with HX711 and real time plotting,
77 parts18GPL-3.0 - 2 layers60 × 40 mm

Touch n drink
zargony/touch-n-drink
Hardware and firmware for cashless payment device for cold drinks at the aeroclub at EDLH
13 parts14EUPL-1.2 - 2 layers71.1 × 50.8 mm

Power supply and amplifier
roybaer/sound_source
Design documents for Disney Sound Source (DSS) compatible hardware
34 parts9 - 2 layers121 × 75.5 mm

Jlctest
cjheath/jlcbasic
JLC Basic parts library for Kicad fetched and converted from EasyEDA
46 parts5 - 2 layers81.2 × 40 mm

Single scale v3 kicad
IoTReady/esp32-wifi-ble-weighing-scale
This is a weighing scale designed to share data over Wi-Fi using esp32 WROOM32 module. For the weighing scale we are using a load cell and measuring the output using a HX711 24-bit ADC designed for weigh scales and…
59 parts5 - 4 layers39.6 × 19.6 mm
