1

Is any Device available in the market that can measure the raspberry pi energy consumption and has a mechanism to read that information from my own program?

I explored the specifications of USB meter and Wall meters, they display the information on their LCD displays. Have not found anything that has the option to send that information back to the raspberry pi.

A few USB Power Meters come with Bluetooth such as https://www.amazon.ca/MakerHawk-Bluetooth-Current-24-000V-Multimeter/dp/B07C9DQ4F9. Is it possible to get the power measured by the device over BlueTooth by writing my own Bluetooth program?

1
  • Is there something else you are expecting in terms of an answer to your question? If so, please edit your question; if not please read this.
    – Seamus
    Commented Oct 14, 2020 at 7:21

2 Answers 2

3

IN219 current sensor breakout might be a option. you basically insert this where with want to measure the current, usually the power to the Rasberry pi. It connects to the PI with I2C. should meet what you want.

You can carefully split the usb power cord open cut the red wire and attach it to the board. You need a soldering iron and some hook up wire but it's a solid solution and there are libraries availble.

2
  • Thank you for the response. What about USB Power Meters with Bluetooth such as amazon.ca/MakerHawk-Bluetooth-Current-24-000V-Multimeter/dp/…. Is it possible to get the power measured by the device over bluetooth by writing my own program? Commented Oct 12, 2020 at 22:48
  • @SAROJPANDA It seems like that uses the Serial Port Profile. this usually manifests as a COMM Port. You'd then have to figure out what all the data means. If you're lucky it's simple text. I have a DMM that serial data is the current lighting for the 7digit display, images-na.ssl-images-amazon.com/images/I/…
    – Omagasohe
    Commented Oct 13, 2020 at 4:51
2

Yes - there is a world of test instruments in the market that are capable of measuring current, voltage and time (Energy = V * I * t) consumed by a Raspberry Pi. Here's one example of such an instrument, and you can find many others by searching the Internet.

You asked about using the GPIO for this measurement. That is rather vague, and would likely be awkward under any set of circumstances, but if you care to edit your question to refine what you had in mind by using GPIO, perhaps you'll get a better answer.

WRT your revised question:

A few USB Power Meters come with Bluetooth - for example. Is it possible to get the power measured by the device over BlueTooth by writing my own Bluetooth program?

Possible? Yes, probably. Straightforward? Probably not. If you'll take the time to actually read the manufacturer's information from the Amazon site, it suggests that they do not publish an API or any specifications that you could use to write your own program.

But the real answer to your question is only available from the manufacturer. I would suggest you post a question about the product on the Amazon website. If the manufacturer provides an "Open" API, then it is likely you can get the measurement data through a program you write. If they don't, you may still be able to get it, but you will have to hack it by studying raw Bluetooth data sent between the device and one of their supported apps (this is likely to require a lot of work).

2
  • Thank you for the response. What about USB Power Meters with Bluetooth such as amazon.ca/MakerHawk-Bluetooth-Current-24-000V-Multimeter/dp/…. Is it possible to get the power measured by the device over bluetooth by writing my own program? Commented Oct 12, 2020 at 22:48
  • That depends entirely upon what data is available over the Bluetooth interface. As typical, Amazon's "junk factories" supply no specifications or details. You might try asking a question on Amazon... There's no doubt this measurement can be made, but it's a "shopping effort" to find the instrument that meets your price and features requirements.
    – Seamus
    Commented Oct 12, 2020 at 23:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.