
How to extend the number of digital pins of an Arduino or NodeMCU using shift registers
The number of digital pins on a microcontroller seems to never be enough, but with shift registers You can get as many new pins as you like! For my next project, I need WiFi and decided to use NodeMCU. The problem is that it has even fewer usable digital pins than the Arduino Nano. I also need to control four stepper motors, four IR sensors, and a real-time clock. Only for the steppers, I need sixteen pins! Using only the NodeMCU this would be impossible, but the here shift r