Sign in

username:

password:



Not a member?

Search avrclub



Search tips

Subscribe to avrclub



avrclub by Keywords

AT90S2313 | AT90S8515 | ATMega | ATmega128 | ECL | FETS | IAR | Keyboard | LCD | STK50 | TMOS | UART

Ads

Discussion Groups

Discussion Groups | AVRclub | Re: [AVR club] AVR uController for CNC..??

Atmel AVR Microcontroller discussion group.

Re: [AVR club] AVR uController for CNC..?? - Dave Hylands - Oct 3 10:44:19 2007

Hi Ade,

On 10/3/07, paxlee2004 wrote:
> hi everybody, i want to learn about the use of AVR in the CNC machine...
> Maybe someone has already experienced about it...:
> -what kind of AVR is the best?

There is a Yahoo group doing something along these lines, called the
Electronic Leadscrew. It's designed to drive one stepper motor in sync
with the rotation of the spindle, so that you can add threading
capabilities to the lathe. The guy who did this decided to use a PIC,
but it could just as easily be done with an AVR.


As to which AVR to choose, this is primarily going to depend on how
big your program is. Otherwise, pretty much any AVR will do. You only
need a few I/O pins, and the pulse rates are fairly low, on the order
of 25 kHz or less.

> -have a example of the program?
> -what type of motor is the most effective and not too expensive??

For inexpensive, you're going to go with stepper motors. Note that
you'll also need a stepper motor driver for each stepper. The stepper
motor driver takes STEP and DIR signals from your AVR and drives the
stepper motor.

There are many different sizes and torque ratings for stepper motors.
Which one to pick will depend on the exact application.

My CNC mill (a sherline) uses 135 oz-in steppers with a NEMA-23 mount.
They're about $50 each for the stepper motor and about another $50 for
the driver.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/



(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )