That's it. A Do It
Yourself, 3 axis computer
controlled drilling
and routing machine - "Drillcon
100".
The Future
There are a few things on my
list of things to do. The
top of my
list is speeding it up.
This is actually harder than it
sounds. The computer has
to generate the coil
energisation
patterns for every step to get
the motors to rotate.
That's easy
but there has to be a delay
between them or else it'll send
them so
fast that the motors won't turn
at all. So there's a
"usleep"
between the pattern
changes. The problem is
that a usleep causes
a program reschedule so that
even if you ask for the shortest
possible
delay, you always get a delay of
the scheduler time slice.
There
are a couple of nasty hacks I
could use to get round that but
I'd
prefer a more elegant
solution. I'm currently
looking at using
RTAI-Linux which has a
nano-scheduler with a much finer
time resolution
that a timer could be hooked
onto. I may or may not be
able to
use the existing Comedi driver
with that but even if I can't,
the code
to talk to a simple 82C55
interface card isn't difficult,
even if I
have to write a low level RTAI
kernel module. I've done
it before
talking to a PCI industry pack
carrier card so I'm sure I can
do it
again.
Once the speed is sorted out,
the sensors will be a lot more
useful and
I can mount them permanently and
incorporate their use into the
drillcon program.
I still have a real routing test
with copper clad board to do.
I'd like to be able to fit an
appropriate pen into the drill
chuck so
that I can use the machine as a
poor-man's silk screen
printer.
That's only really useful when I
use surface mount components
since I
can then draw the component
outlines on the copper side.
I also had the idea of using
this machine as a 3D mapper by
replacing
the drill bit with a switch
mechanism connected to the
drilling depth
circuitry. The idea then
would be to make the machine
perform a
scan of rows and columns of X, Y
coordinates and use the depth
switch
to tell it when the depth tip
had touched the object being
scanned. That would
eventually produce a grid of X,Y
& Z
coordinates that could be
imported into a 3D CAD
package. I had
an idea for the depth sensors
using a pin with a magnetised
end sitting
inside a tube. At the top
of the tube would be mounted a
Hall
effect sensor that could detect
when the magnetised pin end was
lifted
up next to it. For a
system relying on actual
contact, it ought
to be very low friction and very
low force.
There's also the possibility of
fitting a display screen of some
kind
to the drilling platform itself
- either connected to the video
port or
perhaps a simpler text-only
device controlled by a serial
port.
It's not a high priority though
since the drilling machine can
be
controlled remotely with SSH
from any machine on my local
network. The network is
how the Excellon control
programs get to
the box in the first place since
it has no floppy or CDROM drives
let
alone anything as modern as a
USB port. The drilling
machine
doesn't actually need a monitor,
mouse or keyboard at all.
Update
I have produced a new
version of the software (version
1.1) that
uses full steps for the Z axis
rather than half steps.
That makes
the drilling cycle twice as fast
and actually increases the
torque of
the stepper motor because two
coils are always
energised. I've
also implemented the drill bit
life code so that after a preset
number
of holes, the drilling program
stops and requests a new drill
bit.
Update 2
The computer became unstable
so
DrillconUSB
was born.
So finally...