Enlighten your garden with MicroPython

Deep blue in the mountains
  • a 3 meter RGB (red, blue, green) led strip (150 led total). The strip is powered with 12 volts, and has 3 control pins(r, g, b). When one of this pins is connected to the ground, all leds of the corresponding color simultaneously lit.
  • a set of electroluminescent wires (EL wire) such as this one. Those wires glow nicely in the dark, and come in different colors. An EL inverter must be used to drive the EL wires. Mine is powered with 2 AA batteries (so 3V).
An electric junction box is used to waterproof the electronics. The transparent box is a camera (another project)
The led strip consists of tens of individual RGB led. Here the blue led is lit.
EL wires like these come in various colors and lengths.
Hardware diagram
Debugging on the living room table. The MicroPython application is developed with VScode on a Win10 desktop, and downloaded to the ESP8288 with USB.
  • A MicroPython application, running on the ESP8266.
  • A user interface application, build without any code, just by assembling widgets directly on the smartphone (or tablet).
  • A Blynk server, which manages bidirectional, asynchronous communication between the MicroPython application and the user interface.
The smartphone application. All its widgets communicate with the MicroPython application running on the ESP8266
The system has several visual clues. When it wakes up, it will lit every led, pulse the green led to indicated the Wi-Fi is connected, and blink the blue one to indicate it is going to deep sleep.
Note that this is a version without the EL wire

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
pascal boudalier

pascal boudalier

Tinkering with Raspberry PI, ESP32, Solar, LifePo4, mppt, IoT, Zwave, energy harvesting, Python, MicroPython, Keras, Tensorflow, tflite, TPU. Ex Intel and HP