Article
Digital Calliper Readout with Platino
Upgrade your lathe
Many metalworking fans wish to upgrade their lathes or milling machines by retrofitting a “computer link” and so move on to the realms of CNC. This article describes the use of an Elektor Platino microcontroller board and up to four digital callipers to determine the exact location of your drill bit or cutter on the machine.
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Extra info / Update
Quick Specifications
- 9 V to 15 V AC or DC supply.
- 20 x 4 LCD Display.
- Real-time measurement of up to four callipers simultaneously.
- USB Mini-B interface for calliper connection.
- Elektor ‘Platino’ with ATMEGA328P microcontroller.
- Easy programming via FTDI USB/serial cable and Arduino IDE or via ISP.
@ www.elektor.com
Extension Board, bare PCB
www.elektor.com/140343-41
Programmed microcontroller
ATMega328P
www.elektor.com/140343-1
Platino v1.4, bare PCB
www.elektor.com/150555-1
LCD, 4x20 characters
www.elektor.com/120061
USB/TTL serial cable, 5V version
Book: Mastering Microcontrollers
helped by Arduino (3rd edition)
www.elektor.com/mastering-microcontrollers
E-Book: Mastering Microcontrollers
helped by Arduino (3rd edition)
www.elektor.com/mastering-microcontrollers-e
- 9 V to 15 V AC or DC supply.
- 20 x 4 LCD Display.
- Real-time measurement of up to four callipers simultaneously.
- USB Mini-B interface for calliper connection.
- Elektor ‘Platino’ with ATMEGA328P microcontroller.
- Easy programming via FTDI USB/serial cable and Arduino IDE or via ISP.
@ www.elektor.com
Extension Board, bare PCB
www.elektor.com/140343-41
Programmed microcontroller
ATMega328P
www.elektor.com/140343-1
Platino v1.4, bare PCB
www.elektor.com/150555-1
LCD, 4x20 characters
www.elektor.com/120061
USB/TTL serial cable, 5V version
Book: Mastering Microcontrollers
helped by Arduino (3rd edition)
www.elektor.com/mastering-microcontrollers
E-Book: Mastering Microcontrollers
helped by Arduino (3rd edition)
www.elektor.com/mastering-microcontrollers-e
Component list
Component List
Platino Board
Resistors
R3 = 47Ohm
R4,R5,R6,R7,R10,R12 = 10kOhm
R11 = 4.7kOhm
P1 = 10kOhm trimpot, horizontal
Capacitors
C1,C2 = 22pF, 50V, C0G/NP0, 0.1" pitch
C3,C5,C6 = 100nF, 50V, X7R, 0.2" pitch
C4 = 10nF, 50V, X7R, 0.1" pitch
C9 = 10µF, 50V, 0.1" pitch
Inductor
L1 = 10µH
Semiconductors
IC1 = ATmega328P, programmed
T1 = BC547C
D2 = 1N5817
IC3 = MC7805
Miscellaneous
K1 = 10-pin SIL pinheader, vertical, 0.1" pitch
K3 = 6-pin (2x3) pinheader, vertical, 0.1" pitch
K4,K5 = 8-pin SIL pinheader, vertical, 0.1" pitch
K6,K7 = 6-pin SIL pinheader, vertical, 0.1" pitch
K9 = 16-way SIL socket, vertical, 0.1" pitch
LCD1 = 4x20 character LCD, #120061-73 or #120061-76
X1 = 16MHz quartz crystal
28-pin DIL IC socket (for ATmega328P)
PCB # 150555-1 v1.4 (Elektor Store)
Extension Board
Resistors
R1,R2,R6,R7,R11,R12,R16,R17 = 10kOhm
R3-R5,R8-R10,R13-R15, R18-R20 = 470kOhm
R21-R33 = 6.8kOhm
Capacitors
C1,C2,C3,C4 = 0.1µF, 50V, 0.2" pitch, radial leaded
C5 = 100µF, 50V, 0.2" pitch, radial leaded
Semiconductors
D1,D2 = 1N4007
IC1-IC6 = LM393N
IC7 = CD74HC153E
Miscellaneous
K2 = 2-way PCB screw terminal block
6 pcs. 8-pin DIL IC socket (for LM393Ns)
1 pc. 16-pin DIL IC socket (for CD74HC153E)
K1 = 10-way SIL socket, vertical, 0.1" pitch
K4,K5 = 8-way SIL socket, vertical, 0.1" pitch
K6,K7 = 6-way SIL socket, vertical, 0.1" pitch
K9,K11,K13,K15 = 3-pin pinheader, vertical, 0.1" pitch
K8,K10,K12,K14 = Mini USB Type-B receptacle, vertical, 5-way, e.g. Farnell # 1125349
PCB # 140343-1 (Elektor Store)
Miscellaneous
Mini USB Type-B cable
Digital callipers, e.g. Guilin Timm type GB/T 22518-2008 [4] [3].
Platino Board
Resistors
R3 = 47Ohm
R4,R5,R6,R7,R10,R12 = 10kOhm
R11 = 4.7kOhm
P1 = 10kOhm trimpot, horizontal
Capacitors
C1,C2 = 22pF, 50V, C0G/NP0, 0.1" pitch
C3,C5,C6 = 100nF, 50V, X7R, 0.2" pitch
C4 = 10nF, 50V, X7R, 0.1" pitch
C9 = 10µF, 50V, 0.1" pitch
Inductor
L1 = 10µH
Semiconductors
IC1 = ATmega328P, programmed
T1 = BC547C
D2 = 1N5817
IC3 = MC7805
Miscellaneous
K1 = 10-pin SIL pinheader, vertical, 0.1" pitch
K3 = 6-pin (2x3) pinheader, vertical, 0.1" pitch
K4,K5 = 8-pin SIL pinheader, vertical, 0.1" pitch
K6,K7 = 6-pin SIL pinheader, vertical, 0.1" pitch
K9 = 16-way SIL socket, vertical, 0.1" pitch
LCD1 = 4x20 character LCD, #120061-73 or #120061-76
X1 = 16MHz quartz crystal
28-pin DIL IC socket (for ATmega328P)
PCB # 150555-1 v1.4 (Elektor Store)
Extension Board
Resistors
R1,R2,R6,R7,R11,R12,R16,R17 = 10kOhm
R3-R5,R8-R10,R13-R15, R18-R20 = 470kOhm
R21-R33 = 6.8kOhm
Capacitors
C1,C2,C3,C4 = 0.1µF, 50V, 0.2" pitch, radial leaded
C5 = 100µF, 50V, 0.2" pitch, radial leaded
Semiconductors
D1,D2 = 1N4007
IC1-IC6 = LM393N
IC7 = CD74HC153E
Miscellaneous
K2 = 2-way PCB screw terminal block
6 pcs. 8-pin DIL IC socket (for LM393Ns)
1 pc. 16-pin DIL IC socket (for CD74HC153E)
K1 = 10-way SIL socket, vertical, 0.1" pitch
K4,K5 = 8-way SIL socket, vertical, 0.1" pitch
K6,K7 = 6-way SIL socket, vertical, 0.1" pitch
K9,K11,K13,K15 = 3-pin pinheader, vertical, 0.1" pitch
K8,K10,K12,K14 = Mini USB Type-B receptacle, vertical, 5-way, e.g. Farnell # 1125349
PCB # 140343-1 (Elektor Store)
Miscellaneous
Mini USB Type-B cable
Digital callipers, e.g. Guilin Timm type GB/T 22518-2008 [4] [3].
Discussion (0 comments)