spark_counter
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
spark_counter [2015/10/25 18:04] – update attachment links kingkevin | spark_counter [2015/10/25 18:51] – adjust description kingkevin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | The spark counter is a custom electricity meter. | + | The spark counter is a custom electricity meter with wireless data logging capability. |
On one side I have: | On one side I have: | ||
Line 10: | Line 10: | ||
* a [[# | * a [[# | ||
* a [[http:// | * a [[http:// | ||
+ | |||
+ | {{: | ||
====== peacefair PZEM-004 ====== | ====== peacefair PZEM-004 ====== | ||
Line 22: | Line 24: | ||
* is powered using 80-260 V AC | * is powered using 80-260 V AC | ||
* provides a TTL UART port to query these values (or set an alarm so to beep when a provided power threshold is reached) | * provides a TTL UART port to query these values (or set an alarm so to beep when a provided power threshold is reached) | ||
+ | |||
+ | {{: | ||
+ | {{: | ||
The voltage measurement is done over the power input port. | The voltage measurement is done over the power input port. | ||
Line 27: | Line 32: | ||
Pass the wire on which you would like to measure the current through the coil, and connect the coil to the power meter. | Pass the wire on which you would like to measure the current through the coil, and connect the coil to the power meter. | ||
A drawing on the back of the device will describe how to connect the wires. | A drawing on the back of the device will describe how to connect the wires. | ||
+ | |||
+ | {{: | ||
The meter also provides a UART port to query the measured values. | The meter also provides a UART port to query the measured values. | ||
Line 59: | Line 66: | ||
Each command triggers a very loud buzzer beep (same a for the alarm). | Each command triggers a very loud buzzer beep (same a for the alarm). | ||
I removed the pizeo-element to prevent this annoying sound. | I removed the pizeo-element to prevent this annoying sound. | ||
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
The power meter uses a single chip solution, the [[http:// | The power meter uses a single chip solution, the [[http:// | ||
Line 66: | Line 77: | ||
====== ATmega328P ====== | ====== ATmega328P ====== | ||
+ | {{: | ||
+ | {{: | ||
{{ : | {{ : | ||
Line 89: | Line 102: | ||
====== nRF24L01+ ====== | ====== nRF24L01+ ====== | ||
+ | {{: | ||
{{ : | {{ : | ||
Line 102: | Line 116: | ||
====== Raspberry Pi ====== | ====== Raspberry Pi ====== | ||
+ | {{: | ||
{{ : | {{ : | ||
Line 121: | Line 136: | ||
| GPIO9/MISO | P1_21 | 7 | MISO | | | GPIO9/MISO | P1_21 | 7 | MISO | | ||
| GPIO24 | P1_18 | 8 | IRQ | | | GPIO24 | P1_18 | 8 | IRQ | | ||
+ | |||
+ | {{: |
spark_counter.txt · Last modified: 2024/01/07 17:49 by 127.0.0.1