hi. how can i drive a DC motor with L298? Who can tell me what is PWM & HOW can i use it to drive a DC motor in a ATMEGA32?
- posted
14 years ago
hi. how can i drive a DC motor with L298? Who can tell me what is PWM & HOW can i use it to drive a DC motor in a ATMEGA32?
I suggest attaching a sprocket to the DC motor, and turning it using the L298 as a pawl.
PWM is "Pulse width modulation". You can use it by turning the DC motor using the ATMEGA32 in the above matter, but using longer or shorter strokes depending on how fast you want it to go.
Alternatively, you could read your textbook or show up to the lectures.
Cheers,
Phil Hobbs
wats a sprckt & wats a pawl
john
Sno-o-o-o-o-ort ;-)
...Jim Thompson
-- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et |
Alimentry mechanics, like why you can't eat spaghetti with chopsticks, (easily)
martin
PWM is a method used to control the speed of the DC motor by turning the power to it on and off very quickly. The Atmega32 will do this for you once you program it. The L298 sits between the Atmega and the motor since the Atmega is not capable of supplying enough power to drive the motor directly. Look up the data sheets on the Atmega32 and read the PWM section.
shortT
appalling
I like RATCHET more than I likes SPROCKET!!
-- paul
Best regards, Spehro Pefhany
-- "it\'s the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com
You NEVER met Paul Sprocket? He is rather jumpy some days, and goes in fits and starts other days...
...also try jello...
Sure you can if you freeze the jello, with the chopsticks stuck in it.
-- http://improve-usenet.org/index.html If you have broadband, your ISP may have a NNTP news server included in
PERFECT. thank u shortT
I guess you haven't seen many Asians eat noodles with chopsticks.
I met two of his cousins, they was on a chain gang.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.