Home > News & Updates > Electronics News Updates > Make Your Own Power Meter/Logger

Make Your Own Power Meter/Logger

Summary of Make Your Own Power Meter/Logger


Summary (under 100 words): This project combines an Arduino (Pro Mini or Nano), an INA219 power monitor, an OLED LCD, a micro SD card module, a LiPo battery and a TP4056 charger to build a portable power meter/logger. Schematics for portable and Nano versions are provided on EasyEDA, and code plus required libraries (Adafruit INA219, Adafruit SSD1306, SdFat) are linked. The build logs data to SD, displays readings on the OLED, and can be powered by a LiPo battery with charging via TP4056.

Parts used in the Power Meter/Logger:

  • LiPo Battery
  • TP4056 Board
  • Arduino Pro Mini (or Arduino Nano)
  • INA219 Board (power monitor IC)
  • OLED LCD (SSD1306)
  • SD Card PCB / Micro SD Card module
  • Switch

In this project I will show you how I combined an Arduino, an INA219 power monitor IC, an OLED LCD and a Micro SD Card PCB in order to create a power meter/logger that has more functions than the popular USB Power Meter. Let’s get started!

Make Your Own Power Meter Logger

Step 1: Watch the Video!

The video gives you a good overview on how to create your own power meter. In the next steps though I will present you some additional information to make this project even simpler.

Step 2: Order Your Parts!

Here you can find a parts list with example seller for the portable version of this project.

Amazon.com:

1x LiPo Battery: http://amzn.to/2gz4yvd

1x TP4056 Board: http://amzn.to/2gzdIb4

1x Arduino Pro Mini: http://amzn.to/2gvfXuQ

1x INA219 Board: http://amzn.to/2gvflW7

1x OLED LCD: http://amzn.to/2fobopO

1x SD Card PCB: http://amzn.to/2fodhmu

1x Switch: http://amzn.to/2gz9ZtW

Ebay:
1x TP4056 Board: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

1x Arduino Pro Mini: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

1x INA219 Board: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

1x OLED LCD: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

1x SD Card PCB: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

1x Switch: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

Amazon.de:

1x LiPo Battery: http://amzn.to/2gM2vXB

1x TP4056 Board: http://amzn.to/2eUvMNO

1x Arduino Pro Mini: http://amzn.to/2g6Ujjr

1x INA219 Board: http://amzn.to/2gM5M9v

1x OLED LCD: http://amzn.to/2g6Q3Rd

1x SD Card PCB: http://amzn.to/2gM9Zdf

Step 3: Create the Circuit!

Here you can find the schematic for the Arduino Nano version and the portable version of this project. You can also find those schematic on the EasyEDA website:

https://easyeda.com/GreatScott/PowerMeter-b6051723…

https://easyeda.com/GreatScott/PortablePowerMeter-…

You can also use the pictures of my finished board as a reference for your own.

Step 4: Upload the Code!

Now that your circuit is complete, it is time to upload the code. You can download it here. But don’t forget to download and include the following libraries before uploading:

https://github.com/adafruit/Adafruit_INA219

https://github.com/adafruit/Adafruit_SSD1306

https://github.com/greiman/SdFat

Step 5: Success!

You did it! You just created your own Power Meter/Logger

Feel free to check out my YouTube channel for more awesome projects:

http://www.youtube.com/user/greatscottlab

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information:

https://twitter.com/GreatScottLab

https://www.facebook.com/greatscottlab

Quick Solutions to Questions related to Power Meter/Logger:

  • What does this project combine to create a power meter/logger?
    An Arduino (Pro Mini or Nano), an INA219 power monitor, an OLED LCD, a micro SD card module, a LiPo battery and a TP4056 charger board.
  • Can the project be made portable?
    Yes, there is a portable version using a LiPo battery and TP4056; schematics are provided for the portable version.
  • Where can I find the schematics for the project?
    Schematics for the Arduino Nano and portable versions are available on EasyEDA at the provided GreatScott links.
  • What libraries are required to upload the code?
    The project requires Adafruit_INA219, Adafruit_SSD1306, and SdFat libraries.
  • Does the project include example code to download?
    Yes, the article links to downloadable code for the project.
  • Can the device log measurements to a file?
    Yes, the micro SD card PCB is used to log measurements to storage.
  • Is an Arduino Pro Mini the only Arduino option?
    No, the article mentions both Arduino Pro Mini and Arduino Nano versions and provides schematics for each.
  • Where can I find additional resources or a video overview?
    The article references a video overview and links to the GreatScottLab YouTube channel for more information.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top