mrfunkyjay
New Member
I have a unipolar stepper motor which I would like to drive using L297. The circuit is ready and tested, the result was okay. The thing I need to discuss about here is the CLOCK problem. I tried to give clock input from my ATMega8535 with 4.0Mhz oscillator on board. The result was actually very weird, I need your explanation if any, regarding my issue here:
1. I tried to do simple software PWM, simply bring one output pin to high for 500ms and low for 500ms. The clock input used to increase/decrease the rpm of a stepper motor but when I changed the time on and off, the rpm is the same.
2. I tried with 555 timer a astable/oscillator mode and it operates well with different resistances and capacitance values.
Any idea guys?
1. I tried to do simple software PWM, simply bring one output pin to high for 500ms and low for 500ms. The clock input used to increase/decrease the rpm of a stepper motor but when I changed the time on and off, the rpm is the same.
2. I tried with 555 timer a astable/oscillator mode and it operates well with different resistances and capacitance values.
Any idea guys?