jcksnvllxr80/raspi_pico_christmas_tree
This project was designed for a decorative Christmas tree made out of cedar which stands about two feet in height. It consists of a Raspberry Pi Pico, a string of ws2812 neopixels, a 128x64 pixel (model: SSD1306) OLED display, an EEPROM (model: 24LC512), a standard push-button, and a esp8266 es01 module. The string of lights serve as the lights on the wooden Christmas tree and are controlled by one wire sending data in series to the lights. The different patterns of the lights are cycled through by pressing the push-button. The OLED display is used to display the lighting style name. The time is obtained by using the esp8266 (esp-01) module to connect to the internet through the LAN wifi and obtain the time from a time server and will be displayed after no button activity has occurred in a certain number of seconds. Each time the led string lighting style changes, the array index of that style is stored in the EEPROM so that on next start up that setting is immediately recalled and used.
Python