File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change 1
1
# esp8266-victron-mppt-solarchargecontroller
2
2
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
+
You can’t perform that action at this time.
0 commit comments