Electronics > Microcontrollers
lpc2103: PWM for Stepper Motor
(1/2) > >>
s.mosfet:
I should control 2 Stepper Motors with the LPC2103 microcontroller (ARM).
It supplies:
- 4 timers
- each timer can produce 3 PWM signals.
The problem is that i should produce 4 PWM signals to control the motor with 4 phases (see pic)...

How to do this?
mikeselectricstuff:
You wouldn't use PWM mode as you want to control the position of both edges.
The set/clear on match functions are probably useable for this if there are enough pins.
Alex:
Are you allowed to use external ICs or you must only use the NXP MCU?
JohnS_AZ:
You wouldn't use PWM unless you wanted to microstep the motors. Plain digital outputs into a driver transistor should do fine.
s.mosfet:
i would use only the MCU (and a driver IC..)

....
Can i use the PWM outputs to make these types of signals?
or i must create it with the code?
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod