Skip to content

๐Ÿ”‹ A solar battery charger to charge lithium ion (li-ion) 18650, 9V, and coin batteries and Ni-MH AA and AAA batteries. โ˜€๏ธ

License

Notifications You must be signed in to change notification settings

nicholaswilde/solar-battery-charger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”‹ Solar Battery Charger โ˜€๏ธ

GitHub tag (latest SemVer) ci task thingspeak

A solar battery charger to charge lithium ion (li-ion) 18650, 9V, and coin batteries and Ni-MH AA and AAA batteries.


๐Ÿš€ย  TL;DR;

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
)

๐Ÿ’ป Output

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

Documentation can be found here.


โš–๏ธย  License

Apache 2.0 License


๐Ÿ“ย  Author

This project was started in 2022 by Nicholas Wilde.

About

๐Ÿ”‹ A solar battery charger to charge lithium ion (li-ion) 18650, 9V, and coin batteries and Ni-MH AA and AAA batteries. โ˜€๏ธ

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published