No video

raspberry pi pico - power meter

This is a project to measure home power consumption with a raspberry pi pico and some AC clamps.
Code can be found here
github.com/bre...
Wright up
brendenadamcza...
0:00 - overview of the project
0:45 - board view and ads1115 talk
1:45 - look at the code
8:00 - demo of the project
10:25 - home assistant integration
14:20 - home assistant virtual box

Пікірлер: 30

  • @cadensmusic
    @cadensmusic5 ай бұрын

    Just for other's references in the future, did you use 3.3v to power the ADS1115? And also, what value is your burden resistor? Your video is the one that helped me finally some kind of result with a similar project in Micropython. I made alterations in software, mostly removal of the MQTT related stuff (using the current value for something else) and I'm only checking one sensor on ADS1115, so I can't say that my issue I'm having currently is not something that I caused, but I was getting significantly lower current values than what my multimeter clamp was reading for a while. I determined from the handful of tests I did that results vs. actual values were consistently about around 3x smaller. So, adding an additional line to multiply the current result by 3 has gotten me closer, but still is not 100% perfect. (not expecting 100% accuracy to the meter, but when I measure a lower amp 120v circuit, I'm pretty much spot on with the meter, but measuring 35 amp 240v circuit, seems to be consistently 1 amp behind the meter after adding current = current*3. (Before adding the multiply by 3, I'd get around .44 amps on a 1.2 amp circuit, 11.7 or so on a 35 amp circuit. I ask about the burden resistor value you used, and if you used 3.3 or 5 v to power the ADS1115 just because I find mention of them in the various resources you provided, but I don't find any information for sure saying which you personally used in this project. At this point, they're the only two variables that I can find that would give me a 3x lower than expected result. Mostly for me, just trying to troubleshoot why it's low before I added that extra multiplication line. Thank you again for posting this video, and all of the resources you provided too. They've been great help! I found a ton of references to Arduino projects like this, but we were severely lacking information out there on Pi Pico W and micropython in general in relation to STC-013-000 and ADS1115 to measure current.

  • @Meetakal
    @Meetakal8 ай бұрын

    U go brenden 🎉well done

  • @bertzi313
    @bertzi313 Жыл бұрын

    Hi there, i found this video very helpfull! Im currently working on a power meter based on raspberry pi 4 and I can not get the reading from the SCT013 50A/1V clamp. I must mention that I just started learning a bit of Python so maybe the coding is the problem. For now I just want to get some data in a database on the Pi, I do not use a WIFI module yet.

  • @brendenadamczak9283

    @brendenadamczak9283

    Жыл бұрын

    Can't get any reading from the clamps. You can't get any readings from you're ADC?

  • @kenntoi253
    @kenntoi253 Жыл бұрын

    Hello this is a very nice video, I am currently trying to make a relay control using rasp pi relay HAT and power meter using raspberry pi4. Any advice I am just starting with this project

  • @kenntoi253

    @kenntoi253

    Жыл бұрын

    I am trying to control and measure the power used in the mains electricity using rasp pi.

  • @brendenadamczak9283

    @brendenadamczak9283

    Жыл бұрын

    What power are you trying to control with the pi? Like the entire house?

  • @brendenadamczak9283

    @brendenadamczak9283

    Жыл бұрын

    Trying to figure out the relation from the main electricity measurements to the pi relay hat

  • @kenntoi253

    @kenntoi253

    Жыл бұрын

    @@brendenadamczak9283 not actually im just trying to control a room

  • @brendenadamczak9283

    @brendenadamczak9283

    Жыл бұрын

    @@kenntoi253 So your looking to control a room how?

  • @abhishekak9619
    @abhishekak9619 Жыл бұрын

    hello i see you know a lot about raspberry pi pico. can you help do this thing, i want to delay all my mouse data by 1 a second(to make my friend confused its a april fools project), so i have mouse and i want to connect it to the raspberry pi pico and connect the raspberry pi pico to my computer, and the mouse sends data at a 500hz so i want to send the data through the pico at a 500hz. please tell me if this is possible?

  • @brendenadamczak9283

    @brendenadamczak9283

    Жыл бұрын

    I don't see why not. So you'll need to do use this lib to turn you PIO block into a device. github.com/sekigon-gonnoc/Pico-PIO-USB

  • @brendenadamczak9283

    @brendenadamczak9283

    Жыл бұрын

    [Mouse] [usbClient] -> [USB host][Raspberry pi pico][USB client] -> [USB host] [computer]

  • @brendenadamczak9283

    @brendenadamczak9283

    Жыл бұрын

    Basically on the pico usb client side you just need to log all the data with a time stamp. Then in your host side just repeat the message on the host side when the time elapsed. The timing might be need some smoothing to make work properly. Since the you computer is polling the mouse. Your not just sending whenever you get data.

  • @abhishekak9619

    @abhishekak9619

    Жыл бұрын

    @@brendenadamczak9283 I don't know what hardware will I have to buy and use to make it work

  • @abhishekak9619

    @abhishekak9619

    Жыл бұрын

    @@brendenadamczak9283 i got the the code on the pico but still dont know how to connect the mouse to the pico . i wans to use a usbafemale to the gpio pins but any other way is good. just need some more guidance . in the video on that page you sent there was this the pico board and on the board there was another red colored thing , what is that red colored thing do i need it? also i will pay if this works