603,942 active members*
4,063 visitors online*
Register for free
Login
Results 1 to 20 of 113

Hybrid View

BillTodd PIC based DRO 08-11-2008, 09:42 PM
mc_n_g Could you post more metails... 08-12-2008, 11:00 PM
BillTodd What pulses are you trying to... 08-14-2008, 01:14 PM
mc_n_g I am trying to do a better... 08-14-2008, 09:01 PM
BillTodd I'm not actually reading... 08-14-2008, 10:57 PM
aadityadengle Hi Bill, Interesting Thread,... 01-25-2012, 07:51 PM
Marzan As to using the PICs with... 08-20-2008, 03:44 PM
BillTodd The usual method is to mark... 08-20-2008, 04:22 PM
Marzan The usual method is to mark... 08-20-2008, 04:58 PM
BillTodd I see. Can mach3 do that, if... 08-20-2008, 09:59 PM
Marzan I`m not really sure.I was... 08-21-2008, 03:34 PM
Robin Hewitt I'm brewing up much the same... 08-21-2008, 06:03 PM
BillTodd Interesting idea :)... 08-21-2008, 08:37 PM
Robin Hewitt The fast traverse is a... 08-21-2008, 10:10 PM
Marzan Hi Robin. What a brilliant... 08-22-2008, 12:50 AM
BillTodd "just as good.." No, I'm... 08-27-2008, 12:28 PM
Robin Hewitt If you overload a stepper to... 08-27-2008, 02:41 PM
BillTodd That would be the advantage... 08-27-2008, 06:28 PM
Robin Hewitt Not so much a recovery... 08-27-2008, 07:02 PM
Marzan Hmm..I think i found another... 09-04-2008, 03:47 PM
mrbasher Comparator Overview 07-08-2009, 06:34 PM
Robin Hewitt This was my circuit to... 07-08-2009, 06:59 PM
BillTodd Hi Jon, The scale's signal... 07-08-2009, 07:26 PM
mrbasher Thanks! 07-08-2009, 10:49 PM
mrbasher You know, I've been looking... 07-14-2009, 01:24 AM
BillTodd If you squint at my picture... 07-08-2009, 11:01 PM
mrbasher Oh my... I appologize. I... 07-08-2009, 11:22 PM
mrbasher ugh 07-10-2009, 08:10 AM
BillTodd PIC assembler is easy only... 07-10-2009, 12:20 PM
mrbasher I can place assembly directly... 07-10-2009, 04:18 PM
BillTodd If you want to just... 07-10-2009, 05:08 PM
mrbasher Actually that would be really... 07-12-2009, 05:33 PM
BillTodd Like most things, you have to... 07-12-2009, 07:32 PM
mrbasher YAY! 07-13-2009, 02:55 AM
mrbasher Quick update... 07-13-2009, 03:07 AM
BillTodd You're a fast learner :) ... 07-13-2009, 12:20 PM
BillTodd I was thinking of doing the... 07-14-2009, 02:26 PM
mrbasher Awesome, thanks for the code.... 07-14-2009, 08:41 PM
BillTodd How's it going? 08-13-2009, 10:04 PM
mrbasher still working 09-15-2009, 04:17 PM
KiloOne Hello Bill, What a great... 02-02-2010, 03:34 AM
BillTodd Hi Dale, My program is a... 02-03-2010, 02:21 PM
BillTodd Great. Keep us informed on... 02-04-2010, 04:03 PM
KiloOne Bill, I am stuck because I... 02-05-2010, 05:48 PM
george4657 Do a google code search for... 02-05-2010, 07:34 PM
KiloOne Thanks George, never seen... 02-05-2010, 07:46 PM
BillTodd If memory serves, the ByVal... 02-05-2010, 07:54 PM
KiloOne Bill, Didn't work without... 02-05-2010, 08:04 PM
BillTodd :) Snap ! I tried VB.net... 02-05-2010, 08:18 PM
KiloOne Bill, Well that was... 02-06-2010, 04:40 AM
KiloOne Bill, Well I now am able... 02-07-2010, 12:50 AM
BillTodd Hi Dale, your progress is... 02-07-2010, 02:59 AM
KiloOne Yep, I wish I had a 3V signal... 02-07-2010, 03:39 AM
BillTodd That's interesting. I have... 02-07-2010, 02:32 PM
KiloOne Probably, but if I just had... 02-07-2010, 04:02 PM
BillTodd The glitches look like spikes... 02-07-2010, 09:50 PM
schilpr Hey guys, this stuff is very... 08-19-2010, 02:29 PM
KiloOne Rob, I was sooo close to... 08-19-2010, 04:10 PM
schilpr I did find the connectors for... 08-19-2010, 04:27 PM
KiloOne I believe the connectors you... 08-19-2010, 04:39 PM
schilpr I'm attaching a picture of... 08-19-2010, 04:51 PM
KiloOne I only have a 1 or 2 scale... 08-19-2010, 05:08 PM
BillTodd Might be worth investigating... 08-20-2010, 07:34 PM
schilpr I like that, may be a little... 08-21-2010, 06:00 AM
RomanLini I think they already have... 08-21-2010, 09:05 PM
BillTodd Erm... it is MY page :) I... 08-23-2010, 12:00 AM
RomanLini Whoops! :embarassed: You... 08-23-2010, 03:24 AM
BillTodd Possibly. Although, I... 08-23-2010, 10:54 AM
schilpr Finally got my scales in... 09-02-2010, 02:00 AM
jhovel Any progress on the PC DRO... 01-13-2011, 12:25 PM
BillTodd If your pen computer has a... 01-13-2011, 07:41 PM
jhovel :cheers:Many thanks Bill,... 01-14-2011, 03:13 PM
BillTodd I did, but it has no psu... 01-14-2011, 09:25 PM
jhovel Thanks Bill! I'm doing some... 01-15-2011, 08:30 AM
BillTodd If you succeed, be sure to... 01-15-2011, 07:34 PM
jhovel OK. Haven't done anything... 01-16-2011, 01:39 PM
BillTodd Interesting :) that hardware... 06-26-2011, 06:31 PM
jhovel Hi Bill. Thanks for the... 06-27-2011, 11:53 AM
BillTodd Please do :) 06-27-2011, 06:31 PM
sswitaj Has anybody mentioned the... 07-21-2011, 06:25 AM
BillTodd That's a very useful chip :) ... 07-22-2011, 12:08 PM
BillTodd I'm not sure which image you... 01-25-2012, 10:36 PM
aadityadengle Hi Bill, i think i have... 01-26-2012, 12:29 PM
BillTodd Do the magnetic scales have a... 01-26-2012, 10:01 PM
aadityadengle Yes!!!! Phase A & B with TTL... 02-05-2012, 08:53 AM
aadityadengle tried to connect with... 02-05-2012, 02:06 PM
BillTodd No Sorry :( My PIC code... 02-06-2012, 01:14 PM
  1. #1
    Join Date
    Aug 2008
    Posts
    573
    but it would be nice if it could correct itself.
    I see. Can mach3 do that, if it has encoder/count inputs?

    What sort of input does Mach3 need?

  2. #2
    Join Date
    Jun 2007
    Posts
    20
    Quote Originally Posted by BillTodd View Post
    I see. Can mach3 do that, if it has encoder/count inputs?

    What sort of input does Mach3 need?
    I`m not really sure.I was thinking along the lines of another pic or such countin pulses and comparing the result with an encoder (sort of like a virtual closed loop system) and if it misses steps using one of the inputs to signal a positioning error

    Marz

  3. #3
    Join Date
    Mar 2007
    Posts
    534
    I'm brewing up much the same but with a home made computer board reading scales and stepping motors.

    The step timer interrupt compares "where I am" with "where I want to be" and steps accordingly.

    The "where I am" can change at any moment should a report be received from any of the 3 scale interrupts. (I read them with hardware because any lag will only serve to confuse it).

    At the end of an x,y,z stepping sequence it works out the error on all 3 axes. Should any be outside tolerance it doesn't update the "where I want to be" to a new position. This means I get remedial steps to put it back on course.

    Questions are, wil it do more remedial steps than moving steps, and, how tight can I put the tolerance

    I only have to mount the scales and I can find out

  4. #4
    Join Date
    Aug 2008
    Posts
    573
    Quote Originally Posted by Robin Hewitt View Post
    I'm brewing up much the same but with a home made computer board reading scales and stepping motors.

    The step timer interrupt compares "where I am" with "where I want to be" and steps accordingly.

    The "where I am" can change at any moment should a report be received from any of the 3 scale interrupts. (I read them with hardware because any lag will only serve to confuse it).

    At the end of an x,y,z stepping sequence it works out the error on all 3 axes. Should any be outside tolerance it doesn't update the "where I want to be" to a new position. This means I get remedial steps to put it back on course.

    Questions are, wil it do more remedial steps than moving steps, and, how tight can I put the tolerance

    I only have to mount the scales and I can find out
    Interesting idea Although,the missed steps may not be able to be corrected until the cause has been removed.

    i.e. if it drops steps because of excess speed v load, will there be time to correct them before the next motion without increasing the frequency of the pulses thus exacerbating the speed v load problem?

    (Well worth trying though )

  5. #5
    Join Date
    Mar 2007
    Posts
    534
    The fast traverse is a completely separate interrupt handler, precise placement only happens at speeds where the motors can handle an instantaneous reversal.

    There is more work to do. When it encounters back lash it will tend to trail by the tolerance and I will need extra remedial steps. OTOH I'm not going to try to fix anything until it has had a chance to tell me what needs fixing.

    I'm writing the code and everything runs in SRAM. I can recompile and upload all new in a matter of seconds. I am in control

  6. #6
    Join Date
    Jun 2007
    Posts
    20
    Hi Robin. What a brilliant idea. When you get it right you will have solved one of the major issues with using steppers. i would be interested in the outcome.I had another thought that if i had the knowhow would be worth pursuing. What if you had a PIC counting pulses sent my Mach 3 and then the PIC moved the stepper motor using the encoder to go to the correct position? Its probably complicated, and you would get some lag,but i would gladly put up with lag for accuracy.

  7. #7
    Join Date
    Aug 2008
    Posts
    573
    What if you had a PIC counting pulses sent my Mach 3 and then the PIC moved the stepper motor using the encoder to go to the correct position?
    Hmmm , That wouldn't be too difficult.

    I use a PIC (16F84 and an L6219) to drive the Z motor on my engraver, it'll happily keep up with the step inputs from the controller using interrupts. It even has has a couple of unused timer/counters that could be used to track an encoder. Might be worth a look

    [I still wonder, if you're going to add all this complexity you might be better of using proper servo-motors]

  8. #8
    Join Date
    Jul 2011
    Posts
    0
    tried the circuit with verniers too
    but no data

Similar Threads

  1. Is water based
    By cncadmin in forum Safety Zone
    Replies: 45
    Last Post: 10-19-2022, 05:10 PM
  2. Need help with CNC UK based
    By ciscoe in forum European Club House
    Replies: 1
    Last Post: 07-21-2008, 12:03 PM
  3. Pic based Oscilloscope
    By thegimpster in forum PIC Programing / Design
    Replies: 0
    Last Post: 01-25-2008, 07:48 PM
  4. PC Based Controls
    By zimbricd in forum News Announcements
    Replies: 0
    Last Post: 12-12-2007, 09:38 PM
  5. dos based cnc software
    By flyingmike in forum Computers / Desktops / Networking
    Replies: 14
    Last Post: 11-25-2005, 08:29 PM

Posting Permissions

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