HOW CAN I...?

Jul 13, 2008 12 Replies

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 | | Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | Liberalism is a persistent vegetative state

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 Embedded software/hardware/analog Info for designers: http://www.speff.com

You NEVER met Paul Sprocket? He is rather jumpy some days, and goes in fits and starts other days...

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 your account: http://www.usenettools.net/ISP.htm Sporadic E is the Earth\'s aluminum foil beanie for the \'global warming\' sheep.

I guess you haven't seen many Asians eat noodles with chopsticks.

I met two of his cousins, they was on a chain gang.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required