Skip to content

Layered Architecture Embedded C program for stm32f401cd which operates Power-meter with protection mode.

Notifications You must be signed in to change notification settings

mahmoudahmedibrahim5/Power-Meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Power-Meter with a protection mode

Features

  • Reading Bus Voltage, Current and power.
  • Switch the unit automatically (micro, milli, and real unit)
  • Set maximum value for each reading.
  • LEDs and buzzer to indicate if the reading exceeds the maximum value.

Implementation

This is a Layered Architecture Embedded C program where everything is written from scratch. You can find more details in the documentation.

MCAL Layer

RCC, GPIO, TIMERS, USART, I2C

ECUAL Layer

INA219, Bluetooth Module, LED

Application Layer

The main functions of the program


Testing

I've made a small circuit with a potentiometer to simulate the load to test the project. You can find a video testing the project in this link https://www.linkedin.com/posts/mahmoud158699216_embeddedsystems-arm-stm32-activity-7104739210397384705-sLWA?utm_source=share&utm_medium=member_desktop

About

Layered Architecture Embedded C program for stm32f401cd which operates Power-meter with protection mode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages