[HELP] pulse generator atmega8535?

Discussion in 'Embedded Systems and Microcontrollers' started by ekun69, Oct 7, 2009.

  1. ekun69

    Thread Starter New Member

    Oct 7, 2009
    1
    0
    need help,, how to make pulse generator with atmega8535? is it enought just to out 1 and 0 sequensially on the output port?. i use this pulse generator to operate stepping motor,,

    thanks..
     
  2. KitCarlson

    Member

    Sep 27, 2009
    13
    0
    To start, read about the timers and output compare functions.
    What compiler are you using?
     
  3. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    The Atmega8535 has the power to produce a pretty accurate pulse. As kitcarlson has stated, you need to immerse yourself in the data sheet to gain the understanding you will need to tackle the task of programming the AVR to create the pulse. You will most likely need to get acquainted with the interrupt features of the AVR.

    hgmjr
     
Loading...