Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

Close

Electronics Lab has moved to Tinkercad. Copy your projects to Tinkercad to continue editing your designs. Learn More Got it!

Blink using a sink pin | Electronics Lab

Blink using a sink pin
Version 1 - Last update: Oct 26, 2015

Turns on an two LEDs on then off, repeatedly, by multiplexing.

Instead of connecting the LEDs to a common ground they are connected to separate "sink" pins. Setting these pins to LOW turn the LED on, HIGH turns it off. Doing this fast enough gives the impression that all the LEDs are lit at the same time.

Using this method you can add extra LEDs to each row by connecting them from another digital pin to the common sink pin, reducing the number of pins you need to handle them. For example for three rows of six LEDs you would need only 9 pins.

Comments disabled