[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1545592 [View]
File: 13 KB, 540x541, 1546179454852.png [View same] [iqdb] [saucenao] [google]
1545592

>>1545495
Use just 8 pins: 4 rows as push-pull outputs and 4 columns as open-drains, and switch them real fast. Replicate pic related but connect a 220 ohm resistor to each row to not burn your LEDs.

>>1545582
These are addressable LEDs. Searching a bit I found out each one of these LEDs are of model WS2812B, which, in effect, has a datasheet.
https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf
You control them by sending 24 bits of serial information followed by a delay. Depending on the order of the information the LED will receive or bypass that information to the next LED. There are some Arduino codes you might be interesting in look at to know more details.

Navigation
View posts[+24][+48][+96]