
This zip file contains assorted software and design documents relating
to the pcb router described at http://cryolite.ath.cx/pcb 

They were not originally intended for public consumption. They are
therefore not in a particularly polished state, but some people asked
for them so I decided to make them available.

controller.sch  - schematic and layout for the good (microcontroller-based)
controller.brd    controller; EAGLE (they have a free version) format

pcbrout.asm     - PIC source for the good controller; assembles with MPASM

runscript.cpp   - routines for plotting an eagle script (.scr, like their
mill.h            outlines.ulp outputs); calls functions like mill_translate
                  or mill_{up,down} which much be provided in another module

wingui.cpp      - compile this with runscript.cpp to get a previewer (draws the
                  outline of the board on screen); uses Win32 (I used MSVC++)
winrouter.exe   - wingui.cpp + runscript.cpp

serial.cpp      - compile this with runscript.cpp to get a program to control
controller.h      the actual milling machine with the good controller

bitbanger.c     - compile this with runscript.cpp to get a program to control
                  the actual milling machine by bit-banging the stepping
                  waveforms into the parallel port (runs under Linux, compiles
                  with gcc)

test.scr        - a sample board (meaningless; a test pattern), ready to 
test.drd          preview

The workflow would be as follows:

    - draw schematic foo.sch in EAGLE
    - draw layout foo.brd in EAGLE
    - run outlines.ulp to generate foo.scr
    - create an Excellon file foo.drd (CAM jobs)
    - run winrouter foo.scr and make sure it looks right
    - with the good controller:
        - run serial.exe foo.scr
    - with the bit-banged controller
        - run ./bitbanger foo.scr

This software is in the public domain. Do not expect it to work out of the
box, but I will probably answer questions eventually.

Jonathan Westhues
jwesthue@uwaterloo.ca

Apr 2 2003, Waterloo ON
