Skip to content

Commit 762334c

Browse files
authored
Update README.md
1 parent d2f46a7 commit 762334c

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

README.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,69 @@
11
# esp8266-victron-mppt-solarchargecontroller
22
This is a online information server with rest api based on esp8266 and Victron Solar MPPT Solar Charge Controller
3+
4+
## Hardware
5+
The following hardware is required:
6+
```
7+
- D1 mini (ESP8266)
8+
- Level Shifter 3.3V / 5V
9+
- Victron MPPT Charge Controller (like SmartSolar 100/30)
10+
```
11+
12+
Connection:
13+
14+
D1 mini -> Level Shifter 3.3V / 5V
15+
```
16+
D7 / RX -> LV1 / TXI
17+
GND -> GND
18+
3V3 -> LV
19+
```
20+
21+
Level Shifter 3.3V / 5V -> JST Port am Victron SmartSolar
22+
```
23+
HV1 / TX0 -> 2 (TX / White)
24+
GND -> 4 (GND / BLack)
25+
D1 mini -> MAX485
26+
```
27+
28+
![alt text](https://github.com/datjan/esp8266-victron-mppt-solarchargecontroller/blob/main/connection-schema.png?raw=true)
29+
30+
## Development
31+
This sketch is for following development environment
32+
```
33+
Arduino
34+
```
35+
36+
Following libraries are required
37+
```
38+
https://github.com/me-no-dev/ESPAsyncTCP
39+
https://github.com/me-no-dev/ESPAsyncWebServer
40+
```
41+
42+
## Setup
43+
Setup wifi in esp8266-victron-mppt-solarchargecontroller.ino:
44+
```
45+
const char* wifi_ssid = "xxx";
46+
const char* wifi_password = "xxx";
47+
```
48+
49+
Setup victron device in config.h:
50+
```
51+
#define MPPT_100_30 // Define used Victron Device
52+
```
53+
54+
## Upload to device
55+
Following files needs to be uploaded to the ESP8266 (D1 mini)
56+
```
57+
esp8266-victron-mppt-solarchargecontroller.ino
58+
index_page.h
59+
config.h
60+
```
61+
62+
## Show info
63+
Access webpage on http://[IPADDR]
64+
![alt text](https://github.com/datjan/esp8266-victron-mppt-solarchargecontroller/blob/main/img_webpage.png?raw=true)
65+
66+
67+
Access rest api on GET http://[IPADDR]/rest
68+
![alt text](https://github.com/datjan/esp8266-victron-mppt-solarchargecontroller/blob/main/img_restapi.png?raw=true)
69+

0 commit comments

Comments
 (0)