I want to controll a lot of stepper motors and was wondering about the best approach.
Could I use the MCP23017?
Or should I use these ATmega48A?
The goal is something like this https://www.youtube.com/watch?v=VU4PSbIvm04
In the video he's using some 74ch595 do I have to use those or could I use more Atmegas?
I would recommend buying the motors without the ULN2003 driver boards. This should save some cash. Then use 14x TPIC6B595 shift registers to drive them. These can be chained together so that only 3 arduino pins are needed.
I would like to build each segment to be somewhat independent.
For one segment, could I use a wemos and 3 pins, sharing the clock and "flush" between 7 74hc595 shift registers that are connected in 1, 2, 4 pyramid where the 4 last ones go to the 7 steppers and the other just extends the first one and the first one is connected to the wemos.