GithubHelp home page GithubHelp logo

tearran / raspberry-current-meter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from victor999/raspberry-current-meter

0.0 1.0 0.0 17 KB

Raspberry Pi, current/voltage meter INA219, and data visualization by the web interface.

License: GNU General Public License v3.0

Python 32.86% PHP 67.14%

raspberry-current-meter's Introduction

raspberry-current-meter

Raspberry Pi, current/voltage meter INA219, and data visualization by the web interface.

Project info: https://hackaday.io/project/74265-power-logger-with-raspberry-pi

You need to setup Raspberry Pi (minimal raspbian image) with something like this

sudo apt-get install python-pip libglib2.0-dev git apache2

sudo apt-get install mysql-server

sudo mysql_secure_installation

sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql php-cli

sudo apt-get install phpmyadmin php-mbstring php-gettext

sudo apt-get install libmariadbclient-dev

sudo pip install MySQL-python

sudo systemctl restart apache2

For the mySQL database:

CREATE DATABASE ina_data;

CREATE TABLE ina_data.ina_values ( id INT NOT NULL AUTO_INCREMENT , bus_voltage FLOAT NOT NULL , load_voltage FLOAT NOT NULL , current FLOAT NOT NULL , millisec INT NOT NULL , timestamp DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP , PRIMARY KEY (id)) ENGINE = InnoDB;

You can support me and buy me a coffee here

https://www.buymeacoffee.com/vitjka

raspberry-current-meter's People

Contributors

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