. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    So here is a baseline, the basic axis mirroring with auto squaring, but without I2C. Lag is 600ns after a lot of messing about I just stuck the logic in a lookup table and deleted all my code ;-) Yellow trace is step output from DDCS running at 10000mm/min, blue trace is the arduino step output, lag is shown in 'dt' bottom right.

    Click image for larger version. 

Name:	hantek10_2.png 
Views:	765 
Size:	24.3 KB 
ID:	28337

  2. #2
    Doddy's Avatar
    Lives in Preston, United Kingdom. Last Activity: 3 Weeks Ago Has been a member for 9-10 years. Has a total post count of 1,364. Received thanks 188 times, giving thanks to others 66 times. Referred 1 members to the community.
    You're not going to get better than that!

  3. #3
    Quote Originally Posted by devmonkey View Post
    after a lot of messing about I just stuck the logic in a lookup table and deleted all my code ;-)
    Hahaha love it. Sometimes 'ugly' solutions are just the best.

  4. #4
    My dual motor homing / squaring board is now working with the DDCS. Video clip below. DDCS was told to 'home' the X axis:

    1. Each motor stops when its respective home switch is activated,
    2. Once both home switches are activated the board signals home to the DDCS,
    3. DDCS now backs X away from home searching for switch release,
    4. If one motor's home releases before the other this motor is stopped until both home switches are released,
    5. Once both home switches are released the board clears home back the the DDCS and DDCS zero's X co-ordinate,
    6. DDC now moves X a pre-configured distance away from home.

    This logic only activates when a home switch is hit and the machine is travelling towards home. If travelling away from home either switch hit signals the DDCS (i.e. it behaves as a limit switch).

    The only downside of this is that in normal operation driving the machine past home in the X- direction requires both switches to activate before limit- is signalled. This is not a problem unless one of the switches has fallen off.

    Click image for larger version. 

Name:	IMG_20200613_133845.jpg 
Views:	767 
Size:	322.6 KB 
ID:	28364
    Last edited by devmonkey; 13-06-2020 at 01:47 PM.

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Similar Threads

  1. BUILD LOG: 8x4 router build. Steel base & Aluminium gantry gantry
    By D-man in forum DIY Router Build Logs
    Replies: 57
    Last Post: 13-12-2019, 10:43 AM
  2. BUILD LOG: Design stage - All steel - 1200x750x110 - aluminium capable (hopefully)
    By oliv49 in forum DIY Router Build Logs
    Replies: 3
    Last Post: 08-06-2018, 01:18 PM
  3. welding steel base or just getting aluminium extrusion
    By reefy86 in forum Gantry/Router Machines & Building
    Replies: 200
    Last Post: 15-01-2018, 08:55 AM
  4. BUILD LOG: Steel Frame, Aluminium Hybrid Design Thread
    By f1sy in forum DIY Router Build Logs
    Replies: 0
    Last Post: 23-02-2016, 10:04 AM
  5. Steel vs Aluminium
    By gavztheouch in forum Metalwork Discussion
    Replies: 4
    Last Post: 26-05-2014, 10:11 PM

Bookmarks

Posting Permissions

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