/StringLight

Primary LanguagePythonApache License 2.0Apache-2.0

StringLight - A project to interactively turn on a solar light string that uses an IR remote control.

figure 1 SunForce LED Bulbs Solar String Light w/ Remote Control

Hardware List (links for reference only)

SmartBee S3 or Data Logger microcontroller (S3 recommended for low power consumption) smartbee

  • JST-PH 2-pin Jumper Cable - 100mm long adafruit
  • Lithium Ion Polymer Battery - 3.7v 500mAh adafruit
  • Waterproof DC Power Cable Set - 5.5/2.1mm adafruit
  • Adafruit Universal USB / DC / Solar Lithium Ion/Polymer charger adafruit
  • 2.1mm DC Jack Adapter Cable adafruit
  • 2x 5MM LED Holder amazon
  • DIY Waterproof Box 3.94 x 2.68 x 1.97 inch (100 x 68 x 50 mm) amazon
  • 12mm Momentary Push Button Waterproof amazon
  • IR Infrared LED Diode 5mm Emitter
  • 5mm Green LED
  • 6in usb-c cable

Diagram

  • todo

Programming

Installing on device

  • Install CircuitPython 9.x on Bee S3 or Bee Data Logger
  • From root folder install required libraries (circup install -r requirements.txt)
  • Copy files from src to device
  • Rename (or copy) settings.toml.default to settings.toml
  • Update settings in settings.toml file to match your network and mqtt login

Dependencies