ktal3at wrote: > Regular DC motors > >>can be controlled in a variety of ways. >> > > > > How can i control them by using PWM ?? > > can u help me to generate an ASM Code for it on ATMEGA 8535 ? What kind of motors are you using? What kind of H-bridge. Your motor and H-bridge determine what the frequency is that you can use. For instance, cheapie Mabuchi motors like those used in toys and some gearboxes can't deal well with higher than 500 Hz. The L293 H-bridge can't deal with a PWM frequency higher than about 1-2KHz (I blew the top off the chip when I accidentally used 19KHz on one!) We need more details. If you don't want to write in assembly, and don't have money for a compiler then you can use avr-gcc, which runs on Mac, Linux and Windows and gives a higher level C environment. DLC -- --------------------------------------- Dennis Clark TTT Enterprises ---------------------------------------
Message
Re: [AVR-Chat] Re: PWM Help
2008-02-05 by Dennis Clark
Attachments
- No local attachments were found for this message.