509,984 active members
3,182 visitors online
Register for free
Login
Page 1 of 5 123
Results 1 to 12 of 53
  1. #1
    Registered
    Join Date
    Jun 2013
    Posts
    24

    CNC Indexer (Arduino based)

    Just finished:



    Arduino UNO

    Wagner

  2. #2
    Member
    Join Date
    Aug 2005
    Posts
    155
    Looks great.

    Will the details of the hardware and software be available or is this a proprietary item?

  3. #3
    Registered
    Join Date
    Jun 2013
    Posts
    24
    Hi arvidj,

    Thank you.
    Details to come (hardware and software). I'm working on the diagram, and pictures.

    Wagner

  4. #4
    Registered
    Join Date
    Jun 2013
    Posts
    24
    Diagram:

    Attachment 190476

    Wagner

  5. #5
    Registered
    Join Date
    Jan 2008
    Posts
    52
    Looking really good and looking forward to the source sketch.

  6. #6
    Registered
    Join Date
    Jun 2013
    Posts
    24
    A little bit about the mechanics:

    Click image for larger version. 

Name:	4thAxis 012 Data.JPG 
Views:	31 
Size:	82.9 KB 
ID:	190496

    Tank you lakeside53. The code is at home. Please wait til tomorrow

    Wagner

  7. #7
    Registered
    Join Date
    Jun 2013
    Posts
    24
    Here is the software:

    Indexer.zip

    \Indexer\Indexer.ino.........The main code
    \Libraries\Wlcd................Modified version of LCD4Bit
    \Libraries\Wstepper..........My striped down version of AccelStepper

    Wlcd is a modified version of LCD4Bit; includes code for activating cursor, create custom characters and digital read keys.

    Wstepper is a rewrite, stripped down version of AccelStepper. Contains the minimum to control the stepper motor with acceleration and deceleration.

    My thanks to the people who created the original libraries.

    Wagner

  8. #8
    Registered
    Join Date
    Jun 2013
    Posts
    24
    First thing when running the code, you must set the configuration.

    Steps/Rev: 200.........Stepper motor, number of steps per revolution
    MicroStep: 8............Stepper controller, number of micro steps
    Reductn: 72.............Total gear train reduction
    MxVl(°/M): 1200........Maximum velocity in degrees per minute
    Acc(°/s²): 20...........Acceleration in degrees per second per second
    Bcklsh(°): 0..............Backlash compensation in degrees

    Wagner

  9. #9
    Registered
    Join Date
    Jun 2013
    Posts
    24
    Screens:

    Click image for larger version. 

Name:	Screens.jpg 
Views:	20 
Size:	84.5 KB 
ID:	190588

    Wagner

  10. #10
    Registered
    Join Date
    Jan 2008
    Posts
    52
    Thanks. I'll try to build it in the next couple of days. It looks straight forward but it always does when someone else does all the hard work!

    Are you using WINAVR? What version?

  11. #11
    Member
    Join Date
    Aug 2005
    Posts
    155
    Thanks very much for the code and the hardware layout.

    A quick look at the code suggests it is well done and well commented.

    I have a Nano and an LCD lying around and will give it a try. I don't have a Stepper Driver handy but can at least put the LCD and keypad thru its paces.

  12. #12
    Registered
    Join Date
    Jun 2013
    Posts
    24
    Thank you arvidj and lakeside53 for your comments

    [IMG][/IMG]

    More pictures:
    Cnc Index - Control Photos by WmCnc | Photobucket
    CNC Indexer - Mechanics Photos by WmCnc | Photobucket

    Don't forget in the first run to go thru the config screens. Use the left/right keys to select digit and the up/down to increase/decrease values.

    lakeside53 - No I don't use WINAVR.

    Wagner

Page 1 of 5 123

Similar Threads

  1. Arduino Modbus?
    By wbrandsmeier in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 02-01-2014, 07:47 PM
  2. Arduino + tb6560 + cd rom cnc machine help
    By joetemus in forum Community Club House
    Replies: 5
    Last Post: 11-28-2013, 04:56 AM
  3. EMC with Arduino for USB I/O?
    By sansbury in forum LinuxCNC (formerly EMC2)
    Replies: 23
    Last Post: 05-05-2012, 09:27 PM
  4. Interfacing an Arduino-based pendant
    By sansbury in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 12-07-2011, 04:40 PM
  5. Arduino
    By LTP in forum General CNC Machine Related Electronics
    Replies: 0
    Last Post: 02-11-2011, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •