Giter VIP home page Giter VIP logo

pipowermeter's Introduction

PiPowerMeter

PiPowerMeter is an energy usage monitor based on the Cirrus Logic CS5463 energy IC (http://www.cirrus.com/en/products/pro/detail/P1092.html) and a Raspberry Pi. It consists of two custom designed stacking pcb's. The main board houses the power supply, CS5463 IC, voltage sensors and supporting electronics. The current sensor board houses 16 multiplexed current input channels that allow monitoring up to 16 different circuits via standard clamp-on ct's. A single main board supports up to 8 stacked current sensor boards for a total monitoring capacity of up to 128 circuits. The system is controlled by a nodejs based program running on the Raspberry Pi and includes a self contained web based monitoring portal. Energy data are stored locally on the Raspberry Pi in a sqlite database making the system 100% stand-alone with no requirement for additional hardware or external servers.

Features

  • 100% stand alone system with no reliance on external hardware or servers
  • Ability to monitor up to 128 circuits via round-robin sampling
  • Uses simple off the shelf clamp-on current sensors
  • Highly accurate measurement of voltage, current, power usage and power factor based on CS5463 energy IC
  • Raspberry Pi based control system
    • All data stored locally in sqlite database
    • Web based monitoring portal for viewing energy usage and configuration
    • Ability to recieve text alerts for overloads or other events.

hardware

Screenshots

Additional Images

Install Instructions

  1. Any of the full size Raspberry Pi models with the 40 pin header are supported including: V1 A+, V1 B+, V2, V3 B and V3 B+. The additional memory and computing power of the V2/V3 models is recommended.
  2. Start with latest Raspbian image from http://downloads.raspberrypi.org/raspbian_lite_latest
    1. (verified with Raspbian Stretch 2018-03-13 (both lite and full))
    2. It's recommended that you use the Lite version because it's smaller and installs faster but you can use either.
  3. login to Pi with Putty or other
    1. the latest versions of Raspbian have ssh disabled. You can enable ssh via raspi-config or just create an empty file named 'ssh' in the boot partition of the sd card.
  4. Install/Update Nodejs (use one of the two methods below depending your model of Raspberry Pi)
    1. For Raspberry Pi 2 or Raspberry Pi 3 (64 bit only)
      1. curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
      2. sudo apt -y install nodejs
    2. For Raspberry Pi all versions (32 or 64 bit)
      1. wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash
      2. nvm install --lts
      3. sudo cp -R $NVM_DIR/versions/node/$(nvm version)/* /usr/local/
  5. Install PiPowerMeter software into app directory
    1. (Raspbian-Lite only) If using Raspbian-Lite you'll need to first install git. Raspbian-Full has git preinstalled so you can skip this step.
      1. sudo apt-get -y install git
    2. git clone https://github.com/crjens/PiPowerMeter.git app
    3. cd app
    4. npm install
  6. run 'sudo raspi-config'
    1. set locale and timezone under Localisation options
    2. enable SPI under Interfacing Options
    3. expand filesystem under Advanced options
    4. change user password (optional)
    5. reboot when prompted after exiting raspi-config
  7. Open your browser to http://<Your Raspberry Pi's IP Address>:3000

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.