Before compile, create configuration.h
file with these lines (fill with your information, WIFI password, etc)
const char *ssid = "";
const char *password = "";
const char *mqtt_server = "";
Connect the solar panel to D32
+ -> USB
- -> GND
More details in G6EJD - Solar Power for Projects (Arduino/ESP8266/ESP32)
- Lolin D32
- Solar Panel 80x100mm 1W
- Lithium Ion Battery - 850mAh
- broker.hivemq.com