Giter Site home page Giter Site logo

stanleydukor / arduino_loadshedding_test Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6 KB

A device that calculates the power consumed by different loads by measuring the current through the load using a current sensor, and then allows users to pay their bills based on consumption via their mobile phones.

Arduino 100.00%

arduino_loadshedding_test's Introduction

Arduino Loadshedding Test

A device that calculates the power consumed by different loads by measuring the current through the load using a current sensor, and then allows users to pay their bills based on consumption via their mobile phones.

How it works

First of all, 3 current sensors measure the current drawn from 3 different loads respectively, then calculations are made to get the current in RMS (root-mean-squared).

After getting the current consumed for 3 iterations, the current is summed up for each load respectively and using some constants, the cost per usage is calculated and stored in Naira (Nigerian Official Currency).

Next, the three users are asked to pay for the usage (which could be done using an android smart phone with bluetooth or the Arduino Serial Com screen) after which their payment is graded in percentage from the highest to the lowest.

Finally, we vary the Arduino's 5v using a potentiometer (frequency was actually meant to be varied) so that at a particular frequency, all three loaded are connected. If the freuency is reduced to a specific level, the load with lowest pay gets cut-off to stabilize the frequency (with the help of a relay), if reduced again, the next load gets cut-off, and again, the last load gets cut-off.

Thankyou! and feel free to make neccessary corrections to this code.

arduino_loadshedding_test's People

Contributors

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