My DIY PCB Drill Machine

Show off your projects to others!
Post Reply
Mashadow
Posts: 2
Joined: Mon Feb 16, 2015 12:11 am

My DIY PCB Drill Machine

Post by Mashadow » Mon Feb 16, 2015 12:54 am

Hi, I have been redesigning a cnc router which was built by my friend for use in his workshop. 3 months ago; he tried to solder a wire to main controller board but caused a short-circuit and burnt the entire system accidentally. He was about to cry when I said I could help with getting it to work again. I choose chipkit uno32 to control the machine and in just mere 2 weeks of coding the machine is ready to serve..

We also added some new features such as a "joystick" control, automatic Z axis to table offset, Automatic Tool Changing (That took 1 month of numereus try-n-fails) and plan to add Automatic PCB Position And Angle Detection feature using an HD-Webcam =)

Today we tried to drill a pcb and results were really impressive for us. The long story short; WE LOVE CHIPKIT, DIGILENT AND THE DEVELOPERS BEHIND IT.

BTW: Because of the good results, we also want to build a CNC PICK & PLACE machine to automatically place SMT components to the pcbs.

PS: Brian's video of showing 3 or 4 big stepper motors controlled by chipkit uno32 was a big inspiration for me, so Thank You.

I will add more photos and videos after I find somewhere to upload them.
For more info:
http://www.daflan.com /* will be updated soon */
http://www.karaelektronik.com
http://www.facebook.com/dafworks

The video is here
https://www.youtube.com/watch?v=MMbL3vZLJwQ
Attachments
control-board.png
controlling board uno 32
control-board.png (613.61 KiB) Viewed 950 times
IMG_0015.png
After drilling process
IMG_0015.png (953.52 KiB) Viewed 950 times

EmbeddedMan
Posts: 602
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

Re: My DIY PCB Drill Machine

Post by EmbeddedMan » Mon Feb 16, 2015 5:37 pm

That's AWESOME! Nice job - glad you're enjoying chipKIT!

*Brian

User avatar
Jacob Christ
Posts: 723
Joined: Sat May 28, 2011 6:34 am
Location: Southern California
Contact:

Re: My DIY PCB Drill Machine

Post by Jacob Christ » Mon Feb 16, 2015 6:27 pm

What library are you using for stepper control? Can you send G-Code to the machine?

Jacob
PONTECH Quick240 an industrial form factor platform for chipKIT and Arduino users.

Mashadow
Posts: 2
Joined: Mon Feb 16, 2015 12:11 am

Re: My DIY PCB Drill Machine

Post by Mashadow » Tue Feb 17, 2015 12:53 am

Thanks Brian and Jacob, I am a big fan of you and your work guys.

@Jacob; I first tried using AccelStepper library with chipkit but saw that it has somewhat quirky acceleration and deceleration algorithms and they were not precise "steps". AccelStepper library is also working asyncronously and that causes 2 or more stepper motors to not know each other's position.

So i reinvented the wheel and wrote my own routines which i call "linear interpolated motion control for steppers. I also implemented Bresenham Line Algorithm for unlimited amount of stepper motors to move in interpolated motion.

Currently I am trying to write some of the core mechanism to run on a separate timer thus allowing more performance. I will also implement circle, arc and some weird shape motion capability to my library.

All of this is tested and done on chipkit, with 1/25 microstep ratio (metric) runs flawlessly with around 100uS~ intervals of pulses.

My intention is to make my library open source for arduino and chipkit community when I feel its usable by anyone

Btw: Yes the machine works with G-codes, NC files and excellon files currently. Apart from that, I have implemented my own op-code like mechanism to turn of ventiles/valves for auto tool changing system etc. All motor speeds, acceleration&deceleration mechanism can be modified over the software on the pc, and then saved to chipkit eeprom. On chipkit we also have a rf receiver to receive commands from an handheld device to easily handle the machine.

Thank you

Post Reply