A collection of tinygo/microcontroller sketches and prototypes.
A small, low-cost controller for ws2812 LED strips.
Features:
- SAMD51 microcontroller: 120 MHz, hardware floating point.
- SPI-based driver: This uses the SAMD SPI hardware peripheral and interrupts to clock out the ws2812 signal, allowing for animation code and other interrupts to run concurrently.
- IR remote control: change animations, brightness, etc.
- Flash filesystem: persist animation settings, brightness, etc. between restarts.
- 3D printed case with JST SM connector: JST SM connectors have no wire to board connectors, so we instead use our own 3d printed connector which keeps the size small and is easy to plug and unplug.
- USB Bootloader: custom bootloaders can be uploaded with J-Link.
- Easy to assemble.
Hardware is available here.