How could I measure current with a raspberry pi at voltages and currents that can be found inside a typical home's power outlets?

The goal is to create a device that monitors how much energy is being used through a particular outlet.

  • Vlad, your question is overly broad, and as such will likely be closed. This isn't a tutorial site. If you have questions about specific components of your problem, please feel free to ask more detailed questions.
    – Jacobm001
    Jun 1, 2016 at 22:59
  • Also, please be extremely careful when dealing with these types of projects. The mains power is extremely dangerous, and your question implies that you don't have the prerequisite knowledge required to safely and legally make such a device.
    – Jacobm001
    Jun 1, 2016 at 23:01
  • @Jacobm001 this question is a great example of this type of question that has been received very well on this site, and is just as broad as the current question. Jun 1, 2016 at 23:03

2 Answers 2


I reckon emonPi is what you should be looking for.

As @Jacobm001 said, you should be extremely careful when messing around with the mains voltage and maybe it is a good to buy a preassembled one.

You can do a lot of things using the provided dashboard or the Node-RED integration they offer.


Radioshack sells a VOM that has a serial port and a API to interact with the meter.

You could get a "premade" device such as this if it has a customizable API.
Then just code a pi interface to it.

edit: requested link

RadioShack 22-812

  • Could you had a link to such a device?
    – sir_ian
    Jun 9, 2016 at 13:51
  • I just realized current (amps) is voltage divided by resistance :/
    – Aloha
    Jun 9, 2016 at 16:10
  • @PandaLion98 No, the one I use is a VOM. Not sure of any ammeters that have a serial interface.
    – Dan V
    Jun 9, 2016 at 19:27

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.