SPI to Neopixel Converter

1,219

8

1

This is a method of driving Neopixels from a embedded controller that does not depend on precise mcu bit bang timing or the bit inefficient SPI bit banging method. This method does use SPI but here one SPI data bit represents one Neopixel bit.

This method requires some additional hardware and requires a SPI clock of 1MHZ. This results in a Neopixel data transfer time of 1usec which is within the Neopixel WS2812 chip data sheet specification of 1.25 usec +/- 600 nsec.

This circuit will work at 5V and 3.3 volts but make sure the 20 Mhz oscillator works properly at these voltages.

I been using this circuit with Ardunio , micropython , and Adafruit FT232H module.

Circuit clarifications:

1. The D flipflop "D" input needs to be pulled up.

2. 74HCXXX logic ICs were used.

Step 1: SPI to Neopixel Converter

Share

    Recommendations

    • Classroom Science Contest

      Classroom Science Contest
    • Pets Challenge

      Pets Challenge
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest

    Discussions

    0
    None
    erlendse

    2 years ago

    Mind telling what chips where actually used?