Coder Social home page Coder Social logo

avr-powermeter's Introduction

AVR-PowerMeter

Introduction

This is the collaborative graduation project of ITI Basic Embedded System Track. It was prepared by:

  1. Ahmed Aly
  2. Marawan Ahmed
  3. Mostafa Sayed
  4. Mohamed Osama

About The Project

This is a DC powermeter that utilizes both an ACS712 current sensor and a voltage-divider-based voltage sensor. These sensors' readings provide the ability to calculate both power and energy through software. The system is able to display readings on an LCD---as floats---and choose what to display: current, voltage, power, or energy. There is also a reset switch that nullifies all readings.

Project Description

The system is mostly interrupt-driven: the sensors' readings are taken every second and both power and energy updated---Overflow mode in timer0 is used; the mode switch is connected to external interrupt 0 and reset switch is connected to external interrupt 1. The reading displayed on the LCD is only updated once every second. Due to the lack of time, the system was implemented using superloop architecture. Further plans to improve this system include:

  1. Add the ability to read/calculate AC values (inst/rms).
  2. Use a realtime operating system.
  3. Interface with the LCD using I2C.

avr-powermeter's People

Contributors

ahmedalyelghannam avatar marawan-ahmed 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.