Re: need some help
It is simple and possible. It is not clear that you want to rotate them in both the directions.
Assuming the simple unidirection control.
1. You need four port pins of microcontroller to control the on and off of motors. 2. Use MOSFET switches to switch on or off the motor.
3. Use PWM(either software or hardware) to control the speed.
4. Use something like proximity to get counts per turn.
5. By counting the pulses you will come to know number of turns and RPM by simple manipulations.
For bidirectional you need two port pins to control single motor and mosfet bridge if using single supply and 2 mosfets if using dual supply.
Regards
Sarang