qertallthings.blogg.se

Drill press depth gauge
Drill press depth gauge










The Wixey Drill Press Depth Gauge mounts to any drill press.

Drill press depth gauge software#

Drill Depth Display // Based on a concept by Thomas Angielsky () // // // V1: jlb // - Wrote software for a ATtiny1614, 4-Digit 7 Segment Display and OH49E ratiometric hall sensor // //#define ALLOW_NEGATIVES //Uncomment to display negative numbers #ifdef _AVR_ #include #endif /*- ATTiny1614 Pins mapped to Ardunio Pins +-+ VCC + 1 14 + GND (SS) 0 PA4 + 2 13 + PA3 10 (SCK) 1 PA5 + 3 12 + PA2 9 (MISO) (DAC) 2 PA6 + 4 11 + PA1 8 (MOSI) 3 PA7 + 5 10 + PA0 11 (UPDI) (RXD) 4 PB3 + 6 9 + PB0 7 (SCL) (TXD) 5 PB2 + 7 8 + PB1 6 (SDA) +-+ PA0 to PA7 can be analog or digital PWM on D0, D1, D6, D7, D10 BOARD: ATtiny1614/1604/814/804/414/404/214/204 Chip: ATtiny1614 Clock Speed: 20MHz Programmer: jtag2updi (megaTin圜ore) Pin mapping: -*/ //Pins #define OH49E 0 //(PA4) #define SWITCH 1 //(PA5) #define SEG_C 2 //(PA6) #define SEG_G_4 3 //(PA7) #define SEG_E 4 //(PB3) #define SEG_D 5 //(PB2) #define SEG_F 6 //(PB1) #define SEG_A_2 7 //(PB0) #define SEG_B 8 //(PA1) #define SEG_G_3 9 //(PA2) #define SEG_A_1 10 //(PA3) #define PA0_bm PIN0_bm #define PA1_bm PIN1_bm #define PA2_bm PIN2_bm #define PA3_bm PIN3_bm #define PA4_bm PIN4_bm #define PA5_bm PIN5_bm #define PA6_bm PIN6_bm #define PA7_bm PIN7_bm #define PB0_bm PIN0_bm #define PB1_bm PIN1_bm #define PB2_bm PIN2_bm #define PB3_bm PIN3_bm /* 1mS refresh timer for 7 segment display * Attiny1614's default clock is 8MHz(RC) * CLK_PER is 1.333MHz ( default prescaler rate is 6, then 8/6 = 1.3 ) * interrupt interval = 1ms ( 1333 / 1.333MHz = 0.The Wixey Drill Press Depth Gauge mounts to any drill press Fortunately the display unit can be rotated so the cord doesn't cover the display.Ī special thanks to Thomas Angielsky for the inspiration. It comes out the top of the drill and can therefore cover the display. It did forget about the cord on the actual Dremel Drill itself. It would be nice if the display showed milli-metres but it's not a show stopper. Once the position is reached, the display will show the word "Stop". The display will count down from the top to the chosen position. Once you have the depth you want to record, give the button a short press and the software will store the value. As long as every position shows a consistent value, the number can be used to set a specific depth. The number shown is arbitrary, that is it doesn't represent any known unit of measurement. It doesn't appear to be linear but it is consistent. As you move the drill down, the display shows an increasing number as the magnet field intensity decreases. Pressing the button for more the 300mS will set the zero point. (If above 512, your magnet is upside-down. On power on, the display will show the relative magnet field intensity. Make sure the glue doesn't run down the shaft and into the switch. Also super glue the button top on the switch shaft. When putting in the top side components, place the 3D printed "Drill Depth Spacer.stl " under the display so it sits as high as possible off the board. If your board is single sided, there is one link to add on the top side. I find it easier to use solder paste rather than use solder from a reel when soldering SMD components.

drill press depth gauge

The Eagle files are attached should you wish to have the PCB commercially made or do as I did and make it yourself. You will need a printed circuit board (PCB). You can take the STL files to a 3D print shop if don't have access to a 3D printer.ĭrill Depth Mount.stl - 0.2mm Layer height, supports touching build plate onlyĭrill Depth Spacer.stl - 0.2mm Layer height, no supportsĭrill Depth Display.stl - 0.2mm Layer height, all supportsĭrill Depth Back.stl - 0.2mm Layer height, no supports To simplify printing, the display module and cover for the Dremel Drill Press are printed separately.










Drill press depth gauge