Skip to content

Latest commit

 

History

History
93 lines (65 loc) · 3.57 KB

README.md

File metadata and controls

93 lines (65 loc) · 3.57 KB

Pv router Version 1.3 for ESP32 or TTGO T display

TTGO version

I created this pv router to separate the power part of the analysis part.
After 2 years of working with an ESP8266, I made evolutions to upgrade to an ESP32. ( and visual Studio Code )
first time I use Oled display and I migrate to a TTGO tdisplay, for an easyer intregration.

this router use a very simple tech by using phase differences.
The project can reproduce easily for the electronic board.
however I made an industrial version of it to make things easier.
The board was sold by a French Association ( APPER )

You only need to by separatly :
. A TTGO-Tdisplay
. A SCT-013-30
. And an 12V - AC power supply ( Sinus ) you can made it with a modified old 12DC coil transformer. ( see below )

For packaging, I use the box that comes with the TTGO.

Installation :

Configure Wifi

Rename the file wifi.json.ori to wifi.json and change SID
Rename the file config.json.ori to config.json

Upload

If you know your configuration you can change it on config.json
Upload the firmware and filesystem. the system will start and working
A complete documentation (in French ) is here

OTA UPload

You can use OTA upload by the web page /update
Build firmware of filesystem with VS and upload the .bin

Main Configuration

Under the /setup.html page you can configure information for connecting to the MQTT server ( support domoticz or Jeedom ).
Enter the information of the dimmer, the max limit percent power you want to send, the slot between the dimmer work ( low and high )
If you want to swith off oled after a limited time ( button right for swith / or website )
...

Case of multi dimmers

In case you use multi dimmers, you need to calculate the max % needed for all dimmers,
For example if 1st dimmer is 80% max and 2nd dimmer is 40% max, you need to configure the power limit to 120
( and configure all dimmers directly with the limit )

ESP32 Version or DIY version

connections :

ESP32

OLED :
3.3V
GND
21 SCL
22 SDA

SCT013 wbr div bridge R/R between 3.3V and GND
SCT013 connected at the middle of div bridge and pin 34 ( --> Linky )
Condensator 470uf between GND and the middle of div bridge. ( filter )

TTGO

pin 32 GRID
pin 33 SCT013

The carrier is made with a 12v transformer power supply.
The bridge rectifier is removed and the wavy part is kept
There is a divider bridge not to exceed 3.3V and a diode for half alternation.

The assembly as a whole will raise the power and the direction of the current.
Like the ESP8266 version, it can connect directly to the Wifi dimmer to control the power.
github Project

Preparing power:

Open the transformer and remove the diode bridge

Close the transformer and verify the voltage. ~12V AC ( 9-16v ) and adjust the divider bridge if needed ( output 3.3V max )

Debug

you can show the signal with the oscillo on the main page