GithubHelp home page GithubHelp logo

agreen / octoprint-psucontrol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kantlivelong/octoprint-psucontrol

0.0 2.0 0.0 143 KB

Control ATX/AUX power supply

License: GNU Affero General Public License v3.0

Python 90.72% JavaScript 9.28%

octoprint-psucontrol's Introduction

OctoPrint PSU Control

This OctoPrint plugin controls an ATX/AUX power supply to help reduce power consumption and noise when the printer is not in use.

Power supply can be automatically switched on when user specified commands are sent to the printer and/or switched off when idle.

Supports Commands (G-Code or System) or GPIO to switch power supply on/off.

Requires a Raspberry Pi

PSUControl

Setup

Install the plugin using Plugin Manager from Settings

GPIO Setup

NOTE: GPIO pins should be specified as phsyical number and not BCM number.

Sense GPIO Pin

     This option is used to determine the on/off state of the power supply instead of assuming based on the last action.

     The specified GPIO pin should receive a 3.3v signal from the power supply when it is on and 0v when off. If your power supply does not provide 3.3v then consider using a Voltage Divider.

On/Off GPIO Pin

     This option is only required if using GPIO instead of Commands(G-Code) to switch the power supply on/off.

     The specified GPIO pin will send a 3.3v signal when turning the power supply on and 0v when off. ATX power supplies can be switched on by grounding the PS_ON pin using a NPN Transistor. For "always on" power supplies use a relay to switch AC mains.

Troubleshooting

octoprint-psucontrol's People

Contributors

kantlivelong avatar synman avatar

Watchers

 avatar  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.