The Mega32 has two PWM channels (OC's) that you should use for motor speed. Use one or two of the other IO lines per H-bridge to select the direction. DLC katraven1 wrote: > we have an ATmega32 connected to 2 H-bridge circuits for 2 DC motors > which need to be reversible.. > > we're using timer1 to generate our pwm signal and my idea was to use > one or the other of the OC1 pins to change direction. > > would there be a better method of doing this? using my current > thinking, the wheels would only be able to work in pairs but not > independently... > > > > > > > > > > Yahoo! Groups Links > > > > > > > -- ------------------------------------------------- Dennis Clark TTT Enterprises www.techtoystoday.com -------------------------------------------------
Message
Re: [AVR-Chat] PWM for reversible DC motors
2006-08-26 by dlc
Attachments
- No local attachments were found for this message.