Soldered WS2812 MicroPython Library
WS2812B is an addressable RGB LED with an integrated driver, individually controllable over a single data pin (no separate driver chip or I2C interface needed). This repo holds example scripts for driving WS2812B-based LEDs/strips/rings using MicroPython's built-in neopixel module - there's no custom Soldered driver class, since neopixel already covers it. Works with any of Soldered's WS2812B boards, including:
- Smart LED WS2812B Pixel↗ (opens in a new tab)
- Smart LED WS2812B Ring7↗ (opens in a new tab)
- Smart LED WS2812B Stick10↗ (opens in a new tab)
- Smart LED WS2812B Ring12↗ (opens in a new tab)
- Smart LED WS2812B Ring24↗ (opens in a new tab)
- RGB LED Diode WS2812B 8mm THT↗ (opens in a new tab)
- WS2812B Addressable RGB LED Strip 5V (30 LED/m)↗ (opens in a new tab)
- WS2812B Addressable RGB LED Strip 5V (60 LED/m)↗ (opens in a new tab)
How to install
After installing the mpremote package↗ (opens in a new tab), install the library on your board using the following command:
mpremote mip install github:SolderedElectronics/Soldered-WS2812-MicroPython-Library
Or, if you're running a Windows OS:
python -m mpremote mip install github:SolderedElectronics/Soldered-WS2812-MicroPython-Library
Repository Contents
- package.json - mip install manifest
- /Examples - blink, pulse, and simple-fade examples using MicroPython's built-in
neopixelmodule
Hardware design
You can find hardware design for Soldered's WS2812B-based boards in their respective hardware repositories.
Documentation
Access library documentation here↗ (opens in a new tab).
About Soldered

At Soldered, we design and manufacture a wide selection of electronic products to help you turn your ideas into acts and bring you one step closer to your final project. Our products are intented for makers and crafted in-house by our experienced team in Osijek, Croatia. We believe that sharing is a crucial element for improvement and innovation, and we work hard to stay connected with all our makers regardless of their skill or experience level. Therefore, all our products are open-source. Finally, we always have your back. If you face any problem concerning either your shopping experience or your electronics project, our team will help you deal with it, offering efficient customer service and cost-free technical support anytime. Some of those might be useful for you:
- Web Store↗ (opens in a new tab)
- Tutorials & Projects↗ (opens in a new tab)
- Documentation↗ (opens in a new tab)
Open-source license
Soldered invests vast amounts of time into hardware & software for these products, which are all open-source. Please support future development by buying one of our products.
Check license details in the LICENSE file. Long story short, use these open-source files for any purpose you want to, as long as you apply the same open-source licence to it and disclose the original source. No warranty - all designs in this repository are distributed in the hope that they will be useful, but without any warranty. They are provided "AS IS", therefore without warranty of any kind, either expressed or implied. The entire quality and performance of what you do with the contents of this repository are your responsibility. In no event, Soldered (TAVU) will be liable for your damages, losses, including any general, special, incidental or consequential damage arising out of the use or inability to use the contents of this repository.
Have fun!
And thank you from your fellow makers at Soldered Electronics.