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/12/08 16:27] – [Orange Pi] kingkevin | spark_counter [2015/12/28 10:26] – [peacefair PZEM-004] kingkevin | ||
---|---|---|---|
Line 37: | Line 37: | ||
The meter also provides a UART port to query the measured values. | The meter also provides a UART port to query the measured values. | ||
Two opto-couplers isolate the main power meter circuits from the TX and RX UART ports. | Two opto-couplers isolate the main power meter circuits from the TX and RX UART ports. | ||
+ | |||
+ | ^ UART ^ PZEM-004 ^ note ^ | ||
+ | | 5V | VDD | 3.3V is not enough | | ||
+ | | TX | RX | the UART pin needs to be able to sink ~4 mA | | ||
+ | | RX | TX | the UART pin needs to be idle high | | ||
+ | | GND | GND | | | ||
+ | |||
+ | I used a CP2102 based USB to UART converter. | ||
+ | CH340 based USB to UART converters will not work (it seems to not be able to sink enough current). | ||
+ | And when using the Arduino you should not use the USB port (for serial), since that interferes with the UART signals. | ||
The {{: | The {{: | ||
Line 152: | Line 162: | ||
Also only Android supports the video hardware acceleration currently. | Also only Android supports the video hardware acceleration currently. | ||
The official [[http:// | The official [[http:// | ||
- | * such as [[http:// | + | * [[http:// |
* various [[http:// | * various [[http:// | ||
Since I'll only use it as server I decided to go with debian jessie minimal. | Since I'll only use it as server I decided to go with debian jessie minimal. | ||
The pin header is the same as the [[http:// | The pin header is the same as the [[http:// |
spark_counter.txt · Last modified: 2024/01/07 17:49 by 127.0.0.1