Is there anyway to reduce the number of pins from an Arduino to control a stepper motor?
I'm using the 28BYJ-48 and ULN2003 drivers and currently that takes up 4 Arduino pins to control. In the final project I will have 4x motors (taking 16 pins up) and 6 switches for various things such as limit switches (taking up another 6x pins). So that's 22x pins which is more than an Uno has available.
Is my only option to use another driver board (like the EasyDriver) that supports I2C or has anyone else got any suggestions on how I can reduce the number of pins needed to control the steppers?
I was thinking shift registers but I couldn't get my head around how I would be able to incorporate them.
Appreciate any suggestions! Thanks