Exchange Micro USB with Type C

This commit is contained in:
GHOSCHT 2021-08-10 21:31:52 +02:00
parent 485781d047
commit 91ea930434
9 changed files with 21313 additions and 174 deletions

View file

@ -5,8 +5,8 @@
(drawings 0)
(tracks 0)
(zones 0)
(modules 4)
(nets 47)
(modules 5)
(nets 63)
)
(page A4)
@ -143,6 +143,22 @@
(net 44 "Net-(J2-Pad4)")
(net 45 "Net-(J2-Pad5)")
(net 46 "Net-(J2-Pad6)")
(net 47 "Net-(J3-PadA1B12)")
(net 48 "Net-(J3-PadA4B9)")
(net 49 "Net-(J3-PadA6)")
(net 50 "Net-(J3-PadB7)")
(net 51 "Net-(J3-PadA5)")
(net 52 "Net-(J3-PadB8)")
(net 53 "Net-(J3-PadA7)")
(net 54 "Net-(J3-PadB6)")
(net 55 "Net-(J3-PadA8)")
(net 56 "Net-(J3-PadB5)")
(net 57 "Net-(J3-PadB4A9)")
(net 58 "Net-(J3-PadB1A12)")
(net 59 "Net-(J3-PadS1)")
(net 60 "Net-(J3-PadS2)")
(net 61 "Net-(J3-PadS3)")
(net 62 "Net-(J3-PadS4)")
(net_class Default "This is the default net class."
(clearance 0.2)
@ -163,6 +179,22 @@
(add_net "Net-(J2-Pad4)")
(add_net "Net-(J2-Pad5)")
(add_net "Net-(J2-Pad6)")
(add_net "Net-(J3-PadA1B12)")
(add_net "Net-(J3-PadA4B9)")
(add_net "Net-(J3-PadA5)")
(add_net "Net-(J3-PadA6)")
(add_net "Net-(J3-PadA7)")
(add_net "Net-(J3-PadA8)")
(add_net "Net-(J3-PadB1A12)")
(add_net "Net-(J3-PadB4A9)")
(add_net "Net-(J3-PadB5)")
(add_net "Net-(J3-PadB6)")
(add_net "Net-(J3-PadB7)")
(add_net "Net-(J3-PadB8)")
(add_net "Net-(J3-PadS1)")
(add_net "Net-(J3-PadS2)")
(add_net "Net-(J3-PadS3)")
(add_net "Net-(J3-PadS4)")
(add_net "Net-(SW1-PadA)")
(add_net "Net-(SW1-PadB)")
(add_net "Net-(SW1-PadC)")
@ -208,20 +240,20 @@
(fp_text value U254-051T-4BH83-F1S (at 10.605 -4.885) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center -1.3 -3.95) (end -1.2 -3.95) (layer F.Fab) (width 0.2))
(fp_line (start -3.98 -2.85) (end 3.98 -2.85) (layer F.Fab) (width 0.127))
(fp_line (start 3.98 2.15) (end 3.98 -2.85) (layer F.Fab) (width 0.127))
(fp_line (start -3.98 2.15) (end 3.98 2.15) (layer F.Fab) (width 0.127))
(fp_line (start -3.98 2.15) (end -3.98 -2.85) (layer F.Fab) (width 0.127))
(fp_line (start -4.4 -3.6) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.4 2.4) (end 4.4 2.4) (layer F.CrtYd) (width 0.05))
(fp_line (start 4.4 2.4) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.4 2.4) (end -4.4 -3.6) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.98 -1.35) (end -3.98 1.45) (layer F.SilkS) (width 0.127))
(fp_line (start 3.98 -1.35) (end 3.98 1.45) (layer F.SilkS) (width 0.127))
(fp_line (start -3.9 1.45) (end 3.9 1.45) (layer F.SilkS) (width 0.127))
(fp_line (start -4.9 1.45) (end 6.2 1.45) (layer F.Fab) (width 0.127))
(fp_circle (center -1.3 -3.95) (end -1.2 -3.95) (layer F.SilkS) (width 0.2))
(fp_line (start -4.9 1.45) (end 6.2 1.45) (layer F.Fab) (width 0.127))
(fp_line (start -3.9 1.45) (end 3.9 1.45) (layer F.SilkS) (width 0.127))
(fp_line (start 3.98 -1.35) (end 3.98 1.45) (layer F.SilkS) (width 0.127))
(fp_line (start -3.98 -1.35) (end -3.98 1.45) (layer F.SilkS) (width 0.127))
(fp_line (start -4.4 2.4) (end -4.4 -3.6) (layer F.CrtYd) (width 0.05))
(fp_line (start 4.4 2.4) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.4 2.4) (end 4.4 2.4) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.4 -3.6) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.98 2.15) (end -3.98 -2.85) (layer F.Fab) (width 0.127))
(fp_line (start -3.98 2.15) (end 3.98 2.15) (layer F.Fab) (width 0.127))
(fp_line (start 3.98 2.15) (end 3.98 -2.85) (layer F.Fab) (width 0.127))
(fp_line (start -3.98 -2.85) (end 3.98 -2.85) (layer F.Fab) (width 0.127))
(fp_circle (center -1.3 -3.95) (end -1.2 -3.95) (layer F.Fab) (width 0.2))
(fp_text user PCB-EDGE (at 4.6 1.35) (layer F.Fab)
(effects (font (size 0.590551 0.590551) (thickness 0.15)))
)
@ -261,27 +293,27 @@
(fp_text value PEC11R-4220F-S0012 (at 0 0) (layer F.SilkS)
(effects (font (size 1.27 1.27) (thickness 0.15)))
)
(fp_line (start -6.5 6.95) (end -6.5 -6.95) (layer F.Fab) (width 0.15))
(fp_line (start -6.5 -6.95) (end 6.5 -6.95) (layer F.Fab) (width 0.15))
(fp_line (start 6.5 -6.95) (end 6.5 6.95) (layer F.Fab) (width 0.15))
(fp_line (start 6.5 6.95) (end -6.5 6.95) (layer F.Fab) (width 0.15))
(fp_line (start 6.925 -7.8) (end 6.925 -7.8) (layer F.CrtYd) (width 0.15))
(fp_line (start 6.925 -7.8) (end -6.925 -7.8) (layer F.CrtYd) (width 0.15))
(fp_line (start -6.925 -7.8) (end -6.925 8.3) (layer F.CrtYd) (width 0.15))
(fp_line (start -6.925 8.3) (end 6.925 8.3) (layer F.CrtYd) (width 0.15))
(fp_line (start 6.925 8.3) (end 6.925 -7.8) (layer F.CrtYd) (width 0.15))
(fp_line (start -6.5 -6.95) (end -3.65 -6.95) (layer F.SilkS) (width 0.15))
(fp_line (start -1.35 -6.95) (end 1.35 -6.95) (layer F.SilkS) (width 0.15))
(fp_line (start 3.65 -6.95) (end 6.5 -6.95) (layer F.SilkS) (width 0.15))
(fp_line (start 6.5 6.95) (end 6.5 2.875) (layer F.SilkS) (width 0.15))
(fp_line (start 6.5 -2.875) (end 6.5 -6.95) (layer F.SilkS) (width 0.15))
(fp_line (start -6.5 6.95) (end -3.65 6.95) (layer F.SilkS) (width 0.15))
(fp_line (start -1.35 6.95) (end -1.15 6.95) (layer F.SilkS) (width 0.15))
(fp_line (start 1.15 6.95) (end 1.35 6.95) (layer F.SilkS) (width 0.15))
(fp_line (start 3.65 6.95) (end 6.5 6.95) (layer F.SilkS) (width 0.15))
(fp_line (start -6.5 6.95) (end -6.5 2.875) (layer F.SilkS) (width 0.15))
(fp_line (start -6.5 -2.875) (end -6.5 -6.95) (layer F.SilkS) (width 0.15))
(fp_circle (center -2.5 -8.325) (end -2.375 -8.325) (layer F.SilkS) (width 0.25))
(fp_line (start -6.5 -2.875) (end -6.5 -6.95) (layer F.SilkS) (width 0.15))
(fp_line (start -6.5 6.95) (end -6.5 2.875) (layer F.SilkS) (width 0.15))
(fp_line (start 3.65 6.95) (end 6.5 6.95) (layer F.SilkS) (width 0.15))
(fp_line (start 1.15 6.95) (end 1.35 6.95) (layer F.SilkS) (width 0.15))
(fp_line (start -1.35 6.95) (end -1.15 6.95) (layer F.SilkS) (width 0.15))
(fp_line (start -6.5 6.95) (end -3.65 6.95) (layer F.SilkS) (width 0.15))
(fp_line (start 6.5 -2.875) (end 6.5 -6.95) (layer F.SilkS) (width 0.15))
(fp_line (start 6.5 6.95) (end 6.5 2.875) (layer F.SilkS) (width 0.15))
(fp_line (start 3.65 -6.95) (end 6.5 -6.95) (layer F.SilkS) (width 0.15))
(fp_line (start -1.35 -6.95) (end 1.35 -6.95) (layer F.SilkS) (width 0.15))
(fp_line (start -6.5 -6.95) (end -3.65 -6.95) (layer F.SilkS) (width 0.15))
(fp_line (start 6.925 8.3) (end 6.925 -7.8) (layer F.CrtYd) (width 0.15))
(fp_line (start -6.925 8.3) (end 6.925 8.3) (layer F.CrtYd) (width 0.15))
(fp_line (start -6.925 -7.8) (end -6.925 8.3) (layer F.CrtYd) (width 0.15))
(fp_line (start 6.925 -7.8) (end -6.925 -7.8) (layer F.CrtYd) (width 0.15))
(fp_line (start 6.925 -7.8) (end 6.925 -7.8) (layer F.CrtYd) (width 0.15))
(fp_line (start 6.5 6.95) (end -6.5 6.95) (layer F.Fab) (width 0.15))
(fp_line (start 6.5 -6.95) (end 6.5 6.95) (layer F.Fab) (width 0.15))
(fp_line (start -6.5 -6.95) (end 6.5 -6.95) (layer F.Fab) (width 0.15))
(fp_line (start -6.5 6.95) (end -6.5 -6.95) (layer F.Fab) (width 0.15))
(pad S1 thru_hole rect (at -2.5 -7) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask)
(net 7 "Net-(SW1-PadS1)"))
(pad S2 thru_hole circle (at 2.5 -7) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask)
@ -313,24 +345,24 @@
(fp_text value ATmega328P-AU (at 0 6.05) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -3.625 -3.4) (end -5.05 -3.4) (layer F.SilkS) (width 0.15))
(fp_line (start 3.625 -3.625) (end 3.3 -3.625) (layer F.SilkS) (width 0.15))
(fp_line (start 3.625 3.625) (end 3.3 3.625) (layer F.SilkS) (width 0.15))
(fp_line (start -3.625 3.625) (end -3.3 3.625) (layer F.SilkS) (width 0.15))
(fp_line (start -3.625 -3.625) (end -3.3 -3.625) (layer F.SilkS) (width 0.15))
(fp_line (start -3.625 3.625) (end -3.625 3.3) (layer F.SilkS) (width 0.15))
(fp_line (start 3.625 3.625) (end 3.625 3.3) (layer F.SilkS) (width 0.15))
(fp_line (start 3.625 -3.625) (end 3.625 -3.3) (layer F.SilkS) (width 0.15))
(fp_line (start -3.625 -3.625) (end -3.625 -3.4) (layer F.SilkS) (width 0.15))
(fp_line (start -5.3 5.3) (end 5.3 5.3) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.3 -5.3) (end 5.3 -5.3) (layer F.CrtYd) (width 0.05))
(fp_line (start 5.3 -5.3) (end 5.3 5.3) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.3 -5.3) (end -5.3 5.3) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.5 -2.5) (end -2.5 -3.5) (layer F.Fab) (width 0.15))
(fp_line (start -3.5 3.5) (end -3.5 -2.5) (layer F.Fab) (width 0.15))
(fp_line (start 3.5 3.5) (end -3.5 3.5) (layer F.Fab) (width 0.15))
(fp_line (start 3.5 -3.5) (end 3.5 3.5) (layer F.Fab) (width 0.15))
(fp_line (start -2.5 -3.5) (end 3.5 -3.5) (layer F.Fab) (width 0.15))
(fp_line (start 3.5 -3.5) (end 3.5 3.5) (layer F.Fab) (width 0.15))
(fp_line (start 3.5 3.5) (end -3.5 3.5) (layer F.Fab) (width 0.15))
(fp_line (start -3.5 3.5) (end -3.5 -2.5) (layer F.Fab) (width 0.15))
(fp_line (start -3.5 -2.5) (end -2.5 -3.5) (layer F.Fab) (width 0.15))
(fp_line (start -5.3 -5.3) (end -5.3 5.3) (layer F.CrtYd) (width 0.05))
(fp_line (start 5.3 -5.3) (end 5.3 5.3) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.3 -5.3) (end 5.3 -5.3) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.3 5.3) (end 5.3 5.3) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.625 -3.625) (end -3.625 -3.4) (layer F.SilkS) (width 0.15))
(fp_line (start 3.625 -3.625) (end 3.625 -3.3) (layer F.SilkS) (width 0.15))
(fp_line (start 3.625 3.625) (end 3.625 3.3) (layer F.SilkS) (width 0.15))
(fp_line (start -3.625 3.625) (end -3.625 3.3) (layer F.SilkS) (width 0.15))
(fp_line (start -3.625 -3.625) (end -3.3 -3.625) (layer F.SilkS) (width 0.15))
(fp_line (start -3.625 3.625) (end -3.3 3.625) (layer F.SilkS) (width 0.15))
(fp_line (start 3.625 3.625) (end 3.3 3.625) (layer F.SilkS) (width 0.15))
(fp_line (start 3.625 -3.625) (end 3.3 -3.625) (layer F.SilkS) (width 0.15))
(fp_line (start -3.625 -3.4) (end -5.05 -3.4) (layer F.SilkS) (width 0.15))
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
@ -414,11 +446,11 @@
(fp_text value AVR-ISP-6 (at 0 0) (layer F.Fab)
(effects (font (size 0.787402 0.787402) (thickness 0.15)))
)
(fp_circle (center -4.064 2.794) (end -3.964 2.794) (layer F.SilkS) (width 0.2))
(fp_line (start -3.81 2.54) (end -3.81 -2.54) (layer F.SilkS) (width 0.127))
(fp_line (start 3.81 2.54) (end -3.81 2.54) (layer F.SilkS) (width 0.127))
(fp_line (start 3.81 -2.54) (end 3.81 2.54) (layer F.SilkS) (width 0.127))
(fp_line (start -3.81 -2.54) (end 3.81 -2.54) (layer F.SilkS) (width 0.127))
(fp_line (start 3.81 -2.54) (end 3.81 2.54) (layer F.SilkS) (width 0.127))
(fp_line (start 3.81 2.54) (end -3.81 2.54) (layer F.SilkS) (width 0.127))
(fp_line (start -3.81 2.54) (end -3.81 -2.54) (layer F.SilkS) (width 0.127))
(fp_circle (center -4.064 2.794) (end -3.964 2.794) (layer F.SilkS) (width 0.2))
(fp_text user ICSP (at 0 -3.302) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
@ -436,4 +468,69 @@
(net 6 "Net-(J1-Pad6)"))
)
(module HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12 (layer F.Cu) (tedit 6112D184) (tstamp 6112D3E1)
(at 145.796 80.772)
(path /6112D89A)
(fp_text reference J3 (at -1.825 -7.435) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value TYPE-C-31-M-12 (at 6.43 4.135) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center -3.4 -6.4) (end -3.3 -6.4) (layer F.SilkS) (width 0.2))
(fp_circle (center -3.4 -6.4) (end -3.3 -6.4) (layer F.Fab) (width 0.2))
(fp_line (start -5.095 -6.07) (end -5.095 2.85) (layer F.CrtYd) (width 0.05))
(fp_line (start 5.095 -6.07) (end -5.095 -6.07) (layer F.CrtYd) (width 0.05))
(fp_line (start 5.095 2.85) (end 5.095 -6.07) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.095 2.85) (end 5.095 2.85) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.47 2.6) (end -4.47 1.37) (layer F.SilkS) (width 0.127))
(fp_line (start 4.47 2.6) (end -4.47 2.6) (layer F.SilkS) (width 0.127))
(fp_line (start 4.47 1.37) (end 4.47 2.6) (layer F.SilkS) (width 0.127))
(fp_line (start 4.47 -2.81) (end 4.47 -1.37) (layer F.SilkS) (width 0.127))
(fp_line (start -4.47 -2.81) (end -4.47 -1.37) (layer F.SilkS) (width 0.127))
(fp_line (start -4.47 -4.7) (end -4.47 2.6) (layer F.Fab) (width 0.127))
(fp_line (start 4.47 -4.7) (end -4.47 -4.7) (layer F.Fab) (width 0.127))
(fp_line (start 4.47 2.6) (end 4.47 -4.7) (layer F.Fab) (width 0.127))
(fp_line (start -4.47 2.6) (end 4.47 2.6) (layer F.Fab) (width 0.127))
(pad A1B12 smd rect (at -3.25 -5.095) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask)
(net 47 "Net-(J3-PadA1B12)"))
(pad A4B9 smd rect (at -2.45 -5.095) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask)
(net 48 "Net-(J3-PadA4B9)"))
(pad A6 smd rect (at -0.25 -5.095) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask)
(net 49 "Net-(J3-PadA6)"))
(pad B7 smd rect (at -0.75 -5.095) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask)
(net 50 "Net-(J3-PadB7)"))
(pad A5 smd rect (at -1.25 -5.095) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask)
(net 51 "Net-(J3-PadA5)"))
(pad B8 smd rect (at -1.75 -5.095) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask)
(net 52 "Net-(J3-PadB8)"))
(pad A7 smd rect (at 0.25 -5.095) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask)
(net 53 "Net-(J3-PadA7)"))
(pad B6 smd rect (at 0.75 -5.095) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask)
(net 54 "Net-(J3-PadB6)"))
(pad A8 smd rect (at 1.25 -5.095) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask)
(net 55 "Net-(J3-PadA8)"))
(pad B5 smd rect (at 1.75 -5.095) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask)
(net 56 "Net-(J3-PadB5)"))
(pad B4A9 smd rect (at 2.45 -5.095) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask)
(net 57 "Net-(J3-PadB4A9)"))
(pad B1A12 smd rect (at 3.25 -5.095) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask)
(net 58 "Net-(J3-PadB1A12)"))
(pad S1 thru_hole oval (at -4.32 -4.18) (size 1.05 2.1) (drill oval 0.65 1.75) (layers *.Cu *.Mask)
(net 59 "Net-(J3-PadS1)"))
(pad S2 thru_hole oval (at 4.32 -4.18) (size 1.05 2.1) (drill oval 0.65 1.75) (layers *.Cu *.Mask)
(net 60 "Net-(J3-PadS2)"))
(pad S3 thru_hole oval (at -4.32 0) (size 1.05 2.1) (drill oval 0.65 1.25) (layers *.Cu *.Mask)
(net 61 "Net-(J3-PadS3)"))
(pad S4 thru_hole oval (at 4.32 0) (size 1.05 2.1) (drill oval 0.65 1.25) (layers *.Cu *.Mask)
(net 62 "Net-(J3-PadS4)"))
(pad None np_thru_hole circle (at -2.89 -3.65) (size 0.7 0.7) (drill 0.7) (layers *.Cu *.Mask))
(pad None np_thru_hole circle (at 2.89 -3.65) (size 0.7 0.7) (drill 0.7) (layers *.Cu *.Mask))
(model ${KIPRJMOD}/Libraries/HRO_TYPE-C-31-M-12.models/TYPE-C-31-M-12.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz -90 0 0))
)
)
)

