Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.28 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.28 KB

WS2812b SPI Controller for ATtiny85

This code for a WS2812b SPI controller using the ATtiny85. It is loosely based on the ATtiny10 Neopixel controller by Wayne Holder.

The controller requires three pins on the ATtiny85. The pin assignments can be changed in the defines, but the following shows the default layout. PB5 (Pin 1) should probably be connected to +5V through a resistor in the 10k- to 30k-ohm range.

In this configuration, the device assumes it is the only peripheral on the SPI bus. Accordingly, there is no provision for chip select. This may be changed in future revisions.

Expected Connection Diagram

            +====+
 +5V -> PB5 |*   | +5V
  NC -- PB3 |    | PB2 <- SCLK
DOUT <- PB4 |    | PB1 -- NC
        GND |    | PB0 <- COPI
            +====+

Direct Dependencies

Contribution guidelines

For more information