using a school MC for motors

Discussion in 'Embedded Systems and Microcontrollers' started by TerraViper-5, Jul 28, 2012.

  1. TerraViper-5

    Thread Starter New Member

    Jul 28, 2012

    So, I wish to learn how to control motors with a microcontroller. I am studying computer science and we have a course which makes us learn ARM assembly with this board, which is sold for 50€ and has ARM9 on it:


    I thought about buying Arduino since it has such broad support but before I do that I wish to know if there's anything I can do with this thing I bought.

    I wish to control something like this:

    I have never done something similar before and in school we only used onboard timer, onboard LED diode, parallel IO and serial debug unit. I dont see any practical value in those things, much less any connection to controlling a motor.

    I would like to know how/where must I connect the motor to get even started, is it even possible and do I need any additional things to get me started. Thank you!

    PS: If anyone has any useful begginer's guides on controlling motors its much appreciated. Thank you!
  2. davebee

    Well-Known Member

    Oct 22, 2008
    This should be completely possible, but both servo and stepper motors need more control than just connecting power, so it will involve some programming and some circuit design to get them working.

    From a microcontroller point of view, motor control is simple and does not need fast state changes, so just about any microcontroller would be able to control either of those motors.

    The stepper will probably need more electronic circuitry because the coils need more current than a microcontroller pin can supply, but its programming can be as simple as emitting a series of the right patterns of four bits to four IO pins.

    The servo can probably run by directly wiring its power to the board's power and its signal in to an IO pin, but will probably need more programming expertise because it needs good control over the timing of a regular series of pulses.

    There is a lot of information on the internet on how to operate both types of motors; you should probably start by reading the basics of stepper and servo control.