auggie with mpg

Discussions and file drops for Auggie
Richard Cullin
Site Admin
Posts: 152
Joined: Sat Jun 02, 2012 4:45 pm

Re: auggie with mpg

Post by Richard Cullin »

I have reached a brick wall trying to control mpg jog speed,  no matter how fast I send encoder pulses the tool velocity won't exceed 100 or so mm/min . the speed ramps up from 0 to 100 nicely then won't increase past that point .  I can set quadrature pulse rate  > 5khz .


sorry ignore this , the max x/y velocity was incorrect set to 100 on this test config
Last edited by Richard Cullin on Wed Jul 04, 2018 7:14 am, edited 1 time in total.
ArtF
Global Moderator
Global Moderator
Posts: 4557
Joined: Sun Sep 05, 2010 5:14 pm
Contact:

Re: auggie with mpg

Post by ArtF »

Richard:

  I too do that all the time, thinking its broke I end up finding I set a limit on myself somewhere. :)

Let us know how it all works out.

Art
Richard Cullin
Site Admin
Posts: 152
Joined: Sat Jun 02, 2012 4:45 pm

Re: auggie with mpg

Post by Richard Cullin »

the remote end of the cordless auggie mpg
You do not have the required permissions to view the files attached to this post.
Last edited by Richard Cullin on Mon Jul 09, 2018 10:16 am, edited 1 time in total.
ArtF
Global Moderator
Global Moderator
Posts: 4557
Joined: Sun Sep 05, 2010 5:14 pm
Contact:

Re: auggie with mpg

Post by ArtF »

Cordless MPG's.. hard to imagine a handier item than that!
  I bow in your general direction. :)


Looks like excellent work. How do you find it in operation?

Art


Richard Cullin
Site Admin
Posts: 152
Joined: Sat Jun 02, 2012 4:45 pm

Re: auggie with mpg

Post by Richard Cullin »

its not on the laser yet , still waiting parts for the pokeys end .so far it looks good on the auggie screen
on slow its 1.6 mm/mpg turn  @ 800mm/min max rate
on fast  its 16 mm/mpg turn @ 1600mm/min max rate
left button steps axis  xyz  right button selects speed
the nrf comms  sends  a  signed move value to the pokeys end queue as fast as the receiver sends ack packets.
nrf2401 coms is set for 4 byte packet @250kbps with ack and 4 retries.
the queue is pretty shallow so that the machine can't go too far in larlar land if you overwhelm it with fast winding of mpg knob, packets get abandoned if the queue can't keep up. the idea is when you stop turning the knob the machine stops.
I don't know if you have much knowledge of what a pic mcu is capable of but the rx end chip has these things called configurable logic cells. i'm using two of these set as d type flipflops to generate a quadrature output. I can clock this at any speed from dc to daylight (10's of megahertz anyway), one of the timer/counters is used to regulate the clock to a precise number of pulses while another sets the speed. so its pretty simple to set mpg speed / distance and its all done in hardware

Richard Cullin
Site Admin
Posts: 152
Joined: Sat Jun 02, 2012 4:45 pm

Re: auggie with mpg

Post by Richard Cullin »

art
next time you review auggie code , no big deal.
mpg button . when you shutdown auggie with mpg active ,when restarted mpg button still shows as active but it not . you need to off/on it to get mpg going.
crosshairs.  the crosshairs don't update when mpg jogging unless you repeatedly move the mouse over the plot window
ArtF
Global Moderator
Global Moderator
Posts: 4557
Joined: Sun Sep 05, 2010 5:14 pm
Contact:

Re: auggie with mpg

Post by ArtF »

Thx. Noted for update when Im in there.

Art

Richard Cullin
Site Admin
Posts: 152
Joined: Sat Jun 02, 2012 4:45 pm

Re: auggie with mpg

Post by Richard Cullin »

parts arrived for pokeys end . its behaving perfectly on the bench .
decided to calibrate the mpg to match the 100 indents per turn it has .  its now set that 1 click is 0.1mm on slow and 1.0 mm on fast. will see how that works out in real life.
still waiting for lipo battery and usb charge manager to finish the job

You do not have the required permissions to view the files attached to this post.
Richard Cullin
Site Admin
Posts: 152
Joined: Sat Jun 02, 2012 4:45 pm

Re: auggie with mpg

Post by Richard Cullin »

just tried it out on the k40  , it works just like a bought one ! 
0.1 mm steps @ 900mm/m  is ideal for positioning the laser  , 1.0 mm steps @1800mm/m is way too fast for the k40 bed .
0.01 might be needed for touch off on the mill .

i have set the mpg up to have 3 axis's,  each can have its own steps/mm setting stored in eeprom , with a built in setup menu.






Richard Cullin
Site Admin
Posts: 152
Joined: Sat Jun 02, 2012 4:45 pm

Re: auggie with mpg

Post by Richard Cullin »

main reason behind this project was to make zeroing laser to the work easier  . unfortunately just noticed that the laser test fire button is inoperative when mpg mode active , kinda defeats the purpose . defeat snatched out of the hands of victory.
now I need to build a red dot system too, unless anyone has some bright ideas
Post Reply