document the chosen Hammond box
[web/gag.com] / homeshop / cncfpga / index.mdwn
1 # CNC FPGA
2
3 This is the board I designed to interface a PC running Linux and 
4 [EMC2](http://linuxcnc.org) with the 
5 [Industrial Hobbies](http://www.ihcnc.com/) milling machine 
6 I converted to servo-based CNC operation.  It is compatible with the 
7 [Pluto-P](http://www.knjn.com/FPGA-Parallel.html) 
8 [servo driver](http://linuxcnc.org/docs/html/drivers_pluto_p.html) in EMC2.
9
10 These are photos of the first prototype raw boards: 
11
12 <a href="v0.1/cncfpga-top.jpg"> <img src="v0.1/cncfpga-top-thumb.jpg"></a>
13 <a href="v0.1/cncfpga-bottom.jpg"> <img src="v0.1/cncfpga-bottom-thumb.jpg"></a>
14
15 And here's a photo of one of them loaded:
16
17 <a href="v0.1/cncfpga-proto.jpg"> <img src="v0.1/cncfpga-proto-thumb.jpg"></a>
18
19 ## Features ##
20
21 ### User View ###
22
23 * 25-pin male D-shell connector in parallel with 26-pin box header for 
24   connection to PC parallel port
25 * 4 15-pin female D-shell connectors for servo channels
26 * 9-pin female D-shell connector for misc signals
27 * barrel connector for 9-12 volt DC power input
28 * dual-color LED, green when PC heartbeat present, red when not
29 * green LEDs on each of the three power supply rails
30 * RC low-pass filtering on all input pins
31 * 5.1 x 2.5 inch 4-layer board, fits in Hammond 1590P1 die-cast aluminum box
32
33 ### Developer View ###
34
35 * Hardware Features
36         * [Altera](http://altera.com) ACEX EP1K10TC100 FPGA
37         * [Atmel ATtiny10](http://www.atmel.com/dyn/products/product_card.asp?part_id=4558) for heartbeat detector
38 * Tools Used
39         * [gEDA](http://www.gpleda.org/) for schematic capture and PCB layout
40 * Licenses
41         * The hardware is licensed under the [TAPR](http://www.tapr.org) [Open Hardware License](http://www.tapr.org/ohl.html)
42
43 ## Artifacts ##
44
45 The design files can be found on [git.gag.com](http://git.gag.com) in the 
46 project [hw/cncfpga](http://git.gag.com/?p=hw/cncfpga;a=summary).  
47
48 ## Issues ##
49
50 Notes about things learned or observed during debugging:
51
52 * The RC networks for the input pins are closer to the stacked 15-pin 
53   connectors than I'm really comfortable with.  Nothing is making contact or
54   shorting, but I'd be tempted to increase the spacing on a future board cut.
55
56 ## Future Plans ##
57
58 As of late December 2011, the first prototype v0.1 board has been loaded and
59 is being debugged and tested.  If the board "works for me", then I'm likely 
60 to make enough of these to sell to others who are interested.