Speed control using PWM and the L293D Driver
blueice
Posts: 12
I was just looking up on controlling the speed of my motor using the L293D...(ive used the driver chip for normal on and off motor projects)
Do i use the BS2's PWM command to run it?
Also ,how do i go about connecting it to the driver chip..
My idea is this...
2 pins from the BS2 to the·input pins of the 293D
The PWM pin to the driver chip's Enable line..
Is this correct..
Thank you for ur time...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**·ice**
Gerard Sequeira
Machinegrid.com·:: Robots at Work!!
Parallel Port Tutorials,
Autonomous Robots,
PIC16F84a Temperature Controller
·
Do i use the BS2's PWM command to run it?
Also ,how do i go about connecting it to the driver chip..
My idea is this...
2 pins from the BS2 to the·input pins of the 293D
The PWM pin to the driver chip's Enable line..
Is this correct..
Thank you for ur time...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**·ice**
Gerard Sequeira
Machinegrid.com·:: Robots at Work!!
Parallel Port Tutorials,
Autonomous Robots,
PIC16F84a Temperature Controller
·
Comments
If you look at our NX-1000-24/40 documenation you'll see a way to synthesize PWM to a motor controller, though it may not fit your needs. Beyond that, we offer a product called the PWMPAL which does produce PWM waveforms suitable fro driving motors.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
but whats the· NX-1000-24/40 documenation ,can you post a link
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**·ice**
Gerard Sequeira
Machinegrid.com·:: Robots at Work!!
Parallel Port Tutorials,
Autonomous Robots,
PIC16F84a Temperature Controller
·
http://www.parallax.com/dl/docs/prod/boards/28137.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
However i cannot get a higher frequency from the BS2 .The motor starts jerking at low frequencies..
i need around 5Khz and i think yhe BS2 can output a· max of 1Khz,[noparse][[/noparse]a pause of 1ms]
Is there a solution other than using the PWMpal..like using· a
BS2-DAC-555 timer..
anyone tried it before..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**·ice**
Gerard Sequeira
Machinegrid.com·:: Robots at Work!!
Parallel Port Tutorials,
Autonomous Robots,
PIC16F84a Temperature Controller
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA