Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Angular rotation of 90 degree

Status
Not open for further replies.

cosmonavt

Member
I want to interface a stepper motor with an Atmega16 so that when executed, the motor shaft will rotate 90 degree and then stop. Suppose the step angle is 1.8 degree. We need 50 steps. How do I do this with a stepper?
 
How do I do this with a stepper?
If you can find a suitable stepper-driver IC the datasheet should make clear which signals have to be provided by the micro.
 
Check the threads listed at the foot of this page, or search this site. I'm sure this topic has been covered before.
 
The threads on this site involve a driver IC. But I guess I should stay with Google on this one. Can't find very straightforward results but would be able to do some tweaks...thanks anyway.
 
OK I think this is easy as anything. This Page explains this really well. One question though. This guy has used a PIC. I am using AVR. All Ports on the AVR Atmega 16 have internal pullup resistors. So would I need the hex buffer thingy?
 
All Ports on the AVR Atmega 16 have internal pullup resistors.
Aren't those disabled when the pins are configured as outputs? Even if they aren't they may have too high a resistance to provide sufficient base current for the darlingtons used to drive the stepper coils; hence the hex buffer is advisable.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top