https://github.com/petarsimonovic/bonsai
Digital terrarium for Raspberry Pi Pico written in MicroPython
https://github.com/petarsimonovic/bonsai
micropython pico raspberry-pi terrarium thonny
Last synced: 2 months ago
JSON representation
Digital terrarium for Raspberry Pi Pico written in MicroPython
- Host: GitHub
- URL: https://github.com/petarsimonovic/bonsai
- Owner: PetarSimonovic
- Created: 2021-09-30T07:09:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-25T14:01:39.000Z (about 3 years ago)
- Last Synced: 2025-02-18T01:40:09.376Z (over 1 year ago)
- Topics: micropython, pico, raspberry-pi, terrarium, thonny
- Language: Python
- Homepage:
- Size: 4.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bonsai
A digital terrarium written in MicroPython for a [Raspberry Pi Pico](https://shop.pimoroni.com/products/raspberry-pi-pico?variant=32402092294227) mounted with a [BreakoutColourLCD240x240](https://shop.pimoroni.com/products/1-3-spi-colour-lcd-240x240-breakout?variant=30250963632211¤cy=GBP&utm_source=google&utm_medium=cpc&utm_campaign=google+shopping?utm_source=google&utm_medium=surfaces&utm_campaign=shopping&gclid=Cj0KCQjwwNWKBhDAARIsAJ8HkhfexBZbHZXHZKI0WixTnGqXf9Q40DyJy6te9mpHibEGymhLaVfnP_4aAhWKEALw_wcB).
The code, written using the [Thonny](https://thonny.org) IDE and [Pimorini's st7789](https://github.com/pimoroni/st7789-python) library, creates a nature scene that will change in real-time, simulating the seasons alongside animated weather conditions, sunrises and sunsets.
**Winter twilight**

**Autumn evening**

**Spring sunrise**

**Summer afternoon**

**Existing features**
(currently need to be manually implemented, ie they're not yet tied to the clock)
- snowfall
- rainfall
- basic sunrise, sunset and sky tones
- leaves, with seasonal colours
- moon
- fireworks
**In development**
- leafall
- leaf growth
- greater variation in branch shapes
- cloud cover
- greater variety in sky colours
- tie everything to the clock: ultimately the terrarium should use the date/time to generate a seasonal scene