Code Monkey home page Code Monkey logo

remote-atx-power's Introduction

remote-atx-power

Power on ATX remotely

Requirements

  • WiringPi compatible board (Raspberry Pi, Orange Pi, Odroid etc)
  • 8 dupont female-female cables
  • 2 resistors (tested with 100 Ohms)
  • 2 opto couplers (tested with 817)
  • 12 pins
  • (optionally) breadboard or prototype pcb

Schematics

Disconnect computer case panel's led and power button wires from your ATX mainboard and connect them to the remote board. Using dupont wires connect atx pins accordingly to the remote board so atx led+ is connected to panel's led+, atx led- to panel's led-, and same for power button contacts. Using dupont cables connect ground, gpioA and gpioB to any free digital gpio of your WiringPi compatible dev board. You will have to specify your PIN numbers in the action.sh script

Schema:

Remote ATX power board

Physical board prototype:

Remote ATX power board

Usage

./action.sh [action]

Where action:

  • (empty action) - single short power button press to power on
  • off - check the power led and ping, if ATX is on - single short power button press to shutdown
  • long - long power button press, should trigger acpi immediate power off
  • dry - just print status

Example

To turn power on:

./action.sh

Note: if the server is on the button will not be pressed to avoid accidental shutdown

To shutdown:

./action.sh off

remote-atx-power's People

Contributors

antnks avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.