I need to be able to control 4 stepper motors and output to a display with input of 2-4 buttons and a 2/3 axis accelerometer at the same time.
I've seen controllers for
steppers with 2 or 4 io pins required
oleds with 2 pins required
buttons would require 1 io pin each I believe
accelerometer would require 4 pins
Is there some kind of shield that would make this easier?
What kind of arduino would i need for this much IO?
I need to be able to react to the accelerometer to control the motors independently ideally with as little delay as possible.
You are at the engineering point in your design, you will have to make trade offs and see what are in your budget. You will also find out that it is not the pin count, some devices can be connected in parallel on a bus like I2C, then all combined only need 2 pins on the arduino. It depend on how you decode the buttons, that can be done with two pins if you have an encoder. The Mega has more than enough I/O but I think you will not need that much. Better to hold off until you have your design further along. Post a drawing of it, not a frizzy thing including links to all technical hardware items. Reacting independently is very doable, as little delay is possible but remember if you use the delay function nothing can happen while it is twiddling its ticks. Remember companies like Adafruit sell these shields and make available free to you the software to operate them.
Thank you, I'd like to do that but I think this hobby wouldn't be too expensive to just buy a bunch of different stuff and try things. Would be a good learning experience.
Drawing up a design for me wouldn't be the best idea at the moment because I would like to experiment with a bunch of different ones.
Would you have an idea for a setup? or a part of one? I've bought a cnc shield a bunch of stepper drivers and a bunch of motors. I'll be grabbing both an uno and a mega I think
Some of the CNC shields will give convenient access to multiple stepper drivers (they
usually have 3 or 4 DRV8825 modules piggy-backed on top of them). Some might
even have a TFT display even, but probably you'll have to deal with that and the accelerometer separately, perhaps a prototyping shield is the way to go?
OOps !
My bad.
I saw Quad stepper and my brain saw quadcopter.
Dyslexia.
Sorry for the inconvenience.
Please disregard my previous post.
I will remove it .