Wait!
I've just checked your stepper motor and it's a six lead type, the L293D and your chosen I2C stepper motor controller board only controls the 4 lead types.
I think you'll find that the lead number represents the minimum possible angular rotation step i.e. 1.8deg or 7.5 deg etc..
You'll need to identify specifically what your stepper motor requirements are i.e. what is the minimum angle required? Then we can proceed in help you out.
To answer your remaining questions;
1) The number of pins required;
Assuming a 6 lead stepper motor.
4 Lamps (suggest using the PWM outputs (p21..p24) via transistor)
2 Digital outputs
+ 12 Discrete drives (MOSFET's) to stepper motor (6 per motor)
= 16 pins required, the mbed provided
Assuming a 4 lead stepper motor using L293D
Lamps and digital output as above + 8 Discrete drives (or two L293D) = 14 pins
Assuming a 4 lead stepper motor using Stepper Motor Control Board
Lamps and digitial output as above + 4 I2C pins (2 per board) = 10 pins.
2) The 2 metre distance shouldn't be a problem providing the stepper motor driving circuit can drive into the capacitance of the leads (which it should be able to do!)
Hi everyone, I'm using the mbed as a first forray into digital circuitry (beyond electronics training way back at school) and I'm unsure as to whether my next purchases will be right for the job - any advice would be more than welcome!
I need to be able to both read and set the rotation of two gears, so I figure I need stepper motors? I've picked out these stepper motors and these I2C stepper motor controllors - do they seem up to the task? Overkill? Each of the gears will be holding a weight ~ 0.5kg, I shouldn't have any slipping as the stepper motors are rated to 8N cm.
Is this the right approach with the mbed? Thanks for your time!