A solar battery charger to charge lithium ion (li-ion) 18650, 9V, and coin batteries and Ni-MH AA and AAA batteries.
Create secrets.h
and update parameters in config.h
.
(
sudo apt install python3-serial screen
brew install arduino-cli
arduino-cli config init
arduino-cli config add board_manager.additional_urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
arduino-cli core update-index
arduino-cli core install esp32:esp32
arduino-cli lib install ThingSpeak "Adafruit SH110X" "Adafruit INA260 Library" Timezone ESP-Google-Sheet-Client
arduino-cli compile -b esp32:esp32:featheresp32 .
arduino-cli upload -b esp32:esp32:featheresp32 . -p /dev/ttyUSB0 .
screen /dev/ttyUSB0 115200
)
Mode: recharge
Mode: recharge
SSID: MySSID
Connecting.........
Connected!
IP: 192.168.1.77
Hostname: Feather
Battery:
Percentage: 90%
Voltage: 4.04 V
Current: 700 mA
Power: 2.6 W
Channel:
Number: 1642208
Status: success
Sleep time: 15m
Mode: discharge
Mode: discharge
Battery:
Percentage: 90%
Voltage: 4.04 V
Current: 700 mA
Power: 2.6 W
Documentation can be found here.
This project was started in 2022 by Nicholas Wilde.