Hi Matthias, > (*) My power meter has a blinking LED which indicates the current power > usage. > A photo resistor in front of that will see enough ambient light so that I need > an adaptive threshold for the counter. I can do that in hardware, or simply > program an AVR to do it. Guess which is easier (and cheaper). ;-)
So do my two power meters... :) I've been looking around at the various power meter projects and most of them have some sort of CT (Current Transformer) connected to a micro via an AtoD converter with linearization and other goodness as well. One even had a new feature coming whereby they also monitored the light pulses on the power meter where available. Seeing as though each product was essentially trying to measure the same thing as the power meter I thought I may as well try and read the power meter myself. That got me thinking about what I might do and so I naturally turned to my existing Dallas 1-Wire LAN to see what sort of interface might handle this duty and low and behold there is the DS2423. But alas they are discontinued, but then some kind person has emulated it with my favourite microcontroller family - the AVR. My power meters (1 x 3-phase and 1 x single phase) both have flashing LEDs to indicate usage. The 3-phase unit emits 10,000 pulses per kWh and the single phase unit emits 800 per kWh. So I don't really know what maximum pulse frequency I will need to handle as I don't yet know the maximum demand my house has - yet. I was hoping to use a AtTiny85 as I have a pile of them so is your code particularly tied to anything special in the AtTiny84? I'll probably try and use a photo transistor or whatever photo sensitive device I can find and hope to be able to control the light to simplify things a bit. Anyway any feedback on how things turned out would be good, especially how did you handle or display the data subsequently? I was hoping to use the Google PowerMeter project or maybe one of the other on-line services like this. Regards Alex Shepherd ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers