-
• #2
I'd say first port of call is probably checking that the LDR is right over the meter LED - and you could also check the voltage from GND to pin D31 when everything is in place.
It's possible that the LDR you have is of a resistance that's a bit too 'on the edge' for the voltage change to always be counted, in which case you might need to disable the internal pullup and then add your own of a higher value.
But... I've never really seen that style of meter before - I guess it's possible (although unlikely) that the LED blink is not calibrated (but you hope the dial movement is!)
-
• #4
I think you're capturing the flashes just fine, you aren't calculating the units correctly.
The writing on the meter says 800 Imp/kWh, so you should be dividing by 800, not 1000.2320 / 800 = 2.9 kWh, which is pretty close to what you estimated your usage to be.
-
• #5
Ha ha ha @myownself,
If I had a brain I would be dangerous. That photo was just one I lifted from the internet but you are dead right.
What a muppet I am.Thanks so much.
-
• #6
Great! That's crazy - never seen one like that before!
-
• #7
My MDBT42Q arrived yesterday so I'm going to see if readAnalog(LED2) is sensitive/accurate to be used instead of adding an LDR.
Hi, I've set up a puck with an LDR to read the flashes on my electricity meter.
It's mostly working very well but I seem to be missing counts of flashes
From 8:42 until 14:57 today my meter advises that I've used ~3kWh but I've captured 2320 flashes, ie 2.32kWh.
There will be a little inaccuracy as the Puck stores the count every 5 minutes (surprisingly exactly on the 5 minute intervals from the o'clock) and I've obviously read the meter at 42 and 57 but that only accounts for maybe a max of 50-70 flashes.
Then the meter is like the one in the image. There will be an element of inaccuracy there as well as it's not really possible to be 100% accurate where the counter is within the 1/10. That said even if I assume a 10% inaccuracy then that's still in the region of 0.5kWh that hasn't been captured.
The issue could be
Also, out of interest, I've got a Pixl in the back of my campervan and Bluetooth coverage has never been an issue. I've only started using the Puck for this project and Bluetooth coverage is very much more tempramental, both with failures to connect and also I need to be in a very particular location to get a connection.
I guess a lot of that may be the noise around the meter cupboard as the distrubution box is also very close.
Has anyone got any ideas or come across a similar issue?
Thanks
1 Attachment