Giter Site home page Giter Site logo

jaz1968 / pi-ups Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microfarad-de/pi-ups

0.0 0.0 0.0 498 KB

Arduino firmware for a Raspberry Pi UPS device

Home Page: http://www.microfarad.de/pi-ups

License: GNU General Public License v3.0

C++ 85.98% Makefile 4.92% Python 9.10%

pi-ups's Introduction

Raspberry Pi Uninterruptible Power Supply

This repository contains the Arduino firmware implementation of an uninterruptible power supply (UPS) device suitable for a Raspberry Pi or any similar single-board computer running on 5 Volts with a maximum of 2.5 Amperes of current consumption. The code has been implemented and tested on an Arduino Pro Mini clone board based on the ATmega328P running at 16MHz. Other Arduino models would work as well.

This software includes the Arduino firmware running on the UPS device as well as the Python script ups.py which runs on the Raspberry Pi. The Python script monitors the UPS by periodically polling its status over the serial port. The script takes care of event logging and ensures a proper system shutdown once a low battery event has been detected.

This project uses Git submodules. In order to get its full source code, please clone this Git repository to your local workspace, then execute the follwoing command from within the repository's root directory: git submodule update --init.

Please visit http://www.microfarad.de/pi-ups for a full description of this project.

Unless stated otherwise within the source file headers, please feel free to use and distribute this code under the GNU General Public License v3.0.

Disclaimer: this project implements a software based Lithium-Ion battery charger. Overcharging, short-circuiting or otherwise abusing Lithium-Ion batteries may result in a fire and/or a violent explosion. The author of this code neither takes any responsibility nor can be held liable for any damage caused to human beings and things due to the improper handling of Lithium-Ion batteries. Please implement this project at your own risk!

Prerequisites

Circuit Diagram

The circuit diagram for this device can be found under the /doc folder or can be downloaded using the follwoing link: https://github.com/microfarad-de/pi-ups/raw/master/doc/pi-ups-schematic.pdf

pi-ups's People

Contributors

microfarad-de 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.