Measure my electricity consumption

elmatare

One part of the HAS (Home Automation System) is to measure my electric consumption. To do this i have to read an light pulse from my unit. So i made one simple reader with photo resistor and a single resistor on 1kΩ connected to my Arduino. Well, it was not so successful because the fast impulses from the led (10000 imp/kw) so i ordered a photo transistor to test with tomorrow.

fotoresistor_bb
the code follows here:

And here is a little video of the object with photo resistor:

Detta inlägg är publicerat i Arduino, Home automation, Okategoriserade, Projects. Bokmärk permalink. Stängt för kommentarer och trackbacks.