Skip to main content

wokwi-nlsf595 Reference

Serial (SPI) Tri-Color LED Driver

NLSF595

Use the NLSF595 shift register to connect power-hungry RGB LEDs to your microcontroller. A single unit can control two RGB LEDs, and a chain of two units can control up to five RGB LEDs.

Pin names

PinDescription
SISerial input
SCKSerial clock
RCKStorage (latch) pin
OEOutput enable, active low. Connect to GND if not used.
QA…QHParallel output
SQHSerial output*
SCLRReset (clear), active low. Connect to VCC if not used
GNDGround
VCCSupply voltage

* Use the Q7S to chain multiple NLSF595 units together. Connect SQH to the SI pin of the next NLSF595 chip in chain.

Using the NLSF595

You will need to connect at least 3 pins to your microcontroller: SI, SCK, and RCK.

The OE pin can be used to disable the output of the shift register. If you need that functionality, connect it to your microcontroller. Otherwise, connect it to the ground to permanently enable the output.

The output pins of the shift register, QA through QH, are usually connected to the input pins of common-anode RGB LEDs.

Simulator examples