Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/micyg/ledringhardware
Rounded devboard with adressable leds
https://github.com/micyg/ledringhardware
devboard rp2040 usb-c ws2812b-led
Last synced: about 2 months ago
JSON representation
Rounded devboard with adressable leds
- Host: GitHub
- URL: https://github.com/micyg/ledringhardware
- Owner: MiCyg
- Created: 2024-06-19T23:51:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T18:45:25.000Z (5 months ago)
- Last Synced: 2024-07-26T19:33:09.489Z (5 months ago)
- Topics: devboard, rp2040, usb-c, ws2812b-led
- Homepage:
- Size: 5.35 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LedRingHardware
## Description
LedRingHardware is a simple PCB devBoard based on the RP2040 microcontroller, featuring 8 programmable LEDs and battery supply. This project was created to explore the capabilities of MicroPython and CircuitPython.
## Visualization
## Installation
- Enter to **BOOTSEL** mode connect **boot** testpoints placed close to **U3** chip.
- Download CircuitPython firmware for rp2040. There is avaliable [here](https://downloads.circuitpython.org/bin/raspberry_pi_pico/pl/adafruit-circuitpython-raspberry_pi_pico-pl-9.1.1.uf2) or for latest version go to [CircuitPython](https://circuitpython.org/) site.
- Copy `.uf2` firmware to device## Example code
```python
import board
import time
import neopixelLED_NUMBER = 8
BUTTON_PIN = board.GP22
LED_PIN = board.GP13COLOR = (10,0,15)
disp_pix = neopixel.NeoPixel(LED_PIN, LED_NUMBER, auto_write=False)while True:
for i in range(LED_NUMBER):
disp_pix[i] = COLOR
disp_pix.show()
time.sleep(0.1)
for i in range(LED_NUMBER):
disp_pix[i] = (0,0,0)
disp_pix.show()
time.sleep(0.1)
```Expected results will be that:
![LedRing working Example](3d/images/ledRing.gif)