View file

@ -1,19 +1,19 @@
(export (version D)
(design
(source "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Console\\Hardware\\Circuit\\Console.sch")
(date "10.08.2021 13:16:43")
(date "10.08.2021 21:30:06")
(tool "Eeschema (5.1.10)-1")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
(title "LightControl Console")
(company)
(rev)
(date)
(rev v00)
(date 2021-08-10)
(source Console.sch)
(comment (number 1) (value ""))
(comment (number 2) (value ""))
(comment (number 3) (value ""))
(comment (number 4) (value "")))))
(comment (number 4) (value "Author: GHOSCHT")))))
(components
(comp (ref U1)
(value ATmega328P-AU)
@ -22,13 +22,6 @@
(libsource (lib MCU_Microchip_ATmega) (part ATmega328P-AU) (description "20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, TQFP-32"))
(sheetpath (names /) (tstamps /))
(tstamp 61124B57))
(comp (ref J2)
(value U254-051T-4BH83-F1S)
(footprint XKB-U254-051T-4BH83-F1S:XKB_U254-051T-4BH83-F1S)
(datasheet ~)
(libsource (lib Connector) (part USB_B_Micro) (description "USB Micro Type B connector"))
(sheetpath (names /) (tstamps /))
(tstamp 611277F0))
(comp (ref SW1)
(value PEC11R-4220F-S0012)
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
@ -42,7 +35,19 @@
(datasheet " ~")
(libsource (lib Connector) (part AVR-ISP-6) (description "Atmel 6-pin ISP connector"))
(sheetpath (names /) (tstamps /))
(tstamp 61134728)))
(tstamp 61134728))
(comp (ref J3)
(value TYPE-C-31-M-12)
(footprint HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12)
(datasheet https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf)
(fields
(field (name MANUFACTURER) "HRO Electronics")
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
(field (name PARTREV) A)
(field (name STANDARD) "Manufacturer Recommendations"))
(libsource (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12) (description ""))
(sheetpath (names /) (tstamps /))
(tstamp 6112D89A)))
(libparts
(libpart (lib Connector) (part AVR-ISP-6)
(description "Atmel 6-pin ISP connector")
@ -60,23 +65,6 @@
(pin (num 4) (name MOSI) (type passive))
(pin (num 5) (name ~RST) (type passive))
(pin (num 6) (name GND) (type passive))))
(libpart (lib Connector) (part USB_B_Micro)
(aliases
(alias USB_B_Mini))
(description "USB Micro Type B connector")
(docs ~)
(footprints
(fp USB*))
(fields
(field (name Reference) J)
(field (name Value) USB_B_Micro))
(pins
(pin (num 1) (name VBUS) (type power_out))
(pin (num 2) (name D-) (type BiDi))
(pin (num 3) (name D+) (type BiDi))
(pin (num 4) (name ID) (type passive))
(pin (num 5) (name GND) (type power_out))
(pin (num 6) (name Shield) (type passive))))
(libpart (lib Device) (part Rotary_Encoder_Switch)
(description "Rotary encoder, dual channel, incremental quadrate outputs, with switch")
(docs ~)
@ -146,107 +134,155 @@
(pin (num 29) (name ~RESET~/PC6) (type BiDi))
(pin (num 30) (name PD0) (type BiDi))
(pin (num 31) (name PD1) (type BiDi))
(pin (num 32) (name PD2) (type BiDi)))))
(pin (num 32) (name PD2) (type BiDi))))
(libpart (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12)
(fields
(field (name Reference) J)
(field (name Value) TYPE-C-31-M-12)
(field (name Footprint) HRO_TYPE-C-31-M-12)
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
(field (name STANDARD) "Manufacturer Recommendations")
(field (name PARTREV) A)
(field (name MANUFACTURER) "HRO Electronics"))
(pins
(pin (num A5) (name CC1) (type BiDi))
(pin (num A6) (name DP1) (type BiDi))
(pin (num A7) (name DN1) (type BiDi))
(pin (num A8) (name SBU1) (type BiDi))
(pin (num A1B12) (name GND) (type power_in))
(pin (num A4B9) (name VBUS) (type power_in))
(pin (num B5) (name CC2) (type BiDi))
(pin (num B6) (name DP2) (type BiDi))
(pin (num B7) (name DN2) (type BiDi))
(pin (num B8) (name SBU2) (type BiDi))
(pin (num B1A12) (name GND) (type power_in))
(pin (num B4A9) (name VBUS) (type power_in))
(pin (num S1) (name SHIELD) (type passive))
(pin (num S2) (name SHIELD) (type passive))
(pin (num S3) (name SHIELD) (type passive))
(pin (num S4) (name SHIELD) (type passive)))))
(libraries
(library (logical Connector)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector.lib"))
(library (logical Device)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
(library (logical MCU_Microchip_ATmega)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/MCU_Microchip_ATmega.lib")))
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/MCU_Microchip_ATmega.lib"))
(library (logical TYPE-C-31-M-12)
(uri "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Console\\Hardware\\Circuit/Libraries/TYPE-C-31-M-12.lib")))
(nets
(net (code 1) (name "Net-(J2-Pad6)")
(node (ref J2) (pin 6)))
(net (code 2) (name "Net-(U1-Pad32)")
(node (ref U1) (pin 32)))
(net (code 3) (name "Net-(U1-Pad4)")
(node (ref U1) (pin 4))
(node (ref U1) (pin 6)))
(net (code 4) (name "Net-(U1-Pad21)")
(node (ref U1) (pin 21))
(node (ref U1) (pin 3))
(node (ref U1) (pin 5)))
(net (code 5) (name "Net-(U1-Pad7)")
(node (ref U1) (pin 7)))
(net (code 6) (name "Net-(U1-Pad8)")
(net (code 1) (name "Net-(J3-PadA4B9)")
(node (ref J3) (pin A4B9)))
(net (code 2) (name "Net-(U1-Pad8)")
(node (ref U1) (pin 8)))
(net (code 7) (name "Net-(U1-Pad9)")
(net (code 3) (name "Net-(U1-Pad9)")
(node (ref U1) (pin 9)))
(net (code 8) (name "Net-(J2-Pad1)")
(node (ref J2) (pin 1)))
(net (code 9) (name "Net-(J2-Pad2)")
(node (ref J2) (pin 2)))
(net (code 10) (name "Net-(J2-Pad3)")
(node (ref J2) (pin 3)))
(net (code 11) (name "Net-(J2-Pad4)")
(node (ref J2) (pin 4)))
(net (code 12) (name "Net-(J2-Pad5)")
(node (ref J2) (pin 5)))
(net (code 13) (name "Net-(U1-Pad31)")
(node (ref U1) (pin 31)))
(net (code 14) (name "Net-(SW1-PadA)")
(net (code 4) (name "Net-(SW1-PadA)")
(node (ref SW1) (pin A)))
(net (code 15) (name "Net-(SW1-PadB)")
(net (code 5) (name "Net-(SW1-PadB)")
(node (ref SW1) (pin B)))
(net (code 16) (name "Net-(SW1-PadC)")
(net (code 6) (name "Net-(SW1-PadC)")
(node (ref SW1) (pin C)))
(net (code 17) (name "Net-(SW1-PadS1)")
(net (code 7) (name "Net-(SW1-PadS1)")
(node (ref SW1) (pin S1)))
(net (code 18) (name "Net-(SW1-PadS2)")
(net (code 8) (name "Net-(SW1-PadS2)")
(node (ref SW1) (pin S2)))
(net (code 19) (name "Net-(J1-Pad1)")
(net (code 9) (name "Net-(J1-Pad1)")
(node (ref J1) (pin 1)))
(net (code 20) (name "Net-(J1-Pad2)")
(net (code 10) (name "Net-(J1-Pad2)")
(node (ref J1) (pin 2)))
(net (code 21) (name "Net-(J1-Pad3)")
(net (code 11) (name "Net-(J1-Pad3)")
(node (ref J1) (pin 3)))
(net (code 22) (name "Net-(J1-Pad4)")
(net (code 12) (name "Net-(J1-Pad4)")
(node (ref J1) (pin 4)))
(net (code 23) (name "Net-(J1-Pad5)")
(net (code 13) (name "Net-(J1-Pad5)")
(node (ref J1) (pin 5)))
(net (code 24) (name "Net-(J1-Pad6)")
(net (code 14) (name "Net-(J1-Pad6)")
(node (ref J1) (pin 6)))
(net (code 25) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 26) (name "Net-(U1-Pad10)")
(node (ref U1) (pin 10)))
(net (code 27) (name "Net-(U1-Pad11)")
(node (ref U1) (pin 11)))
(net (code 28) (name "Net-(U1-Pad12)")
(node (ref U1) (pin 12)))
(net (code 29) (name "Net-(U1-Pad13)")
(node (ref U1) (pin 13)))
(net (code 30) (name "Net-(U1-Pad14)")
(node (ref U1) (pin 14)))
(net (code 31) (name "Net-(U1-Pad15)")
(node (ref U1) (pin 15)))
(net (code 32) (name "Net-(U1-Pad16)")
(node (ref U1) (pin 16)))
(net (code 33) (name "Net-(U1-Pad17)")
(node (ref U1) (pin 17)))
(net (code 34) (name "Net-(U1-Pad18)")
(node (ref U1) (pin 18)))
(net (code 35) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 36) (name "Net-(U1-Pad2)")
(node (ref U1) (pin 2)))
(net (code 37) (name "Net-(U1-Pad1)")
(node (ref U1) (pin 1)))
(net (code 38) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 39) (name "Net-(U1-Pad23)")
(net (code 15) (name "Net-(J3-PadA1B12)")
(node (ref J3) (pin A1B12)))
(net (code 16) (name "Net-(U1-Pad7)")
(node (ref U1) (pin 7)))
(net (code 17) (name "Net-(J3-PadA5)")
(node (ref J3) (pin A5)))
(net (code 18) (name "Net-(J3-PadA6)")
(node (ref J3) (pin A6)))
(net (code 19) (name "Net-(J3-PadA7)")
(node (ref J3) (pin A7)))
(net (code 20) (name "Net-(J3-PadA8)")
(node (ref J3) (pin A8)))
(net (code 21) (name "Net-(J3-PadB1A12)")
(node (ref J3) (pin B1A12)))
(net (code 22) (name "Net-(J3-PadB4A9)")
(node (ref J3) (pin B4A9)))
(net (code 23) (name "Net-(J3-PadB5)")
(node (ref J3) (pin B5)))
(net (code 24) (name "Net-(J3-PadB6)")
(node (ref J3) (pin B6)))
(net (code 25) (name "Net-(J3-PadB7)")
(node (ref J3) (pin B7)))
(net (code 26) (name "Net-(J3-PadB8)")
(node (ref J3) (pin B8)))
(net (code 27) (name "Net-(J3-PadS1)")
(node (ref J3) (pin S1)))
(net (code 28) (name "Net-(J3-PadS2)")
(node (ref J3) (pin S2)))
(net (code 29) (name "Net-(J3-PadS3)")
(node (ref J3) (pin S3)))
(net (code 30) (name "Net-(J3-PadS4)")
(node (ref J3) (pin S4)))
(net (code 31) (name "Net-(U1-Pad23)")
(node (ref U1) (pin 23)))
(net (code 40) (name "Net-(U1-Pad24)")
(net (code 32) (name "Net-(U1-Pad10)")
(node (ref U1) (pin 10)))
(net (code 33) (name "Net-(U1-Pad11)")
(node (ref U1) (pin 11)))
(net (code 34) (name "Net-(U1-Pad12)")
(node (ref U1) (pin 12)))
(net (code 35) (name "Net-(U1-Pad13)")
(node (ref U1) (pin 13)))
(net (code 36) (name "Net-(U1-Pad14)")
(node (ref U1) (pin 14)))
(net (code 37) (name "Net-(U1-Pad15)")
(node (ref U1) (pin 15)))
(net (code 38) (name "Net-(U1-Pad16)")
(node (ref U1) (pin 16)))
(net (code 39) (name "Net-(U1-Pad17)")
(node (ref U1) (pin 17)))
(net (code 40) (name "Net-(U1-Pad18)")
(node (ref U1) (pin 18)))
(net (code 41) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 42) (name "Net-(U1-Pad2)")
(node (ref U1) (pin 2)))
(net (code 43) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 44) (name "Net-(U1-Pad21)")
(node (ref U1) (pin 21))
(node (ref U1) (pin 5))
(node (ref U1) (pin 3)))
(net (code 45) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 46) (name "Net-(U1-Pad1)")
(node (ref U1) (pin 1)))
(net (code 47) (name "Net-(U1-Pad24)")
(node (ref U1) (pin 24)))
(net (code 41) (name "Net-(U1-Pad25)")
(net (code 48) (name "Net-(U1-Pad25)")
(node (ref U1) (pin 25)))
(net (code 42) (name "Net-(U1-Pad26)")
(net (code 49) (name "Net-(U1-Pad26)")
(node (ref U1) (pin 26)))
(net (code 43) (name "Net-(U1-Pad27)")
(net (code 50) (name "Net-(U1-Pad27)")
(node (ref U1) (pin 27)))
(net (code 44) (name "Net-(U1-Pad28)")
(net (code 51) (name "Net-(U1-Pad28)")
(node (ref U1) (pin 28)))
(net (code 45) (name "Net-(U1-Pad29)")
(net (code 52) (name "Net-(U1-Pad29)")
(node (ref U1) (pin 29)))
(net (code 46) (name "Net-(U1-Pad30)")
(node (ref U1) (pin 30)))))
(net (code 53) (name "Net-(U1-Pad30)")
(node (ref U1) (pin 30)))
(net (code 54) (name "Net-(U1-Pad31)")
(node (ref U1) (pin 31)))
(net (code 55) (name "Net-(U1-Pad32)")
(node (ref U1) (pin 32)))
(net (code 56) (name "Net-(U1-Pad4)")
(node (ref U1) (pin 4))
(node (ref U1) (pin 6)))))

View file

@ -25,17 +25,6 @@ F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20w
1 0 0 -1
$EndComp
$Comp
L Connector:USB_B_Micro J2
U 1 1 611277F0
P 6350 2350
F 0 "J2" H 6407 2817 50 0000 C CNN
F 1 "U254-051T-4BH83-F1S" H 6407 2726 50 0000 C CNN
F 2 "XKB-U254-051T-4BH83-F1S:XKB_U254-051T-4BH83-F1S" H 6500 2300 50 0001 C CNN
F 3 "~" H 6500 2300 50 0001 C CNN
1 6350 2350
1 0 0 -1
$EndComp
$Comp
L Device:Rotary_Encoder_Switch SW1
U 1 1 6112A1C1
P 6200 3550
@ -57,4 +46,21 @@ F 3 " ~" H 4075 2000 50 0001 C CNN
1 5350 2550
1 0 0 -1
$EndComp
Text Notes 1950 1350 0 50 ~ 0
use jumper (solderswitch) to change between i2c / uart
$Comp
L TYPE-C-31-M-12:TYPE-C-31-M-12 J3
U 1 1 6112D89A
P 7750 2400
F 0 "J3" H 7750 3067 50 0000 C CNN
F 1 "TYPE-C-31-M-12" H 7750 2976 50 0000 C CNN
F 2 "HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12" H 7750 2400 50 0001 L BNN
F 3 "https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf" H 7750 2400 50 0001 L BNN
F 4 "3.31mm" H 7750 2400 50 0001 L BNN "MAXIMUM_PACKAGE_HEIGHT"
F 5 "Manufacturer Recommendations" H 7750 2400 50 0001 L BNN "STANDARD"
F 6 "A" H 7750 2400 50 0001 L BNN "PARTREV"
F 7 "HRO Electronics" H 7750 2400 50 0001 L BNN "MANUFACTURER"
1 7750 2400
1 0 0 -1
$EndComp
$EndSCHEMATC

View file

@ -0,0 +1,43 @@
(module HRO_TYPE-C-31-M-12 (layer F.Cu) (tedit 6112D184)
(descr "")
(fp_text reference REF** (at -1.825 -7.435 0) (layer F.SilkS)
(effects (font (size 1.0 1.0) (thickness 0.15)))
)
(fp_text value HRO_TYPE-C-31-M-12 (at 6.43 4.135 0) (layer F.Fab)
(effects (font (size 1.0 1.0) (thickness 0.15)))
)
(fp_line (start -4.47 2.6) (end 4.47 2.6) (layer F.Fab) (width 0.127))
(fp_line (start 4.47 2.6) (end 4.47 -4.7) (layer F.Fab) (width 0.127))
(fp_line (start 4.47 -4.7) (end -4.47 -4.7) (layer F.Fab) (width 0.127))
(fp_line (start -4.47 -4.7) (end -4.47 2.6) (layer F.Fab) (width 0.127))
(fp_line (start -4.47 -2.81) (end -4.47 -1.37) (layer F.SilkS) (width 0.127))
(fp_line (start 4.47 -2.81) (end 4.47 -1.37) (layer F.SilkS) (width 0.127))
(fp_line (start 4.47 1.37) (end 4.47 2.6) (layer F.SilkS) (width 0.127))
(fp_line (start 4.47 2.6) (end -4.47 2.6) (layer F.SilkS) (width 0.127))
(fp_line (start -4.47 2.6) (end -4.47 1.37) (layer F.SilkS) (width 0.127))
(fp_line (start -5.095 2.85) (end 5.095 2.85) (layer F.CrtYd) (width 0.05))
(fp_line (start 5.095 2.85) (end 5.095 -6.07) (layer F.CrtYd) (width 0.05))
(fp_line (start 5.095 -6.07) (end -5.095 -6.07) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.095 -6.07) (end -5.095 2.85) (layer F.CrtYd) (width 0.05))
(fp_circle (center -3.4 -6.4) (end -3.3 -6.4) (layer F.Fab) (width 0.2))
(fp_circle (center -3.4 -6.4) (end -3.3 -6.4) (layer F.SilkS) (width 0.2))
(pad A1B12 smd rect (at -3.25 -5.095) (size 0.6 1.45) (layers F.Cu F.Mask F.Paste))
(pad A4B9 smd rect (at -2.45 -5.095) (size 0.6 1.45) (layers F.Cu F.Mask F.Paste))
(pad A6 smd rect (at -0.25 -5.095) (size 0.3 1.45) (layers F.Cu F.Mask F.Paste))
(pad B7 smd rect (at -0.75 -5.095) (size 0.3 1.45) (layers F.Cu F.Mask F.Paste))
(pad A5 smd rect (at -1.25 -5.095) (size 0.3 1.45) (layers F.Cu F.Mask F.Paste))
(pad B8 smd rect (at -1.75 -5.095) (size 0.3 1.45) (layers F.Cu F.Mask F.Paste))
(pad A7 smd rect (at 0.25 -5.095) (size 0.3 1.45) (layers F.Cu F.Mask F.Paste))
(pad B6 smd rect (at 0.75 -5.095) (size 0.3 1.45) (layers F.Cu F.Mask F.Paste))
(pad A8 smd rect (at 1.25 -5.095) (size 0.3 1.45) (layers F.Cu F.Mask F.Paste))
(pad B5 smd rect (at 1.75 -5.095) (size 0.3 1.45) (layers F.Cu F.Mask F.Paste))
(pad B4A9 smd rect (at 2.45 -5.095) (size 0.6 1.45) (layers F.Cu F.Mask F.Paste))
(pad B1A12 smd rect (at 3.25 -5.095) (size 0.6 1.45) (layers F.Cu F.Mask F.Paste))
(pad S1 thru_hole oval (at -4.32 -4.18) (size 1.05 2.1) (drill oval 0.65 1.75) (layers *.Cu *.Mask))
(pad S2 thru_hole oval (at 4.32 -4.18) (size 1.05 2.1) (drill oval 0.65 1.75) (layers *.Cu *.Mask))
(pad S3 thru_hole oval (at -4.32 0.0) (size 1.05 2.1) (drill oval 0.65 1.25) (layers *.Cu *.Mask))
(pad S4 thru_hole oval (at 4.32 0.0) (size 1.05 2.1) (drill oval 0.65 1.25) (layers *.Cu *.Mask))
(pad None np_thru_hole circle (at -2.89 -3.65) (size 0.7 0.7) (drill 0.7) (layers *.Cu *.Mask))
(pad None np_thru_hole circle (at 2.89 -3.65) (size 0.7 0.7) (drill 0.7) (layers *.Cu *.Mask))
)

View file

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

View file

@ -0,0 +1,36 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# TYPE-C-31-M-12
#
DEF TYPE-C-31-M-12 J 0 40 Y Y 1 L N
F0 "J" -50 600 50 H V L BNN
F1 "TYPE-C-31-M-12" -400 520 50 H V L BNN
F2 "HRO_TYPE-C-31-M-12" 0 0 50 H I L BNN
F3 "" 0 0 50 H I L BNN
F4 "3.31mm" 0 0 50 H I L BNN "MAXIMUM_PACKAGE_HEIGHT"
F5 "Manufacturer Recommendations" 0 0 50 H I L BNN "STANDARD"
F6 "A" 0 0 50 H I L BNN "PARTREV"
F7 "HRO Electronics" 0 0 50 H I L BNN "MANUFACTURER"
DRAW
S -500 -500 500 500 0 0 10 f
X GND A1B12 -700 -400 200 R 40 40 0 0 W
X VBUS A4B9 -700 400 200 R 40 40 0 0 W
X CC1 A5 -700 200 200 R 40 40 0 0 B
X DP1 A6 -700 100 200 R 40 40 0 0 B
X DN1 A7 -700 0 200 R 40 40 0 0 B
X SBU1 A8 -700 -100 200 R 40 40 0 0 B
X GND B1A12 700 -400 200 L 40 40 0 0 W
X VBUS B4A9 700 400 200 L 40 40 0 0 W
X CC2 B5 700 -100 200 L 40 40 0 0 B
X DP2 B6 700 0 200 L 40 40 0 0 B
X DN2 B7 700 100 200 L 40 40 0 0 B
X SBU2 B8 700 200 200 L 40 40 0 0 B
X SHIELD S1 -250 -700 200 U 40 40 0 0 P
X SHIELD S2 -100 -700 200 U 40 40 0 0 P
X SHIELD S3 100 -700 200 U 40 40 0 0 P
X SHIELD S4 250 -700 200 U 40 40 0 0 P
ENDDRAW
ENDDEF
#
#End Library

View file

@ -2,4 +2,5 @@
(lib (name Bourns-PEC11R-4220F-S0012)(type KiCad)(uri ${KIPRJMOD}/Libraries/Bourns-PEC11R-4220F-S0012.pretty)(options "")(descr ""))
(lib (name XKB-U254-051T-4BH83-F1S)(type KiCad)(uri ${KIPRJMOD}/Libraries/XKB-U254-051T-4BH83-F1S.pretty)(options "")(descr ""))
(lib (name AVR-ISP)(type KiCad)(uri ${KIPRJMOD}/Libraries/AVR-ISP.pretty)(options "")(descr ""))
(lib (name HRO_TYPE-C-31-M-12)(type KiCad)(uri ${KIPRJMOD}/Libraries/HRO_TYPE-C-31-M-12.pretty)(options "")(descr ""))
)

View file

@ -1,2 +1,3 @@
(sym_lib_table
(lib (name TYPE-C-31-M-12)(type Legacy)(uri ${KIPRJMOD}/Libraries/TYPE-C-31-M-12.lib)(options "")(descr ""))
)