Shop OBEX P1 Docs P2 Docs Learn Events
mini cnc machine — Parallax Forums

mini cnc machine

markistuffmarkistuff Posts: 20
edited 2009-04-30 11:22 in General Discussion
Hi all,
It's been a while since ive posted.· my sx28·fuel injection system is still running great. Almost 2 years and counting!· Ive done some other projects along the way, but ill share some info on one I’m currently building for someone.
·
Its a mini cnc machine for winding custom·guitar pickups.· It·will control·one axis and·one spindle, rather simple.·But its·lot more work then I originally anticipated.· There are basically·3 parts to it.·
·
1. A computer is used to write the simple scripting language for winding pickups (like a high level G/M-code), including random factors, loop functions, increment decrement variables, speed control, offsets, coil shaping,·etc.· A C++ program then 'compiles' it into 'machine language' that the sx48 uses to calculate where servo is to be positioned. And that same program·transfers the files to the cnc machine via usb.·
·
2. The actual cnc machine is standalone, so it has a mini operating system.· Essentially a keypad, screen and memory, rather simple but it offers functions to select what program to run, delete, check free space, defrag the memory and format it.· The memory is just 64KB but that is plenty because all my opcodes/operands are 2 bytes or less.
·
3. A custom high speed servo is used to physically position the wire on the pickup.· That includes all the various optical sensors, and feed back systems.· Its designed to have 0.001in resolution over a 2 inch span.· When the pickup is being wound at 700rpm it should be able to move from side to the other side each half revolution.· That’s the design specs, it probably won’t be that good and in reality shouldn’t ever have to do that.·
·
So far I have almost finished the OS.· The only thing left to do is finalize the interpreter. I wrote the code for it but haven’t tested it for correct functionality.·· I temporally setup the servo, but need to finalize the mounting of the optical sensors if I want it to be at all accurate.· So the main thing left to do is get all the hardware mounted so I can calibrate the servo, and make sure the interpreter controls the servo as expected.· I’m not sure when that is going to happen.· Someone else is making the chassis for it.· Ill post pics when its done.· Right now it’s just a mess of wires across several breadboards.
·
btw, SX/B2.0 has some nice feature, keep up the good work!

Comments

  • BeanBean Posts: 8,129
    edited 2009-04-30 11:22
    Sounds like a very interesting project.
    I'd love to see some pictures...

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There is a fine line between arrogance and confidence. Make sure you don't cross it...

    ·
Sign In or Register to comment.