16-bit shift register module using 74HC595 controlled through NodeMCU

16-bit shift register module will help you to create 16 digital outputs from only 3 digital outputs of NodeMCU. Circuit is done as shown in the diagram. Upload the following program to your NodeMCU.

/* Shift Register Example Turning on the outputs of a 74HC595 using an array Hardware: * 74HC595 shift register * LEDs attached to each of the outputs of the shift register */ //Pin connected to ST_CP (12) of 74HC595 int latchPin = 0;
Read More
Patterns in cascaded 16-bit serial-in parallel-out shift register modules using Arduino UNO
/* Shift Register Example Turning on the outputs of a 74HC595 using an array Hardware: * 74HC595 shift register * LEDs attached to each of the outputs of the shift register */ //Pin connected to ST_CP (12) of 74HC595 int latchPin = 12; //Pin connected to SH_CP (11) of 74HC595 int clockPin = 11; ////Pin connected to DS (14) of 74HC595 int dataPin = 10; //holders for information you're going to pass to shifting function byte data;
Read More
Cascading two 16-bit serial-in parallel-out shift register modules using Arduino UNO

Cascading is an important feature of 74HC595. Cascading helps to create multiple outputs. Similarly, you can cascade more modules.

Upload the following program to Arduino UNO. Change the value in customDelay() function to change the speed of running LED.

/* Shift Register Example Turning on the outputs of a 74HC595 using an array Hardware: * 74HC595 shift register * LEDs attached to each of the outputs of the shift register */ //Pin connected to ST_CP (12) of 74HC595 int latchPin = 12;
Read More
Interfacing 16-bit serial-in parallel-out Shift register module to Arduino UNO

Here, we will see the circuit to interface a 16-bit serial-in parallel-out Shift register module using Arduino UNO. Shift register module is powered from Arduino UNO.

This module will help to create 16 digital outputs from only 3 digital pins of Arduino. This module can be used in applications where more digital outputs are required such as LED cube, LED matrix etc.

Upload the following program to Arduino UNO. Change the value in customDelay() function to change the speed of running LED.

Read More
X