Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Use ATMEGA2560 and L298 IC driver to control Stepper motor

Status
Not open for further replies.

MrNguyen

Newbie
Newbie level 2
Joined
Nov 28, 2020
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
I designed a circuit like this, but when I run the simulation the motor won't spin. So what's wrong with my circuit? I'm using proteus 8
motor.png
 

Circuit looks correct, I guess it's a software problem.
Presume the processor model doesn't care about actual power supply and the processor is configured for internal oscillator.

BTN1 is however not working. PB7 tied to VCC.
 
Last edited:

So if I want BTN1 to function, what I have to do? Like if I press/hold the button, the speed of the motor changes.
 

Hi,

Straight forward debugging:
use a scope to show the stepper control signals.

Klaus
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top