Shop OBEX P1 Docs P2 Docs Learn Events
Community supported PCB milling machine - Page 17 — Parallax Forums

Community supported PCB milling machine

11314151719

Comments

  • BeanBean Posts: 8,129
    edited 2006-04-28 13:07
    Hey guys I may be working on this project soon. I just got a LPKF 92s from ebay. It doesn't have any software and I have been told that LPKF will NOT sell the software unless you buy a machine from them. So I may have to make my own.

    From the manual it looks like the machine understands a form of HP-GL. So I will be working on translating DXF files to HP-GL that is compatible with this machine.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap 4-digit LED display with driver IC·www.hc4led.com


    COMING SOON "SD DATA LOGGER" www.sddatalogger.com

    "I reject your reality, and substitute my own." Mythbusters
    ·
  • NewzedNewzed Posts: 2,503
    edited 2006-04-28 14:25
    Bean, take a look:

    http://www.lpkfusa.com/Software/bmaster.htm

    This site talks about software for LPKF.

    Sid
  • NewzedNewzed Posts: 2,503
    edited 2006-04-28 15:13
    Bean, will your mill run on gcodes?· I have a converter that converts .dxf files to gcode, so then I wrote a program that converts gcodes to a DATA format that my Stamp can use.

    Unfortunately, I had to quit using the .dxf iles that Expresspcb generates.· I found that the sequence of operations in the .dxf files is not in the same order as they were originally drawn, so I had to go back to my old method of making DATA files that my Stamp can use to run my mill.

    What is the X and Y max travel on your mill?

    Sid
  • kelvin jameskelvin james Posts: 531
    edited 2006-04-30 05:21
    Well, gotta make this the longest and most viewed subject ever.

    Bean

    Since i was just sitting around and needed to a good google search for some entertainment, this is my view. You might have a handfull to deal with here, but nothing that cannot be worked through. Hpgl is an old plotter language, maybe still used today, but does not have a lot of support now through cad and cnc applications.
    It seemed to be used mostly with engravers with vector profiles from drawing programs such as corel draw and such. I looked at the manual for the machine, and it operates on ASCII commands, much different than the standard gcode found today.
    Basically, it is compiling printer commands into usable machine code. From what i have seen, the plotter software is a fairly crude form of cad, like manual bitmap drawing of lines and such, not like a pcb cad editor that can be found today. Yes you can still output from a pcb editor to dxf and convert to hpgl with the proper software to run the machine, but the machine control through hpgl may be a challenge. I would look at changing the software drivers of the motor controllers to a gcode interface, but that is only my opinion. If you look around for "hpgl cnc", you will find some software out there. I found some hpgl assembly code, if you are interested, i will upload it.

    kelvin
  • PLJackPLJack Posts: 398
    edited 2006-05-01 01:46
    Bean (Hitt Consulting) said...

    From the manual it looks like the machine understands a form of HP-GL. So I will be working on translating DXF files to HP-GL that is compatible with this machine.
    Bean.

    Now that sounds like fun.
    Let me know if I can help.

    How about some pictures of the machine.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - PLJack - - -



    Perfection in design is not achieved when there is nothing left to add.
    It is achieved when there is nothing left to take away.
  • BeanBean Posts: 8,129
    edited 2006-05-01 02:18
    PLJack said...

    How about some pictures of the machine.
    I haven't received it yet, but here is the ebay auction...
    ·http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=7613620792&rd=1&sspagename=STRK%3AMEWN%3AIT&rd=1

    I've been told the table will handle a 12"x18" board.

    Bean.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap 4-digit LED display with driver IC·www.hc4led.com


    COMING SOON "SD DATA LOGGER" www.sddatalogger.com

    "I reject your reality, and substitute my own." Mythbusters
    ·
  • NewzedNewzed Posts: 2,503
    edited 2006-05-01 11:54
    Bean, the item has been removed by Ebay.· Please post a picture when you get a chance.

    Sid
  • BeanBean Posts: 8,129
    edited 2006-05-01 14:50
    Here are the pictures from the ebay auction...

    Bean.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap 4-digit LED display with driver IC·www.hc4led.com


    COMING SOON "SD DATA LOGGER" www.sddatalogger.com

    "I reject your reality, and substitute my own." Mythbusters
    500 x 375 - 41K
    500 x 375 - 40K
  • NewzedNewzed Posts: 2,503
    edited 2006-05-01 16:09
    Does the spindle move or does the table move?

    Sid
  • NewzedNewzed Posts: 2,503
    edited 2006-05-01 16:37
    Bean, I don't know what kind of cutters you plan to use, but Drill Bit City has a new .0158 router.· Just received some, tried them out and they do a beautiful job.

    Here is the link:

    http://www.store.yahoo.com/drillcity/40mm0158rtr.html

    Sid
  • StarManStarMan Posts: 306
    edited 2006-05-01 16:42
    It looks to me from the ebay ad that it's a laser cutter.· Too cool.·· Who needs cutting tools?
  • BeanBean Posts: 8,129
    edited 2006-05-03 01:46
    Chris,
    I don't know why they say "Laser" ? It has a 20K RPM spindle... No lasers... Darn...
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap 4-digit LED display with driver IC·www.hc4led.com


    COMING SOON "SD DATA LOGGER" www.sddatalogger.com

    "I reject your reality, and substitute my own." Mythbusters
    ·
  • StarManStarMan Posts: 306
    edited 2006-05-03 05:29
    Well, I'm still envious.· Can't wait to see some boards from your new rig.
  • BeanBean Posts: 8,129
    edited 2006-05-09 02:16
    Well I got the "LPKF 92S II" today. She works like a charm. Now I need to get some bits.

    The grey tube is for the liquid cooling for the laser...Just kidding it's a vacuum hose.

    These machines are very good at making single sided boards. Double sided you have to find a way to connect the vias.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap 4-digit LED display with driver IC·www.hc4led.com


    COMING SOON "SD DATA LOGGER" www.sddatalogger.com

    "I reject your reality, and substitute my own." Mythbusters


    Post Edited (Bean (Hitt Consulting)) : 5/9/2006 2:29:33 AM GMT
    1152 x 864 - 306K
    1152 x 864 - 260K
  • bennettdanbennettdan Posts: 614
    edited 2006-05-25 01:17
    Guys,
    Has anyone thought of what software to use to make teh steps from the PC to the mill?
  • bennettdanbennettdan Posts: 614
    edited 2006-05-25 23:57
    Sid
    I am interested in the software you use to convert pics into something the Stamp can use to step the motors.
  • NewzedNewzed Posts: 2,503
    edited 2006-05-26 00:12
    OK, Dan.· I'll put some stuff together and post some info for you in the morning.· Are you familiar with Excel?

    Sid
  • NewzedNewzed Posts: 2,503
    edited 2006-05-26 14:09
    OK, Dan, here is the system I use.· It may appear a bit cumberson but it is really quite efficient.

    First, I use ACE converter to convert my .dxf file to a Gcode .txt file, and then import it into Excel as a .txt document.· Since I'm not interested in Z parameters, I delete all the rows containing a Z instruction.· See MillDemo1.

    After that is done, I copy and paste the data into the left side of a special Excel template I created.· The right side of the template converts the Gcode into a format that my Stamp can use.· See MillDemo2.· Note that this is a .txt file.

    I then copy and paste all the data on the right side into a Stamp program I wrote named GCode conversion.· The data from Excel is pasted into the Stamp as a DATA list.· I have attached a copy of the Stamp conversion program which contains the data from the files above.· See MillDemo3.

    When I run the Stamp conversion program the debug screen generates a display that looks like this:

    DATA WORD 0,"L"
    DATA WORD 0,"I"
    DATA WORD 1600,"L"
    DATA WORD 0,"I"
    DATA WORD 1600,"L"
    DATA WORD 400,"I"
    DATA WORD 1600,"L"
    DATA WORD 800,"I"
    DATA WORD 750,"L"
    DATA WORD 800,"I"
    DATA WORD 750,"L"
    DATA WORD 625,"I"
    DATA WORD 750,"L"
    DATA WORD 600,"I"
    DATA WORD 450,"L"
    DATA WORD 600,"I"
    DATA WORD 350,"L"
    DATA WORD 650,"I"
    DATA WORD 250,"L"
    DATA WORD 650,"I"
    DATA WORD 0,"L"
    DATA WORD 650,"I"
    DATA WORD 0,"L"
    DATA WORD 800,"I"
    DATA WORD 0,"L"
    DATA WORD 0,"I"

    The converted program has changed X to "L(eft)" and Y to "I(n)".· This DATA list is now in a format I can use in my mill program, so I copy and paste the debug screen display into the DATA list of my mill program, which is run by a BS2E.· There are onkly two directions - L(eft) and I(n).· The mill program is written so that it reads one DATA line and executes that instruction.· For example, let's say it is reading a DATA line with an "L" instruction.· The numbers in each DATA line represent the coordinate the mill must travel to, not the amount of travel required.· The program looks at the number.· If it is greater than posx, which is the current X coordinate, then it travels left.· If it is less than posx, then it travels right.· If the number is the same as posx, then it simply goes back and gets another instruction.· Same thing for the Y axis.

    The mill program is quite large, 5 banks, so I have not attached it.· If you want to see it, I can attach it in another post.

    I hope I explained everything so you can understand it.

    Sid
  • bennettdanbennettdan Posts: 614
    edited 2006-05-26 19:41
    Thanks Sid
    I would like the rest of the code I am going to try this out for myself.
  • NewzedNewzed Posts: 2,503
    edited 2006-05-26 21:00
    OK, Dan.· Here is the entire program to etch one of my AppMods.· I have attached each of the 5 banks separately so that you easily take a look at each one.· All 5 need to be loaded into the same directory so Bank 0 can find them.· Bank 4 contains the DATA list, which is called by Bank 3.· I use the same two banks for each etching project - I just change the names.· I'm sure you will have questions so rather than post· a lot of info you may not need I'll just wait for your questions.

    When you get all the files downloaded you can run the program without it being attached to a mill.· The debug screen will tell you what is going on.· I am using an IB463 controller on the Y axis and an old Gecko microstep controller on the X axis.· That is why the */ operators are different in the goleft/goright and the goin/goout routines.

    Sid
  • NewzedNewzed Posts: 2,503
    edited 2006-06-11 20:54
    My little SuperMill continues to surprise me.· Today I made a board with a DB9 connector, which I had never done before.· Here are the odd-ball coordinates for the DB9 pins:

    attachment.php?attachmentid=73579

    I punched those coordinates into the keyboard and drilled each hole.· Deburred and trimmed the board and the DB9 dropped right into the .035 holes.· This is a good little mill. yeah.gif

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Do you have a Stamp Tester yet?
    http://hometown.aol.com/newzed/index.html

    ·
    141 x 261 - 3K
  • ktekxktekx Posts: 71
    edited 2006-06-12 07:00
    Hi, Newzed, I've recently started building a stepper driver for a vinyl cutting plotter that will be interfaced to a PC by serial and I am nearly done. I am thinking of driving the motors simultaneously instead of alternating between the X and Y motors. My idea is to drive the four phase steppers using one of the 8 bit register to drive the two sets of 4 coils (8 coils total, each controlled by a bit of the output register). Basically, it will use a lookup table that has all the step sequences, what is the implications of using such a method? I think it's a good idea, but I'm new to building CNC drivers and don't understand why it wouldnt otherwise be built this way, it sounds like it would make things easier (am I missing something??). The motors would be driven simultaneously since all 8 bits are loaded at the same time. Think parallel.
  • NewzedNewzed Posts: 2,503
    edited 2006-06-12 12:28
    I thought about doing the same thing but I quickly decided against it.· Consider this - driving two steppers always results in a diagonal.· If the X and Y travel are the same you will get a 45 degree diagonal.· What if they are different?· Suppose X is 100 and Y is 200 - you will cut a diagonal until X is satisfied, then Y will continue in a straight line.· Sort of a dogleg.· In my case I could cut across existing traces.· It might work if you were drilling holes, where the cutter is always above the board, then descends when you reach the desired coordinate.· Having a separate program just for drilling holes wasn't worth it.· On the rare occasions where I have to cut a diagonal, I just pulse the steppers alternately.· I have previously posted programs on this thread that will cut a 5-pointed star and a circle.· Can't remember what page they are on but if you search back you will find them.

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Do you have a Stamp Tester yet?
    http://hometown.aol.com/newzed/index.html

    ·
  • ktekxktekx Posts: 71
    edited 2006-06-12 16:17
    Newzed, it won't move diagonal if you hold the motor not moving still, like for example, you are moving the X motor, you would drive it with 0101 and hold the Y motor 1111, the 8 bit sequence for that step would look like 01011111. The next step would be 10101111 where the Y is continued to be held. I hope I'm making sense to you. The only thing I see is that it would take a large table since I need sequences for both Xmove-YHeld, Xheld-Ymove, Xmove-Ymove, and Xheld-Yheld and need placeholders as to where the motor currently is in the driving sequence to reverse in the opposite direction.
  • ktekxktekx Posts: 71
    edited 2006-06-12 16:30
    Ah, your motor driver are controlled by pulses right? I was wondering how you were controlling it with pulses but I came to the realization.
  • NewzedNewzed Posts: 2,503
    edited 2006-06-12 16:35
    Each one of my three steppers - X, Y and Z - is driven by a controller.· I just change the direction signal to the controller.

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Do you have a Stamp Tester yet?
    http://hometown.aol.com/newzed/index.html

    ·
  • ktekxktekx Posts: 71
    edited 2006-06-12 22:13
    Newzed, apparently you've been the most successful one on here, by any chance would you mind giving me a pseudo code outline of how your code works? I've spent some time trying to follow your code but I guess the multiple banks and minimal comments are confusing me (or maybe I'm just an easily confused guy tongue.gif ).

    Can you help me understand how you are able to draw diagonal lines without zigzags since you are alternating between X and Y motors?
  • NewzedNewzed Posts: 2,503
    edited 2006-06-12 22:26
    Ktekx, I'm about ready to chill out for the evening.· Tomorrow morning, as soon as I finish grocery shopping, I will try to tell you how the code works.· In the meantime, here is a copy of the banks from my last run.· They will be the basis for my discussion>

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Do you have a Stamp Tester yet?
    http://hometown.aol.com/newzed/index.html

  • ktekxktekx Posts: 71
    edited 2006-06-12 22:29
    No problem, thanks for the quick reply, I'll keep·reviewing the code to get a better idea of what you are doing when I get off work, thanks.
  • NewzedNewzed Posts: 2,503
    edited 2006-06-12 23:16
    Ktekx, do you have Excel?

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Do you have a Stamp Tester yet?
    http://hometown.aol.com/newzed/index.html

    ·
Sign In or Register to comment.