KiCad files

main
Tom Smalley 2017-02-09 12:19:04 +00:00
parent a45b40ebf1
commit 77169e4f66
6 changed files with 64 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.DS_Store
*.swp

View File

@ -18,7 +18,7 @@ for starting this all off.
3. [Practical considerations](#practical-considerations)
1. [Parasitic capacitance](#parasitic-capacitance)
2. [Other notes](#other-notes)
4. KiCad files
4. [KiCad files](#kicad-files)
2. [Hardware (case/plate)](#hardware-caseplate)
3. [Firmware](#firmware)
1. [Basic read procedure](#basic-read-procedure)
@ -131,6 +131,13 @@ I found it important to use a very fast amplifier, opting for the OPA350A.
Cheaper options proved to be too slow, turning the voltage spike into more of a
voltage mound, making reading unpredictable.
## KiCad files
See `kicad` folder, it contains an example switch footprint and schematic
library file.
![Topre footprint](topre-pad.png)
# Hardware (case/plate)
The stackup is fairly simple, and is determined by the housing dimensions:

View File

@ -0,0 +1,33 @@
(module ToprePad (layer F.Cu) (tedit 5816049C)
(fp_text reference TP6 (at 0 8) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value ToprePad (at 0 -8) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_arc (start -8 -8) (end -9 -8) (angle 90) (layer Dwgs.User) (width 0.1))
(fp_arc (start -8 8) (end -8 9) (angle 90) (layer Dwgs.User) (width 0.1))
(fp_arc (start 8 8) (end 9 8) (angle 90) (layer Dwgs.User) (width 0.1))
(fp_arc (start 8 -8) (end 8 -9) (angle 90) (layer Dwgs.User) (width 0.1))
(fp_line (start 9 -8) (end 9 8) (layer Dwgs.User) (width 0.1))
(fp_line (start 8 9) (end -8 9) (layer Dwgs.User) (width 0.1))
(fp_line (start -9 8) (end -9 -8) (layer Dwgs.User) (width 0.1))
(fp_line (start -8 -9) (end 8 -9) (layer Dwgs.User) (width 0.1))
(fp_circle (center 0 0) (end 0 -6.5) (layer B.SilkS) (width 1))
(fp_arc (start 0 0) (end 1 -5.5) (angle 158.5) (layer B.Cu) (width 1.2))
(fp_line (start 5 -2) (end 4.5 2.5) (layer B.Cu) (width 1.1))
(fp_line (start 4 -3.5) (end 4 3.5) (layer B.Cu) (width 1.1))
(fp_line (start 3 -4) (end 3 4.5) (layer B.Cu) (width 1.1))
(fp_line (start 2 -4.5) (end 2 4.5) (layer B.Cu) (width 1.1))
(fp_line (start 1 -5.5) (end 1 5.5) (layer B.Cu) (width 1.2))
(fp_arc (start 0 0) (end -1 5.5) (angle 158.5) (layer B.Cu) (width 1.2))
(fp_line (start -5 -2) (end -4.5 2.5) (layer B.Cu) (width 1.1))
(fp_line (start -4 -3.5) (end -4 3.5) (layer B.Cu) (width 1.1))
(fp_line (start -3 -4) (end -3 4.5) (layer B.Cu) (width 1.1))
(fp_line (start -2 -4.5) (end -2 4.5) (layer B.Cu) (width 1.1))
(fp_line (start -1 -5.5) (end -1 5.5) (layer B.Cu) (width 1.2))
(pad 3 smd rect (at 0 0) (size 0.25 14) (layers B.Cu)
(zone_connect 2))
(pad 1 thru_hole circle (at 1 0) (size 1 1) (drill 0.6) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at -1 0) (size 1 1) (drill 0.6) (layers *.Cu *.Mask))
)

View File

@ -0,0 +1,3 @@
EESchema-DOCLIB Version 2.0
#
#End Doc Library

View File

@ -0,0 +1,19 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# ToprePad
#
DEF ~ToprePad TP 0 40 Y Y 1 F N
F0 "TP" 75 -250 60 H I R CNN
F1 "ToprePad" -25 -325 60 H I C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
S 0 150 -125 -150 0 1 0 N
X S 1 100 100 98 L 50 50 1 1 I
X R 2 100 0 98 L 50 50 1 1 O
X G 3 100 -100 98 L 50 50 1 1 W
ENDDRAW
ENDDEF
#
#End Library

BIN
topre-pad.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB