I want to connect some SK9822 LEDs to an SPI bus that is already in use. As these LEDs do not have a chip select, I need to make one.

Is it just as simple as an npn transistor (BC547 perhaps)? Feed the chip select signal from microcontroller to the base, the collector to the microcontroller clock and the emitter to the first LED clock input?

Does this work this way and, if not, what is the correct way?

  • 1
    \$\begingroup\$ "the" correct way? A correct way is any way that gets the correct signal to the LEDs. \$\endgroup\$
    – user253751
    Aug 31, 2020 at 15:33
  • \$\begingroup\$ See electronics.stackexchange.com/q/359672/17178 \$\endgroup\$
    – Passerby
    Aug 31, 2020 at 16:51
  • \$\begingroup\$ but the proper way is probably to use an AND logic ic. \$\endgroup\$
    – Passerby
    Aug 31, 2020 at 16:51


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.