From a47e19f4f586414d64c5c0fd0db595cc3149e058 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 29 Aug 2018 11:08:56 +0200 Subject: [PATCH] Updated PZEM 004T Energy Monitor (markdown) --- PZEM-004T-Energy-Monitor.md => PZEM004T-Energy-Monitor.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename PZEM-004T-Energy-Monitor.md => PZEM004T-Energy-Monitor.md (90%) diff --git a/PZEM-004T-Energy-Monitor.md b/PZEM004T-Energy-Monitor.md similarity index 90% rename from PZEM-004T-Energy-Monitor.md rename to PZEM004T-Energy-Monitor.md index d2284a2a..34a28844 100644 --- a/PZEM-004T-Energy-Monitor.md +++ b/PZEM004T-Energy-Monitor.md @@ -1,5 +1,5 @@ -When a clamp on energy monitor is needed the PZEM-004T together with a Sonoff Basic can be used. +When a clamp on energy monitor is needed the PZEM-004T together with a Sonoff Basic can be used. ## Parts needed - Sonoff Basic @@ -14,7 +14,7 @@ Install Tasmota on the Sonoff Basic and confirm it's functionality before connec ## Hardware connections As the PZEM-004T expects 5V serial data and the Sonoff Basic only provides up to 3V3 the expected optocoupler input power of the PZEM-004T has to reduced. This can be accomplished by soldering a 1k resistor between the joints as shown below. - + Now connect the serial interface of the Sonoff Basic with the serial interface of the PZEM-004T. See picture regarding used colors and connections. @@ -23,13 +23,13 @@ Now connect the serial interface of the Sonoff Basic with the serial interface o - Tx Green - Gnd Grey - + Cut the power cable in two and connect the input to both Sonoff Basic and PZEM-004T. Route one of the power output lines through the PZEM-004T core and connect it to the Sonoff Basic output. ## Software configuration Configure the GPIO's for hardware serial connection as shown below. - +