i have a mechanical setup with 2 dc-motor'shttp://www.faulhaber.com/uploadpk/EN_3557_CS_DFF.pdf with on the back of each motor an encoder(HEDS 5500) http://www.faulhaber.com/uploadpk/EN_HEDS_HEDM_DFF.pdf. The encoder has 2 channels 90degrees shifted with a 500 puls/rev output of 2.4V both motors drive a ball screw spindle of about 100mm long and a pitch of 1mm. (directly shaft driven) So i want to position the nut of both spindles starting from a reference point (sensor) which i detect on start up (homing procedure).
To drive the motors i want to buy a pololu dual motor driver shield http://www.pololu.com/catalog/product/2502.
Can i control this all with one arduino uno i have? because i think i need 4 external interrupts. 1 for each encoder channel. and i only have 2 on the Uno. or should i use only channel per encoder? but then i don't know the rotation direction i think...?
software: for the position control i need to make a PID control per motor, or can i use a simpeler way? (the load is always the same)
or should i better use a MEGA to control everything? i couldn't find a similar arduino project to look up how someone else would do this, thats why i want some help.