hi, i'm starting a project in which i'll need to sequence 6 stepper (with serial motor controllers) , 16 servos (via pwm) and a lot of digital in and outs.
each steppers runs a car on a track, with reed switches as a (rough) motor encoder and several servos and leds along each track.
i would like to get some advice on the strategies to sequences the program flow. what worries me the most is the arduino getting swamped with messages and fails to read an input, being busy with other things.
i have around 6 reed switches on each "track" should i use interrupts? - i dont have enough for every reedSwitch should i use some form of threading? i think i'll be using an Arduino mega, should i switch to using an Uno for each track and communicate between Arduinos?
another thing is more of a design choise. whats the besst strategy for timing events, should i use the blink without delay example, or anything else.
hope im being clear, yosh