https://github.com/aaronjackson/arduino-power-meter
https://github.com/aaronjackson/arduino-power-meter
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aaronjackson/arduino-power-meter
- Owner: AaronJackson
- Created: 2019-02-24T21:40:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T21:41:08.000Z (over 7 years ago)
- Last Synced: 2025-02-14T23:56:06.506Z (over 1 year ago)
- Language: C++
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* Simple Arduino Power Meter
This is a *very* simple hack to monitor your electricity
consumption. Somewhere on your power meter, there will probably be an
LED that flashes periodically. Also on your meter, will be a note
explaining how many times it flashes per kWh consumed. Mine is 3200
impressions per kWh. You'll likely want to modify this value, unless
it happens to be the same.
"Electrically" there isn't much going on.
#+BEGIN_SRC
--------------- PIN A0
|
/
LDR \
/
|
--------------- 3.3v
#+END_SRC
The code enables the Arduino's internal pull up resistor. The min and
max values are automatically detected, and the threshold for a pulse
is set as being in between those two points.
That is all. Have fun. :)