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.

Stepper motor interfacing with lpc2148

Status
Not open for further replies.

Priya Supriya

Newbie level 2
Joined
Mar 8, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,294
Hello,

I tried some basic code in keil c for stpper motor controller with lpc2148,but that is not generic code,so i want help from u to control stepper motor.

Thanks,
Priyanka
 

Post your code, circuit diagram and details about the motor to get help.

Nandhu
 

Hi


Depend on the type & power of the step motor you are using you can use the AMIS3062x IC to drive stepper motor via simple I2C command

you can also use a stepper driver IC from ST but you will need to supply some driving signals and make some movement tables.

All the bets

Bobi

The microcontroller specialist
 

Hi,
Below is my code for stepper motor

IODIR0 = 0x0FF0FF;

GPIO0_IOCLR=0x00000008;
GPIO0_IOSET=0x00000001;
delayForMotor();
GPIO0_IOCLR=0x00000001;
GPIO0_IOSET=0x00000002;
delayForMotor();
GPIO0_IOCLR=0x00000002;
GPIO0_IOSET=0x00000004;
delayForMotor();
GPIO0_IOCLR=0x00000004;
GPIO0_IOSET=0x00000008;
delayForMotor();

Please help me if any corrections i have to make.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top