Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/corey-schneider/pico-crown
Raspberry Pi Pico W connected device
https://github.com/corey-schneider/pico-crown
circuitpython pico python raspberry-pi-pico rp2040 ws8212
Last synced: 14 days ago
JSON representation
Raspberry Pi Pico W connected device
- Host: GitHub
- URL: https://github.com/corey-schneider/pico-crown
- Owner: corey-schneider
- Created: 2023-12-13T04:21:54.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-01-12T23:22:41.000Z (10 months ago)
- Last Synced: 2024-10-10T22:41:13.093Z (about 1 month ago)
- Topics: circuitpython, pico, python, raspberry-pi-pico, rp2040, ws8212
- Language: Python
- Homepage:
- Size: 1.24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![crown](20240112_181939.jpg)
This project utilizes the following devices:
- Raspberry Pi Pico W
- Bottle of Crown Royal
- 2.5w speaker (pulled from an old laptop)
- PAM8302A 2.5w amplifier
- 0.5m of 5v WS2812B RGB LEDs, 15 LEDs total
- Some wood and hot glueand software:
- MicroPython 8.2.9
- MQTT
- Adafruit IO
- Misc Adafruit libraries
to accomplish the following task:
- Allow me to send an alert to the device over the internet in order for it to play a specific noise and flash the LEDs a specific way, both similar and very dissimilar to an alarm clock.Features:
- On startup:
- Flash white 2 times to indicate the code is running and the LEDs are communicating
- Connect to wifi in `settings.toml`
- If wifi connection fails for any reason, slowly flash red 5x to indicate a wifi error
- Begin cycling all colors slowly
- If command is received from Adafruit:
- `led_status_feed` (not working)
- ON / OFF
- Not working - cannot think of a valid use case
- `shotty_time_feed`
- 0 / 1: begins shotty mode: plays a sound and flashes the LEDs simultaneously
- `brightness_feed`
- 0.3 to 1.0: sets the brightness. Default is 0.8. Resets on rebootCircuit:
![circuit](https://github.com/corey-schneider/pico-crown/assets/35932803/68b45213-672a-45fa-9ec0-e527a0d110cb)