syedaunn / PiPowerMeter

Raspberry Pi Power meter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PiPowerMeter

PiPowerMeter is an energy usage monitor based on the Cirrus Logic CS5463 energy IC (http://www.cirrus.com/en/products/cs5463.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

Install Instructions

  1. Start with latest Raspian image from http://downloads.raspberrypi.org/raspbian_latest
  2. login to Pi with Putty or other
  3. run 'sudo raspi-config'
    1. set locale and timezone under internationalisation options
    2. enable SPI under Advanced Options
    3. expand filesystem
  4. Install nodejs:
    1. wget http://nodejs.org/dist/v0.10.28/node-v0.10.28-linux-arm-pi.tar.gz
    2. tar -xvzf node-v0.10.28-linux-arm-pi.tar.gz
    3. create symbolic links to node and npm
      1. sudo ln -s /home/pi/node-v0.10.28-linux-arm-pi/bin/node /usr/bin/node
      2. sudo ln -s /home/pi/node-v0.10.28-linux-arm-pi/bin/npm /usr/bin/npm
    4. (both node -v and npm -v should now show current version)
  5. Clone PiPowerMeter into app directory
    1. git clone https://github.com/crjens/PiPowerMeter.git app
  6. cd into the 'app' directory and type 'npm install'

About

Raspberry Pi Power meter


Languages

Language:Eagle 90.6%Language:JavaScript 6.7%Language:HTML 2.5%Language:CSS 0.2%Language:Shell 0.1%