Skip to content

Solar powered project for watering plants bootstrapped with Arduino Bootstrapper.

License

Notifications You must be signed in to change notification settings

sblantipodi/solar_station

Repository files navigation

Solar Station

Smart solar watering system
Written for Arduino IDE and PlatformIO.

GitHub Actions CI GitHub version License: MIT Maintenance DPsoftware

If you like Solar Station, give it a star, or fork it and contribute!

GitHub stars GitHub forks

Project is bootstrapped with my Arduino Bootstrapper library and my PlatformIO version increment script.

Credits

  • Davide Perini

Components:

  • Arduino C++ sketch running on an ESP8266EX D1 Mini from Lolin running at 80MHz or ESP32-S3
  • Raspberry + Home Assistant for Web GUI, automations and MQTT server
  • 88x142 5V solar panel
  • Sony VCT6 18650 Lithium Battery
  • TP4056 protected lithium charger
  • MT3608 DC DC step up module to step up battery voltage @ 5.5V, ESP chip is happy with it
  • MT3608 DC DC step up module to step up battery voltage @ 8.66V, water pump is powerful with it
  • Relay Shield to safely power the water pump and "detach it from the circuit"
  • (100kΩ + (22kΩ + 4.7kΩ)) voltage divider for Battery voltage level monitoring circuit (see Voltage divider section for ESP32-S3)
  • 3.5V/9V water pump (3W @ 9V)
  • TTP223 capacitive touch button with A contact soldered (HIGH signal when button is not pressed, LOW signal when button is pressed), used to reset the microcontroller
  • Google Home Mini for Voice Recognition

Schematic

CIRCUITS

First working project

IMG

Final working project with two DC to DC step up modules

IMG

Voltage divider:

  • Voltage source = 4.2V (lithium battery at max)
  • R1 = 100kΩ
  • R2 = 22kΩ + 4.7kΩ (in series)
  • Voltage Out = 3.3V (maximum voltage that a D1 Mini can read from the analog pin)

EDIT: Project has been updated to work with an ESP32-S3. ESP32-S3 ADC pin reads up to 3.1V (with an attenuation of 11DB), for this reason I swapped the R2 resistors with a 22kΩ + 10kΩ + 4.7kΩ (in series).

IMG

From the top

IMG

Water pump

IMG

IP56 box

IMG

Second iteration of the same project for other plants in a non stacked format

IMG

IMG

Home Assistant Mobile Client Screenshots

IMG

License

This program is licensed under MIT License

Thanks To

Thanks For
For the CLion IDE licenses.

About

Solar powered project for watering plants bootstrapped with Arduino Bootstrapper.

Resources

License

Stars

Watchers

Forks

Packages

No packages published