mcmaster:pr0ncnc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mcmaster:pr0ncnc [2016/07/23 21:42] – mcmaster | mcmaster:pr0ncnc [2018/12/26 14:31] (current) – removed mcmaster | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | pr0ncnc is the standard platform that I use to build my CNC microscopes. | ||
- | |||
- | * uvscada for high level control | ||
- | * AmScope MU800 camera | ||
- | * Driver box | ||
- | * BBB running machinekit | ||
- | * BBB cape w/ optional CD4050 3.3V => 5V boosters | ||
- | * XYZ output standard | ||
- | * Connected over USB w/ static USB-ethernet bridge IP | ||
- | * Case: Hammond 1591-E | ||
- | * TODO: standard rubber feet | ||
- | * IMS MDrive stepper motors (such as MDrive17 or MDrive23) | ||
- | * Linear stages vary | ||
- | * Step/ | ||
- | * TODO: move to mini connectors | ||
- | * Where applicable, bipolar motors use Combicon 5 pin | ||
- | * Newport 39 mirror mount (tip tilt stage) | ||
- | |||
- | BBB bolt pattern | ||
- | |||
- | * WARNING: not square. | ||
- | * 0.000, 0.000 | ||
- | * 0.000, 1.900 | ||
- | * 2.600, 0.125 | ||
- | * 2.600, 1.775 | ||
- | * For 4-40 standoffs into case | ||
- | * Standoffs are CA glued in | ||
- | * Standoffs should not peek out other side | ||
- | * Consider putting Kapton on back in case they stick through slightly | ||
- | * Need tight fit. Drill size? | ||
- | |||
- | ====== Motor connector ====== | ||
- | |||
- | Although there is a de-facto DB25 standard for step/ | ||
- | |||
- | #29 drill for panel mount Combicon bolt holes using 6-32 SHCS | ||
- | |||
- | Cable colors | ||
- | |||
- | * Step+: red (left) | ||
- | * Step-: black | ||
- | * Dir+: blue | ||
- | * Dir-: white (right) | ||
- | |||
- | ====== BBB 5V cape ====== | ||
- | |||
- | Based on CRAMPS pinout | ||
- | |||
- | {{: | ||
- | |||
- | P8 | ||
- | |||
- | ^ Pin ^ CPU GPIO ^ CNC function ^ I/O ^ Color ^ Note | | ||
- | | 12 | gpio1[12] | X dir |O |White | | | ||
- | | 13 | gpio0[23] | X step |O |Blue | | | ||
- | | 14 | gpio0[26] | Y dir |O |White | | | ||
- | | 15 | gpio1[15] | Y step |O |Blue | | | ||
- | | 18 | gpio2[1] | Z dir |O |White | | | ||
- | | 19 | gpio0[22] | Z step |O |Blue | | | ||
- | |||
- | Colors | ||
- | |||
- | * Dir: white | ||
- | * Step: blue | ||
- | |||
- | I'd like to stick with 5 V CMOS style outputs since all my units can take those | ||
- | |||
- | * Traditional drivers are optocopulers and take resistor limited +/- 5V inputs | ||
- | * MDrive17, MDrive23 basically 5-24V open drain but can also operate CMOS | ||
- | |||
- | IMS MDrive probably don't take much current (TODO: verify) | ||
- | |||
- | My Compumotor M-Drive requires 20 mA min | ||
- | |||
- | * CD4050 can typically only source 3 mA or so | ||
- | * HEF4050 can do 20 mA max…borderline | ||
- | * Sparkfun BOB-12009 theoretically can do 220 mA | ||
- | |||
- | Originally I shied away from the BOB, but think I can simplify the soldering process to make it more attractive | ||
- | |||
- | ====== BBB pinout ====== | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | ====== Camera calibration ====== | ||
- | |||
- | Put white piece of paper under camera | ||
- | |||
- | Run manbal.py to get RGB values | ||
- | |||
- | Adjust V4L controls until balanced | ||
- | |||
- | Place V4L control values into microscope.json | ||
- | |||
- | * see example configs for specific usage | ||
- | |||
- | \\ | ||
mcmaster/pr0ncnc.1469310164.txt.gz · Last modified: 2016/07/23 21:42 by mcmaster