GearHeads Corner
November 18, 2018, 03:18:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 [2] 3
  Print  
Author Topic: auggie with mpg  (Read 552 times)
0 Members and 1 Guest are viewing this topic.
Richard Cullin
Full Member
***
Posts: 117


View Profile
« Reply #15 on: June 28, 2018, 07:42:57 AM »

I will give it a try , is this what you think


* pendant_wiring.jpg (91.23 KB, 574x478 - viewed 20 times.)
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5019



View Profile
« Reply #16 on: June 28, 2018, 10:34:37 AM »

Looks to me like the pendent should work as long as its turned on, and auggie is in state 10 expecting mpg use.
Ill send a note to the developer to ask..

Art
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5019



View Profile
« Reply #17 on: June 28, 2018, 02:26:00 PM »

Richard:

 No, sorry, wont work.

  The pendent inputs are like IO for an applicati on. Id have to add a pendent module to
take advantage of it. I can probably add axis script calls to set an axis's mpg though. Im
looking into it.

Thx
Art
Logged
Richard Cullin
Full Member
***
Posts: 117


View Profile
« Reply #18 on: July 02, 2018, 04:53:26 AM »

I have set up a pic chip to emulate quadratur e re signals on the pokey encoder pins for x y axis , another pic sends in positioni ng data wirelessl y. its all on bread boards but looks good functiona lly . have not tried x1 x10 x100 pulse multiplyi ng yet or control of jogging speed by clocking quadratur e output pulse rate  

I think I can live with this solution , one pg can now control multiple axis' and its cordless .  a nice touch would be an axis set zero button on the pendant


* pendant.jpg (52.47 KB, 800x600 - viewed 18 times.)
« Last Edit: July 02, 2018, 05:11:38 AM by Richard Cullin » Logged
ArtF
Administrator
Hero Member
*****
Posts: 5019



View Profile
« Reply #19 on: July 02, 2018, 06:12:38 AM »

Good idea. Well done.

  The ratios may be harder to handle, they sound it anyway. At some point Ill get there.

Art
Logged
Richard Cullin
Full Member
***
Posts: 117


View Profile
« Reply #20 on: July 04, 2018, 02:09:16 AM »

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 quadratur e pulse rate  > 5khz .


sorry ignore this , the max x/y velocity was incorrect set to 100 on this test config
« Last Edit: July 04, 2018, 02:14:48 AM by Richard Cullin » Logged
ArtF
Administrator
Hero Member
*****
Posts: 5019



View Profile
« Reply #21 on: July 04, 2018, 06:17:50 AM »

Richard:

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

 Let us know how it all works out.

Art
Logged
Richard Cullin
Full Member
***
Posts: 117


View Profile
« Reply #22 on: July 09, 2018, 04:57:33 AM »

the remote end of the cordless auggie mpg


* 20180709_194347.jpg (86.37 KB, 600x800 - viewed 19 times.)

* 20180709_194625.jpg (145.65 KB, 800x600 - viewed 23 times.)

* 20180709_194646.jpg (149.98 KB, 800x600 - viewed 22 times.)
« Last Edit: July 09, 2018, 05:16:11 AM by Richard Cullin » Logged
ArtF
Administrator
Hero Member
*****
Posts: 5019



View Profile
« Reply #23 on: July 09, 2018, 05:42:16 AM »

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


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

Art


Logged
Richard Cullin
Full Member
***
Posts: 117


View Profile
« Reply #24 on: July 09, 2018, 06:41:28 AM »

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 configura ble logic cells. i'm using two of these set as d type flipflops to generate a quadratur e 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

Logged
Richard Cullin
Full Member
***
Posts: 117


View Profile
« Reply #25 on: July 09, 2018, 07:40:38 AM »

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.
crosshair s.  the crosshair s don't update when mpg jogging unless you repeatedl y move the mouse over the plot window
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5019



View Profile
« Reply #26 on: July 09, 2018, 08:57:46 AM »

Thx. Noted for update when Im in there.

Art

Logged
Richard Cullin
Full Member
***
Posts: 117


View Profile
« Reply #27 on: July 10, 2018, 03:00:19 AM »

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



* 20180710_174530.jpg (237.1 KB, 800x600 - viewed 22 times.)

* 20180710_174543.jpg (157.99 KB, 800x600 - viewed 21 times.)
Logged
Richard Cullin
Full Member
***
Posts: 117


View Profile
« Reply #28 on: July 16, 2018, 07:17:50 AM »

just tried it out on the k40  , it works just like a bought one !   
0.1 mm steps @ 900mm/m  is ideal for positioni ng 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.






Logged
Richard Cullin
Full Member
***
Posts: 117


View Profile
« Reply #29 on: July 19, 2018, 01:20:18 AM »

main reason behind this project was to make zeroing laser to the work easier  . unfortuna tely just noticed that the laser test fire button is inoperati ve 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
Logged
Pages: 1 [2] 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!