Here the material involved:
- ESP8266 Dev Board
- EPSolar/EPEver Tracer A/B-Series
- RS485 UART Module (
not the MAX485 chip!-@tekk:
I'm using MAX485 cheapo module and it works fine!) - An old ethernet cable with RJ45 connector you are happy to cut open
Required connections:
DI
->D10
/GPIO1
/TX
RO
->D9
/GPIO3
/RX
DE
andRE
are interconnected with a jumper and then connected to pinD1
/GPIO5
VCC
to3.3V
on ESP8266
Required connections:
DI
->D2
/GPIO4
RO
->D4
/GPIO2
DE
andRE
are interconnected with a jumper and then connected to pinD1
/GPIO5
VCC
to3.3V
on ESP8266
Cut open your ethernet cable and split out pin 4, 6, 8 (B, A, GND). Refer to Tracer Modbus PDF for additional info.
Connect wires as follows (make sure your cable matches the color schema below - otherwise refer to pin numbers only):
- Ethernet green / pin
6
->A
- Ethernet blue / pin
4
->B
- Ethernet brown / pin
8
->GND
on module and ESP8266GND
pin - -> to prevent ground loops - important! - DON' T use pin
1
or2
to feed the ESP8266 (they supply 7,5/5V - 50mA maximum)