Home
Projects
Resources
Alternatives
Blog
Sign In
RPi WS2812
Save
Controlling WS2812 LED-strip from Raspberry Pi
Overview
Reviews
Resources
Project README
RPi_WS2812
NeoPixel library extended example
Author: BSFEMA
I followed this example to hook my Raspberry Pi 3 to a strip of WS2812B (60 LED per meter):
https://dordnung.de/raspberrypi-ledstrip/ws2812
I started with the example code provided from the "WS281X Library":
https://github.com/jgarff/rpi_ws281x
and added the various functions from this Arduino tutorial:
https://www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/
as well as some of my own things.
Here is an example video of the various functions:
https://www.youtube.com/watch?v=NI3_y6l6Bto
My Raspberry Pi setup is just the 'Raspbian Stretch With Desktop':
https://www.raspberrypi.org/downloads/raspbian/
I ran "sudo apt-get install xrdp" so I could remote into it to from my computer edit the python files and run it from a terminal.
I also enabled SSH.
To run it, I start a terminal, navigate to the folder with the files, and use the command: sudo python main.py
Note: This was my first Raspberry Pi + GPIO project, my frist time with Python, and my first contribution to GitHub.
Open Source Agenda is not affiliated with "RPi WS2812" Project. README Source:
BSFEMA/RPi_WS2812
Stars
38
Open Issues
3
Last Commit
5 years ago
Repository
BSFEMA/RPi_WS2812
Tags
Led
Led Strips
Neopixel
Python
Rpi
Ws2812
Ws2812b
Ws281x
Open Source Agenda Badge
Submit Review
Review Your Favorite Project
Submit Resource
Articles, Courses, Videos
Submit Article
Submit a post to our blog
From the blog
Dec 11, 2022
How to Choose Which Programming Language to Learn First?
From the blog
Dec 11, 2022
How to Choose Which Programming Language to Learn First?
Home
Projects
Resources
Alternatives
Blog
Sign In
Sign In to OSA
I agree with
Terms of Service
and
Privacy Policy
Sign In with Github