diff options
author | Karel Kočí <karel.koci@nic.cz> | 2019-05-13 09:37:45 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2019-05-13 09:37:45 +0200 |
commit | 6958ded8646ecf287e413648e85a7a5738c2b261 (patch) | |
tree | c16496a5553670f117565960dcbd30b6dc7da80f | |
parent | d84d3c8bb00dbdb25324e2f25b9ad1ec45a1c7cf (diff) | |
download | turris-hw-uart-6958ded8646ecf287e413648e85a7a5738c2b261.tar.gz turris-hw-uart-6958ded8646ecf287e413648e85a7a5738c2b261.tar.bz2 turris-hw-uart-6958ded8646ecf287e413648e85a7a5738c2b261.zip |
-rw-r--r-- | level_shifter.sch | 213 | ||||
-rw-r--r-- | sym-lib-table | 3 | ||||
-rw-r--r-- | turris-uart-cache.lib | 330 | ||||
-rw-r--r-- | turris-uart.dcm | 9 | ||||
-rw-r--r-- | turris-uart.kicad_pcb | 1269 | ||||
-rw-r--r-- | turris-uart.lib | 55 | ||||
-rw-r--r-- | turris-uart.pro | 60 | ||||
-rw-r--r-- | turris-uart.sch | 566 |
8 files changed, 2505 insertions, 0 deletions
diff --git a/level_shifter.sch b/level_shifter.sch new file mode 100644 index 0000000..5b729bf --- /dev/null +++ b/level_shifter.sch @@ -0,0 +1,213 @@ +EESchema Schematic File Version 4 +EELAYER 29 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 2 3 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L Device:R R? +U 1 1 5CE154EA +P 4350 2950 +AR Path="/5CE154EA" Ref="R?" Part="1" +AR Path="/5CE12B9C/5CE154EA" Ref="R4" Part="1" +AR Path="/5CE21290/5CE154EA" Ref="R8" Part="1" +F 0 "R4" H 4420 2996 50 0000 L CNN +F 1 "10K" H 4420 2905 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric" V 4280 2950 50 0001 C CNN +F 3 "~" H 4350 2950 50 0001 C CNN + 1 4350 2950 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R? +U 1 1 5CE154F0 +P 4900 2950 +AR Path="/5CE154F0" Ref="R?" Part="1" +AR Path="/5CE12B9C/5CE154F0" Ref="R5" Part="1" +AR Path="/5CE21290/5CE154F0" Ref="R9" Part="1" +F 0 "R5" H 4970 2996 50 0000 L CNN +F 1 "10K" H 4970 2905 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric" V 4830 2950 50 0001 C CNN +F 3 "~" H 4900 2950 50 0001 C CNN + 1 4900 2950 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4650 2900 4650 2750 +Wire Wire Line + 4650 2750 4350 2750 +Wire Wire Line + 4350 2750 4350 2800 +$Comp +L power:+5V #PWR? +U 1 1 5CE154F9 +P 4900 2700 +AR Path="/5CE154F9" Ref="#PWR?" Part="1" +AR Path="/5CE12B9C/5CE154F9" Ref="#PWR017" Part="1" +AR Path="/5CE21290/5CE154F9" Ref="#PWR021" Part="1" +F 0 "#PWR017" H 4900 2550 50 0001 C CNN +F 1 "+5V" H 4915 2873 50 0000 C CNN +F 2 "" H 4900 2700 50 0001 C CNN +F 3 "" H 4900 2700 50 0001 C CNN + 1 4900 2700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4900 2700 4900 2800 +Wire Wire Line + 4900 3100 4900 3200 +Wire Wire Line + 4900 3200 4850 3200 +Wire Wire Line + 4450 3200 4350 3200 +Wire Wire Line + 4350 3200 4350 3100 +$Comp +L power:VPP #PWR? +U 1 1 5CE15504 +P 4350 2700 +AR Path="/5CE15504" Ref="#PWR?" Part="1" +AR Path="/5CE12B9C/5CE15504" Ref="#PWR016" Part="1" +AR Path="/5CE21290/5CE15504" Ref="#PWR020" Part="1" +F 0 "#PWR016" H 4350 2550 50 0001 C CNN +F 1 "VPP" H 4365 2873 50 0000 C CNN +F 2 "" H 4350 2700 50 0001 C CNN +F 3 "" H 4350 2700 50 0001 C CNN + 1 4350 2700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4350 2700 4350 2750 +Connection ~ 4350 2750 +$Comp +L turris-uart:BSS138BKS Q? +U 1 1 5CE1550C +P 4650 3200 +AR Path="/5CE1550C" Ref="Q?" Part="1" +AR Path="/5CE12B9C/5CE1550C" Ref="Q1" Part="1" +AR Path="/5CE21290/5CE1550C" Ref="Q2" Part="1" +F 0 "Q1" H 4650 3049 50 0000 C CNN +F 1 "BSS138BKS" H 4650 2958 50 0000 C CNN +F 2 "Package_SO:TSOP-6_1.65x3.05mm_P0.95mm" H 4200 3300 50 0001 C CNN +F 3 "http://www.farnell.com/datasheets/1758319.pdf?_ga=2.11490676.1790344801.1557572682-1084129068.1557572682" H 4200 3300 50 0001 C CNN + 1 4650 3200 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R? +U 1 1 5CE17F19 +P 6450 2950 +AR Path="/5CE17F19" Ref="R?" Part="1" +AR Path="/5CE12B9C/5CE17F19" Ref="R6" Part="1" +AR Path="/5CE21290/5CE17F19" Ref="R10" Part="1" +F 0 "R6" H 6520 2996 50 0000 L CNN +F 1 "10K" H 6520 2905 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric" V 6380 2950 50 0001 C CNN +F 3 "~" H 6450 2950 50 0001 C CNN + 1 6450 2950 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R? +U 1 1 5CE17F1F +P 7000 2950 +AR Path="/5CE17F1F" Ref="R?" Part="1" +AR Path="/5CE12B9C/5CE17F1F" Ref="R7" Part="1" +AR Path="/5CE21290/5CE17F1F" Ref="R11" Part="1" +F 0 "R7" H 7070 2996 50 0000 L CNN +F 1 "10K" H 7070 2905 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric" V 6930 2950 50 0001 C CNN +F 3 "~" H 7000 2950 50 0001 C CNN + 1 7000 2950 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6750 2900 6750 2750 +Wire Wire Line + 6750 2750 6450 2750 +Wire Wire Line + 6450 2750 6450 2800 +$Comp +L power:+5V #PWR? +U 1 1 5CE17F28 +P 7000 2700 +AR Path="/5CE17F28" Ref="#PWR?" Part="1" +AR Path="/5CE12B9C/5CE17F28" Ref="#PWR019" Part="1" +AR Path="/5CE21290/5CE17F28" Ref="#PWR023" Part="1" +F 0 "#PWR019" H 7000 2550 50 0001 C CNN +F 1 "+5V" H 7015 2873 50 0000 C CNN +F 2 "" H 7000 2700 50 0001 C CNN +F 3 "" H 7000 2700 50 0001 C CNN + 1 7000 2700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7000 2700 7000 2800 +Wire Wire Line + 7000 3100 7000 3200 +Wire Wire Line + 7000 3200 6950 3200 +Wire Wire Line + 6550 3200 6450 3200 +Wire Wire Line + 6450 3200 6450 3100 +$Comp +L power:VPP #PWR? +U 1 1 5CE17F33 +P 6450 2700 +AR Path="/5CE17F33" Ref="#PWR?" Part="1" +AR Path="/5CE12B9C/5CE17F33" Ref="#PWR018" Part="1" +AR Path="/5CE21290/5CE17F33" Ref="#PWR022" Part="1" +F 0 "#PWR018" H 6450 2550 50 0001 C CNN +F 1 "VPP" H 6465 2873 50 0000 C CNN +F 2 "" H 6450 2700 50 0001 C CNN +F 3 "" H 6450 2700 50 0001 C CNN + 1 6450 2700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6450 2700 6450 2750 +Connection ~ 6450 2750 +$Comp +L turris-uart:BSS138BKS Q1 +U 2 1 5CE1828D +P 6750 3200 +AR Path="/5CE12B9C/5CE1828D" Ref="Q1" Part="2" +AR Path="/5CE21290/5CE1828D" Ref="Q2" Part="2" +F 0 "Q1" H 6750 3049 50 0000 C CNN +F 1 "BSS138BKS" H 6750 2958 50 0000 C CNN +F 2 "Package_SO:TSOP-6_1.65x3.05mm_P0.95mm" H 6300 3300 50 0001 C CNN +F 3 "http://www.farnell.com/datasheets/1758319.pdf?_ga=2.11490676.1790344801.1557572682-1084129068.1557572682" H 6300 3300 50 0001 C CNN + 2 6750 3200 + 1 0 0 -1 +$EndComp +Text HLabel 4150 3200 0 50 BiDi ~ 0 +LV1 +Text HLabel 6250 3200 0 50 BiDi ~ 0 +LV2 +Text HLabel 7200 3200 2 50 BiDi ~ 0 +HV2 +Text HLabel 5100 3200 2 50 BiDi ~ 0 +HV1 +Wire Wire Line + 4150 3200 4350 3200 +Connection ~ 4350 3200 +Wire Wire Line + 5100 3200 4900 3200 +Connection ~ 4900 3200 +Wire Wire Line + 6250 3200 6450 3200 +Connection ~ 6450 3200 +Wire Wire Line + 7000 3200 7200 3200 +Connection ~ 7000 3200 +$EndSCHEMATC diff --git a/sym-lib-table b/sym-lib-table new file mode 100644 index 0000000..b33f4e1 --- /dev/null +++ b/sym-lib-table @@ -0,0 +1,3 @@ +(sym_lib_table + (lib (name turris-uart)(type Legacy)(uri ${KIPRJMOD}/turris-uart.lib)(options "")(descr "")) +) diff --git a/turris-uart-cache.lib b/turris-uart-cache.lib new file mode 100644 index 0000000..413cc83 --- /dev/null +++ b/turris-uart-cache.lib @@ -0,0 +1,330 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# Connector_Generic_Conn_01x02 +# +DEF Connector_Generic_Conn_01x02 J 0 40 Y N 1 F N +F0 "J" 0 100 50 H V C CNN +F1 "Connector_Generic_Conn_01x02" 0 -200 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 50 50 -150 1 1 10 f +X Pin_1 1 -200 0 150 R 50 50 1 1 P +X Pin_2 2 -200 -100 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_Generic_Conn_01x04 +# +DEF Connector_Generic_Conn_01x04 J 0 40 Y N 1 F N +F0 "J" 0 200 50 H V C CNN +F1 "Connector_Generic_Conn_01x04" 0 -300 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S -50 -195 0 -205 1 1 6 N +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 105 0 95 1 1 6 N +S -50 150 50 -250 1 1 10 f +X Pin_1 1 -200 100 150 R 50 50 1 1 P +X Pin_2 2 -200 0 150 R 50 50 1 1 P +X Pin_3 3 -200 -100 150 R 50 50 1 1 P +X Pin_4 4 -200 -200 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_Generic_Conn_01x06 +# +DEF Connector_Generic_Conn_01x06 J 0 40 Y N 1 F N +F0 "J" 0 300 50 H V C CNN +F1 "Connector_Generic_Conn_01x06" 0 -400 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S -50 -295 0 -305 1 1 6 N +S -50 -195 0 -205 1 1 6 N +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 105 0 95 1 1 6 N +S -50 205 0 195 1 1 6 N +S -50 250 50 -350 1 1 10 f +X Pin_1 1 -200 200 150 R 50 50 1 1 P +X Pin_2 2 -200 100 150 R 50 50 1 1 P +X Pin_3 3 -200 0 150 R 50 50 1 1 P +X Pin_4 4 -200 -100 150 R 50 50 1 1 P +X Pin_5 5 -200 -200 150 R 50 50 1 1 P +X Pin_6 6 -200 -300 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_USB_B_Micro +# +DEF Connector_USB_B_Micro J 0 40 Y Y 1 F N +F0 "J" -200 450 50 H V L CNN +F1 "Connector_USB_B_Micro" -200 350 50 H V L CNN +F2 "" 150 -50 50 H I C CNN +F3 "" 150 -50 50 H I C CNN +ALIAS USB_B_Mini +$FPLIST + USB* +$ENDFPLIST +DRAW +C -150 85 25 0 1 10 F +C -25 135 15 0 1 10 F +S -200 -300 200 300 0 1 10 f +S -5 -300 5 -270 0 1 0 N +S 10 50 -20 20 0 1 10 F +S 200 -205 170 -195 0 1 0 N +S 200 -105 170 -95 0 1 0 N +S 200 -5 170 5 0 1 0 N +S 200 195 170 205 0 1 0 N +P 2 0 1 10 -75 85 25 85 N +P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N +P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N +P 4 0 1 10 25 110 25 60 75 85 25 110 F +P 5 0 1 0 -170 220 -70 220 -80 190 -160 190 -170 220 F +P 9 0 1 0 -185 230 -185 220 -175 190 -175 180 -65 180 -65 190 -55 220 -55 230 -185 230 N +X VBUS 1 300 200 100 L 50 50 1 1 w +X D- 2 300 -100 100 L 50 50 1 1 P +X D+ 3 300 0 100 L 50 50 1 1 P +X ID 4 300 -200 100 L 50 50 1 1 P +X GND 5 0 -400 100 U 50 50 1 1 w +X Shield 6 -100 -400 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_C +# +DEF Device_C C 0 10 N Y 1 F N +F0 "C" 25 100 50 H V L CNN +F1 "Device_C" 25 -100 50 H V L CNN +F2 "" 38 -150 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 20 -80 -30 80 -30 N +P 2 0 1 20 -80 30 80 30 N +X ~ 1 0 150 110 D 50 50 1 1 P +X ~ 2 0 -150 110 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_Crystal +# +DEF Device_Crystal Y 0 40 N N 1 F N +F0 "Y" 0 150 50 H V C CNN +F1 "Device_Crystal" 0 -150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Crystal* +$ENDFPLIST +DRAW +S -45 100 45 -100 0 1 12 N +P 2 0 1 0 -100 0 -75 0 N +P 2 0 1 20 -75 -50 -75 50 N +P 2 0 1 20 75 -50 75 50 N +P 2 0 1 0 100 0 75 0 N +X 1 1 -150 0 50 R 50 50 1 1 P +X 2 2 150 0 50 L 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_LED +# +DEF Device_LED D 0 40 N N 1 F N +F0 "D" 0 100 50 H V C CNN +F1 "Device_LED" 0 -100 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + LED* + LED_SMD:* + LED_THT:* +$ENDFPLIST +DRAW +P 2 0 1 8 -50 -50 -50 50 N +P 2 0 1 0 -50 0 50 0 N +P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N +P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N +P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N +X K 1 -150 0 100 R 50 50 1 1 P +X A 2 150 0 100 L 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_R +# +DEF Device_R R 0 0 N Y 1 F N +F0 "R" 80 0 50 V V C CNN +F1 "Device_R" 0 0 50 V V C CNN +F2 "" -70 0 50 V I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + R_* +$ENDFPLIST +DRAW +S -40 -100 40 100 0 1 10 N +X ~ 1 0 150 50 D 50 50 1 1 P +X ~ 2 0 -150 50 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Graphic_Logo_Open_Hardware_Small +# +DEF ~Graphic_Logo_Open_Hardware_Small #LOGO 0 40 Y Y 1 F N +F0 "#LOGO" 0 275 50 H I C CNN +F1 "Graphic_Logo_Open_Hardware_Small" 0 -225 50 H I C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 277 0 1 0 132 -171 130 -170 125 -167 118 -162 109 -156 100 -150 93 -146 88 -142 86 -141 85 -142 81 -144 75 -147 71 -149 66 -151 63 -151 63 -151 61 -147 58 -139 53 -130 49 -119 44 -107 38 -95 34 -83 29 -72 26 -64 24 -58 23 -55 23 -55 26 -52 31 -49 41 -40 51 -27 57 -13 60 3 58 18 52 32 42 45 30 54 16 60 0 62 -15 61 -29 55 -42 45 -48 39 -55 26 -60 12 -60 9 -59 -7 -55 -21 -47 -34 -36 -45 -34 -46 -29 -50 -25 -53 -23 -55 -42 -102 -45 -110 -51 -123 -55 -134 -59 -143 -62 -149 -63 -151 -63 -151 -65 -151 -68 -150 -75 -147 -79 -145 -84 -142 -87 -141 -89 -142 -93 -145 -100 -150 -109 -156 -117 -161 -124 -166 -130 -170 -132 -171 -133 -171 -135 -170 -139 -166 -146 -160 -155 -151 -156 -150 -164 -142 -170 -136 -174 -131 -175 -129 -175 -129 -174 -127 -170 -121 -166 -114 -160 -105 -144 -82 -153 -61 -155 -54 -159 -46 -161 -41 -162 -38 -165 -37 -170 -36 -179 -34 -189 -32 -199 -31 -207 -29 -214 -28 -217 -27 -217 -27 -218 -25 -218 -22 -218 -17 -219 -9 -219 3 -219 5 -218 16 -218 25 -218 30 -218 33 -218 33 -215 33 -209 35 -200 36 -190 38 -189 39 -179 41 -170 42 -164 44 -161 45 -161 45 -159 49 -156 56 -152 64 -149 72 -146 79 -144 85 -143 87 -143 87 -145 90 -148 95 -153 102 -160 111 -160 112 -166 121 -171 128 -174 133 -175 136 -175 136 -173 138 -169 143 -162 150 -155 158 -152 160 -144 169 -138 174 -134 177 -132 178 -132 178 -130 176 -124 172 -117 167 -108 161 -107 161 -98 155 -91 150 -86 146 -84 145 -83 145 -80 146 -73 148 -66 151 -58 155 -50 158 -45 160 -42 162 -42 162 -41 165 -40 171 -38 180 -36 191 -35 193 -33 203 -32 212 -31 218 -30 220 -28 221 -23 221 -16 221 -6 221 3 221 13 221 21 221 27 220 29 220 29 220 30 217 32 210 33 201 36 190 36 188 38 178 40 169 41 163 42 161 42 161 47 159 54 156 62 152 82 144 107 161 109 163 118 169 125 174 130 177 133 178 133 178 135 176 140 171 147 165 154 157 160 151 167 144 171 140 174 137 174 135 174 134 173 131 169 126 164 118 158 110 153 102 148 94 144 88 143 85 143 84 145 79 148 72 152 63 160 44 173 41 181 40 192 38 202 36 218 33 219 -26 216 -27 214 -27 208 -29 199 -30 189 -32 181 -34 172 -36 166 -37 163 -37 162 -38 160 -42 157 -49 154 -57 150 -65 147 -73 145 -79 144 -82 145 -84 149 -89 153 -97 159 -105 165 -114 170 -121 173 -126 175 -129 174 -131 171 -135 164 -141 155 -151 153 -152 145 -160 139 -166 134 -170 132 -171 F +ENDDRAW +ENDDEF +# +# Interface_USB_MCP2200-I-SS +# +DEF Interface_USB_MCP2200-I-SS U 0 40 Y Y 1 F N +F0 "U" -800 -750 50 H V L CNN +F1 "Interface_USB_MCP2200-I-SS" -800 750 50 H V L CNN +F2 "Package_SO:SSOP-20_5.3x7.2mm_P0.65mm" 0 -1150 50 H I C CNN +F3 "" 0 -1000 50 H I C CNN +ALIAS MCP2200-E-SS MCP2200T-E-SS MCP2200T-I-SS +$FPLIST + SSOP*20*5.3x7.2mm*P0.65mm* +$ENDFPLIST +DRAW +S -800 700 800 -700 0 1 10 f +X VDD 1 -100 800 100 D 50 50 1 1 W +X TX 10 -900 400 100 R 50 50 1 1 O +X RTS 11 -900 300 100 R 50 50 1 1 O +X RX 12 -900 500 100 R 50 50 1 1 I +X CTS 13 -900 200 100 R 50 50 1 1 I +X GP2 14 -900 -100 100 R 50 50 1 1 B +X GP1/USB-CFG 15 -900 0 100 R 50 50 1 1 B +X GP0/SSPND 16 -900 100 100 R 50 50 1 1 B +X V_USB 17 100 800 100 D 50 50 1 1 W +X D- 18 900 400 100 L 50 50 1 1 B +X D+ 19 900 600 100 L 50 50 1 1 B +X OSC1 2 900 -400 100 L 50 50 1 1 I +X VSS 20 0 -800 100 U 50 50 1 1 W +X OSC2 3 900 -600 100 L 50 50 1 1 O +X RST 4 -900 600 100 R 50 50 1 1 I +X GP7/TxLED 5 -900 -600 100 R 50 50 1 1 B +X GP6/RxLED 6 -900 -500 100 R 50 50 1 1 B +X GP5 7 -900 -400 100 R 50 50 1 1 B +X GP4 8 -900 -300 100 R 50 50 1 1 B +X GP3 9 -900 -200 100 R 50 50 1 1 B +ENDDRAW +ENDDEF +# +# power_+5V +# +DEF power_+5V #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "power_+5V" 0 140 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X +5V 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# power_GND +# +DEF power_GND #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -250 50 H I C CNN +F1 "power_GND" 0 -150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N +X GND 1 0 0 0 D 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# power_VPP +# +DEF power_VPP #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "power_VPP" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X VPP 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# turris-uart_BSS138BKS +# +DEF turris-uart_BSS138BKS Q 0 0 Y N 2 F N +F0 "Q" 0 -250 50 H V C CNN +F1 "turris-uart_BSS138BKS" 0 -150 50 H V C CNN +F2 "Package_SO:TSOP-6_1.65x3.05mm_P0.95mm" -450 100 50 H I C CNN +F3 "" -450 100 50 H I C CNN +DRAW +C -70 0 11 1 1 0 F +C 0 35 111 1 1 10 N +C 70 0 11 1 1 0 F +C -70 0 11 2 1 0 F +C 0 35 111 2 1 10 N +C 70 0 11 2 1 0 F +P 2 1 1 0 -70 0 -100 0 N +P 2 1 1 0 -70 0 0 0 N +P 2 1 1 0 -70 70 -70 0 N +P 2 1 1 10 -50 70 -90 70 N +P 2 1 1 0 0 70 0 0 N +P 2 1 1 10 20 70 -20 70 N +P 2 1 1 0 70 70 70 0 N +P 2 1 1 10 90 70 50 70 N +P 2 1 1 0 100 0 70 0 N +P 3 1 1 10 75 90 -75 90 -75 90 N +P 4 1 1 0 -70 0 -70 -30 70 -30 70 0 N +P 4 1 1 0 0 60 15 20 -15 20 0 60 F +P 4 1 1 0 15 -30 -10 -15 -10 -45 15 -30 N +P 4 1 1 0 20 -10 15 -15 15 -45 10 -50 N +P 2 2 1 0 -70 0 -100 0 N +P 2 2 1 0 -70 0 0 0 N +P 2 2 1 0 -70 70 -70 0 N +P 2 2 1 10 -50 70 -90 70 N +P 2 2 1 0 0 70 0 0 N +P 2 2 1 10 20 70 -20 70 N +P 2 2 1 0 70 70 70 0 N +P 2 2 1 10 90 70 50 70 N +P 2 2 1 0 100 0 70 0 N +P 3 2 1 10 75 90 -75 90 -75 90 N +P 4 2 1 0 -70 0 -70 -30 70 -30 70 0 N +P 4 2 1 0 0 60 15 20 -15 20 0 60 F +P 4 2 1 0 15 -30 -10 -15 -10 -45 15 -30 N +P 4 2 1 0 20 -10 15 -15 15 -45 10 -50 N +X S 1 -200 0 100 R 50 50 1 1 P +X G 2 0 300 210 D 50 50 1 1 I +X D 3 200 0 100 L 50 50 1 1 P +X S 4 -200 0 100 R 50 50 2 1 P +X G 5 0 300 210 D 50 50 2 1 I +X D 6 200 0 100 L 50 50 2 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/turris-uart.dcm b/turris-uart.dcm new file mode 100644 index 0000000..8225d34 --- /dev/null +++ b/turris-uart.dcm @@ -0,0 +1,9 @@ +EESchema-DOCLIB Version 2.0 +# +$CMP BSS138BKS +D 60V, 320mA dual N-channel Trench MOSFET +K N-Channel MOSFET +F http://www.farnell.com/datasheets/1758319.pdf?_ga=2.11490676.1790344801.1557572682-1084129068.1557572682 +$ENDCMP +# +#End Doc Library diff --git a/turris-uart.kicad_pcb b/turris-uart.kicad_pcb new file mode 100644 index 0000000..92bfe0d --- /dev/null +++ b/turris-uart.kicad_pcb @@ -0,0 +1,1269 @@ +(kicad_pcb (version 20171130) (host pcbnew 5.1.0) + + (general + (thickness 1.6) + (drawings 0) + (tracks 0) + (zones 0) + (modules 25) + (nets 28) + ) + + (page A4) + (layers + (0 F.Cu signal) + (31 B.Cu signal) + (32 B.Adhes user) + (33 F.Adhes user) + (34 B.Paste user) + (35 F.Paste user) + (36 B.SilkS user) + (37 F.SilkS user) + (38 B.Mask user) + (39 F.Mask user) + (40 Dwgs.User user) + (41 Cmts.User user) + (42 Eco1.User user) + (43 Eco2.User user) + (44 Edge.Cuts user) + (45 Margin user) + (46 B.CrtYd user) + (47 F.CrtYd user) + (48 B.Fab user) + (49 F.Fab user) + ) + + (setup + (last_trace_width 0.25) + (trace_clearance 0.2) + (zone_clearance 0.508) + (zone_45_only no) + (trace_min 0.2) + (via_size 0.8) + (via_drill 0.4) + (via_min_size 0.4) + (via_min_drill 0.3) + (uvia_size 0.3) + (uvia_drill 0.1) + (uvias_allowed no) + (uvia_min_size 0.2) + (uvia_min_drill 0.1) + (edge_width 0.05) + (segment_width 0.2) + (pcb_text_width 0.3) + (pcb_text_size 1.5 1.5) + (mod_edge_width 0.12) + (mod_text_size 1 1) + (mod_text_width 0.15) + (pad_size 1.524 1.524) + (pad_drill 0.762) + (pad_to_mask_clearance 0.051) + (solder_mask_min_width 0.25) + (aux_axis_origin 0 0) + (visible_elements FFFFFF7F) + (pcbplotparams + (layerselection 0x010fc_ffffffff) + (usegerberextensions false) + (usegerberattributes false) + (usegerberadvancedattributes false) + (creategerberjobfile false) + (excludeedgelayer true) + (linewidth 0.100000) + (plotframeref false) + (viasonmask false) + (mode 1) + (useauxorigin false) + (hpglpennumber 1) + (hpglpenspeed 20) + (hpglpendiameter 15.000000) + (psnegative false) + (psa4output false) + (plotreference true) + (plotvalue true) + (plotinvisibletext false) + (padsonsilk false) + (subtractmaskfromsilk false) + (outputformat 1) + (mirror false) + (drillshape 1) + (scaleselection 1) + (outputdirectory "")) + ) + + (net 0 "") + (net 1 GND) + (net 2 +5V) + (net 3 "Net-(C2-Pad2)") + (net 4 "Net-(C3-Pad2)") + (net 5 "Net-(C4-Pad2)") + (net 6 "Net-(D1-Pad2)") + (net 7 "Net-(D2-Pad2)") + (net 8 /USB_D-) + (net 9 /USB_D+) + (net 10 "Net-(J1-Pad4)") + (net 11 VPP) + (net 12 /RX) + (net 13 /TX) + (net 14 /RTS) + (net 15 /CTS) + (net 16 /GP0) + (net 17 /GP1) + (net 18 /GP2) + (net 19 /GP3) + (net 20 /GP4) + (net 21 /GP5) + (net 22 /RX_5) + (net 23 /TX_5) + (net 24 /CTS_5) + (net 25 /RTS_5) + (net 26 /LED_RX) + (net 27 /LED_TX) + + (net_class Default "This is the default net class." + (clearance 0.2) + (trace_width 0.25) + (via_dia 0.8) + (via_drill 0.4) + (uvia_dia 0.3) + (uvia_drill 0.1) + (add_net +5V) + (add_net /CTS) + (add_net /CTS_5) + (add_net /GP0) + (add_net /GP1) + (add_net /GP2) + (add_net /GP3) + (add_net /GP4) + (add_net /GP5) + (add_net /LED_RX) + (add_net /LED_TX) + (add_net /RTS) + (add_net /RTS_5) + (add_net /RX) + (add_net /RX_5) + (add_net /TX) + (add_net /TX_5) + (add_net /USB_D+) + (add_net /USB_D-) + (add_net GND) + (add_net "Net-(C2-Pad2)") + (add_net "Net-(C3-Pad2)") + (add_net "Net-(C4-Pad2)") + (add_net "Net-(D1-Pad2)") + (add_net "Net-(D2-Pad2)") + (add_net "Net-(J1-Pad4)") + (add_net VPP) + ) + + (module Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm (layer F.Cu) (tedit 5A0FD1B2) (tstamp 5CD85E74) + (at 83.05 106.47) + (descr "SMD Crystal FC-135 https://support.epson.biz/td/api/doc_check.php?dl=brief_FC-135R_en.pdf") + (tags "SMD SMT Crystal") + (path /5CDC854E) + (attr smd) + (fp_text reference Y1 (at 0 -2) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value Crystal (at 0 2) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 2 -1.15) (end 2 1.15) (layer F.CrtYd) (width 0.05)) + (fp_line (start -2 -1.15) (end -2 1.15) (layer F.CrtYd) (width 0.05)) + (fp_line (start -2 1.15) (end 2 1.15) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.6 0.75) (end 1.6 0.75) (layer F.Fab) (width 0.1)) + (fp_line (start -1.6 -0.75) (end 1.6 -0.75) (layer F.Fab) (width 0.1)) + (fp_line (start 1.6 -0.75) (end 1.6 0.75) (layer F.Fab) (width 0.1)) + (fp_line (start -0.675 -0.875) (end 0.675 -0.875) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.675 0.875) (end 0.675 0.875) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.6 -0.75) (end -1.6 0.75) (layer F.Fab) (width 0.1)) + (fp_line (start -2 -1.15) (end 2 -1.15) (layer F.CrtYd) (width 0.05)) + (fp_text user %R (at 0 -2) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (pad 2 smd rect (at -1.25 0) (size 1 1.8) (layers F.Cu F.Paste F.Mask) + (net 5 "Net-(C4-Pad2)")) + (pad 1 smd rect (at 1.25 0) (size 1 1.8) (layers F.Cu F.Paste F.Mask) + (net 4 "Net-(C3-Pad2)")) + (model ${KISYS3DMOD}/Crystal.3dshapes/Crystal_SMD_3215-2Pin_3.2x1.5mm.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Package_SO:SSOP-20_5.3x7.2mm_P0.65mm (layer F.Cu) (tedit 5A02F25C) (tstamp 5CD85E63) + (at 111.76 107.95) + (descr "20-Lead Plastic Shrink Small Outline (SS)-5.30 mm Body [SSOP] (see Microchip Packaging Specification 00000049BS.pdf)") + (tags "SSOP 0.65") + (path /5CD6F647) + (attr smd) + (fp_text reference U1 (at 0 -4.75) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value MCP2200-I-SS (at 0 4.75) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.8 0.8) (thickness 0.15))) + ) + (fp_line (start -2.875 -3.475) (end -4.475 -3.475) (layer F.SilkS) (width 0.15)) + (fp_line (start -2.875 3.825) (end 2.875 3.825) (layer F.SilkS) (width 0.15)) + (fp_line (start -2.875 -3.825) (end 2.875 -3.825) (layer F.SilkS) (width 0.15)) + (fp_line (start -2.875 3.825) (end -2.875 3.375) (layer F.SilkS) (width 0.15)) + (fp_line (start 2.875 3.825) (end 2.875 3.375) (layer F.SilkS) (width 0.15)) + (fp_line (start 2.875 -3.825) (end 2.875 -3.375) (layer F.SilkS) (width 0.15)) + (fp_line (start -2.875 -3.825) (end -2.875 -3.475) (layer F.SilkS) (width 0.15)) + (fp_line (start -4.75 4) (end 4.75 4) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.75 -4) (end 4.75 -4) (layer F.CrtYd) (width 0.05)) + (fp_line (start 4.75 -4) (end 4.75 4) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.75 -4) (end -4.75 4) (layer F.CrtYd) (width 0.05)) + (fp_line (start -2.65 -2.6) (end -1.65 -3.6) (layer F.Fab) (width 0.15)) + (fp_line (start -2.65 3.6) (end -2.65 -2.6) (layer F.Fab) (width 0.15)) + (fp_line (start 2.65 3.6) (end -2.65 3.6) (layer F.Fab) (width 0.15)) + (fp_line (start 2.65 -3.6) (end 2.65 3.6) (layer F.Fab) (width 0.15)) + (fp_line (start -1.65 -3.6) (end 2.65 -3.6) (layer F.Fab) (width 0.15)) + (pad 20 smd rect (at 3.6 -2.925) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 1 GND)) + (pad 19 smd rect (at 3.6 -2.275) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 9 /USB_D+)) + (pad 18 smd rect (at 3.6 -1.625) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 8 /USB_D-)) + (pad 17 smd rect (at 3.6 -0.975) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 3 "Net-(C2-Pad2)")) + (pad 16 smd rect (at 3.6 -0.325) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 16 /GP0)) + (pad 15 smd rect (at 3.6 0.325) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 17 /GP1)) + (pad 14 smd rect (at 3.6 0.975) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 18 /GP2)) + (pad 13 smd rect (at 3.6 1.625) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 24 /CTS_5)) + (pad 12 smd rect (at 3.6 2.275) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 22 /RX_5)) + (pad 11 smd rect (at 3.6 2.925) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 25 /RTS_5)) + (pad 10 smd rect (at -3.6 2.925) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 23 /TX_5)) + (pad 9 smd rect (at -3.6 2.275) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 19 /GP3)) + (pad 8 smd rect (at -3.6 1.625) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 20 /GP4)) + (pad 7 smd rect (at -3.6 0.975) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 21 /GP5)) + (pad 6 smd rect (at -3.6 0.325) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 26 /LED_RX)) + (pad 5 smd rect (at -3.6 -0.325) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 27 /LED_TX)) + (pad 4 smd rect (at -3.6 -0.975) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 2 +5V)) + (pad 3 smd rect (at -3.6 -1.625) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 5 "Net-(C4-Pad2)")) + (pad 2 smd rect (at -3.6 -2.275) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 4 "Net-(C3-Pad2)")) + (pad 1 smd rect (at -3.6 -2.925) (size 1.75 0.45) (layers F.Cu F.Paste F.Mask) + (net 2 +5V)) + (model ${KISYS3DMOD}/Package_SO.3dshapes/SSOP-20_5.3x7.2mm_P0.65mm.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85E3A) + (at 135.29 97.59) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE21290/5CE17F1F) + (attr smd) + (fp_text reference R11 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 10K (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 24 /CTS_5)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 2 +5V)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85E29) + (at 130.88 100.54) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE21290/5CE17F19) + (attr smd) + (fp_text reference R10 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 10K (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 15 /CTS)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 11 VPP)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85E18) + (at 130.88 97.59) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE21290/5CE154F0) + (attr smd) + (fp_text reference R9 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 10K (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 25 /RTS_5)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 2 +5V)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85E07) + (at 126.31 102.19) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE21290/5CE154EA) + (attr smd) + (fp_text reference R8 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 10K (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 14 /RTS)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 11 VPP)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85DF6) + (at 135.29 86.82) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE12B9C/5CE17F1F) + (attr smd) + (fp_text reference R7 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 10K (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 23 /TX_5)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 2 +5V)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85DE5) + (at 130.88 89.77) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE12B9C/5CE17F19) + (attr smd) + (fp_text reference R6 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 10K (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 13 /TX)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 11 VPP)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85DD4) + (at 130.88 86.82) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE12B9C/5CE154F0) + (attr smd) + (fp_text reference R5 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 10K (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 22 /RX_5)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 2 +5V)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85DC3) + (at 126.31 91.42) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE12B9C/5CE154EA) + (attr smd) + (fp_text reference R4 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 10K (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 12 /RX)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 11 VPP)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85DB2) + (at 115.63 86.82) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE54802) + (attr smd) + (fp_text reference R3 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 1k5 (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 7 "Net-(D2-Pad2)")) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 27 /LED_TX)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85DA1) + (at 111.22 89.77) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE4F01B) + (attr smd) + (fp_text reference R2 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 1k5 (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 6 "Net-(D1-Pad2)")) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 26 /LED_RX)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Resistor_SMD:R_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85D90) + (at 111.22 86.82) + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags resistor) + (path /5CE5CC7E) + (attr smd) + (fp_text reference R1 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 10M (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 1 GND)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 11 VPP)) + (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Package_SO:TSOP-6_1.65x3.05mm_P0.95mm (layer F.Cu) (tedit 5A02F25C) (tstamp 5CD85D7F) + (at 97.79 87.63) + (descr "TSOP-6 package (comparable to TSOT-23), https://www.vishay.com/docs/71200/71200.pdf") + (tags "Jedec MO-193C TSOP-6L") + (path /5CE21290/5CE1550C) + (attr smd) + (fp_text reference Q2 (at 0 -2.45) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value BSS138BKS (at 0 2.5) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 1.76 1.77) (end -1.76 1.77) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.76 1.77) (end 1.76 -1.78) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.76 -1.78) (end -1.76 1.77) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.76 -1.78) (end 1.76 -1.78) (layer F.CrtYd) (width 0.05)) + (fp_line (start 0.825 -1.525) (end 0.825 1.525) (layer F.Fab) (width 0.1)) + (fp_line (start 0.825 1.525) (end -0.825 1.525) (layer F.Fab) (width 0.1)) + (fp_line (start -0.825 -1.1) (end -0.825 1.525) (layer F.Fab) (width 0.1)) + (fp_line (start 0.825 -1.525) (end -0.425 -1.525) (layer F.Fab) (width 0.1)) + (fp_line (start -0.825 -1.1) (end -0.425 -1.525) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -1.6) (end -1.5 -1.6) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.8 1.6) (end 0.8 1.6) (layer F.SilkS) (width 0.12)) + (fp_text user %R (at 0 0 90) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.075))) + ) + (pad 6 smd rect (at 1.16 -0.95) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 24 /CTS_5)) + (pad 5 smd rect (at 1.16 0) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 11 VPP)) + (pad 4 smd rect (at 1.16 0.95) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 15 /CTS)) + (pad 3 smd rect (at -1.16 0.95) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 25 /RTS_5)) + (pad 2 smd rect (at -1.16 0) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 11 VPP)) + (pad 1 smd rect (at -1.16 -0.95) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 14 /RTS)) + (model ${KISYS3DMOD}/Package_SO.3dshapes/TSOP-6_1.65x3.05mm_P0.95mm.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Package_SO:TSOP-6_1.65x3.05mm_P0.95mm (layer F.Cu) (tedit 5A02F25C) (tstamp 5CD85D69) + (at 106.68 87.63) + (descr "TSOP-6 package (comparable to TSOT-23), https://www.vishay.com/docs/71200/71200.pdf") + (tags "Jedec MO-193C TSOP-6L") + (path /5CE12B9C/5CE1550C) + (attr smd) + (fp_text reference Q1 (at 0 -2.45) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value BSS138BKS (at 0 2.5) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 1.76 1.77) (end -1.76 1.77) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.76 1.77) (end 1.76 -1.78) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.76 -1.78) (end -1.76 1.77) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.76 -1.78) (end 1.76 -1.78) (layer F.CrtYd) (width 0.05)) + (fp_line (start 0.825 -1.525) (end 0.825 1.525) (layer F.Fab) (width 0.1)) + (fp_line (start 0.825 1.525) (end -0.825 1.525) (layer F.Fab) (width 0.1)) + (fp_line (start -0.825 -1.1) (end -0.825 1.525) (layer F.Fab) (width 0.1)) + (fp_line (start 0.825 -1.525) (end -0.425 -1.525) (layer F.Fab) (width 0.1)) + (fp_line (start -0.825 -1.1) (end -0.425 -1.525) (layer F.Fab) (width 0.1)) + (fp_line (start 0.8 -1.6) (end -1.5 -1.6) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.8 1.6) (end 0.8 1.6) (layer F.SilkS) (width 0.12)) + (fp_text user %R (at 0 0 90) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.075))) + ) + (pad 6 smd rect (at 1.16 -0.95) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 23 /TX_5)) + (pad 5 smd rect (at 1.16 0) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 11 VPP)) + (pad 4 smd rect (at 1.16 0.95) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 13 /TX)) + (pad 3 smd rect (at -1.16 0.95) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 22 /RX_5)) + (pad 2 smd rect (at -1.16 0) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 11 VPP)) + (pad 1 smd rect (at -1.16 -0.95) (size 0.7 0.51) (layers F.Cu F.Paste F.Mask) + (net 12 /RX)) + (model ${KISYS3DMOD}/Package_SO.3dshapes/TSOP-6_1.65x3.05mm_P0.95mm.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Connector_PinHeader_1.27mm:PinHeader_1x06_P1.27mm_Vertical (layer F.Cu) (tedit 59FED6E3) (tstamp 5CD85D53) + (at 91.44 85.09) + (descr "Through hole straight pin header, 1x06, 1.27mm pitch, single row") + (tags "Through hole pin header THT 1x06 1.27mm single row") + (path /5CE3E385) + (fp_text reference J4 (at 0 -1.695) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value Conn_01x06 (at 0 8.045) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 3.175 90) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 1.55 -1.15) (end -1.55 -1.15) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.55 7.5) (end 1.55 -1.15) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.55 7.5) (end 1.55 7.5) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.55 -1.15) (end -1.55 7.5) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.11 -0.76) (end 0 -0.76) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.11 0) (end -1.11 -0.76) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.563471 0.76) (end 1.11 0.76) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.11 0.76) (end -0.563471 0.76) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.11 0.76) (end 1.11 7.045) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.11 0.76) (end -1.11 7.045) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.30753 7.045) (end 1.11 7.045) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.11 7.045) (end -0.30753 7.045) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.05 -0.11) (end -0.525 -0.635) (layer F.Fab) (width 0.1)) + (fp_line (start -1.05 6.985) (end -1.05 -0.11) (layer F.Fab) (width 0.1)) + (fp_line (start 1.05 6.985) (end -1.05 6.985) (layer F.Fab) (width 0.1)) + (fp_line (start 1.05 -0.635) (end 1.05 6.985) (layer F.Fab) (width 0.1)) + (fp_line (start -0.525 -0.635) (end 1.05 -0.635) (layer F.Fab) (width 0.1)) + (pad 6 thru_hole oval (at 0 6.35) (size 1 1) (drill 0.65) (layers *.Cu *.Mask) + (net 21 /GP5)) + (pad 5 thru_hole oval (at 0 5.08) (size 1 1) (drill 0.65) (layers *.Cu *.Mask) + (net 20 /GP4)) + (pad 4 thru_hole oval (at 0 3.81) (size 1 1) (drill 0.65) (layers *.Cu *.Mask) + (net 19 /GP3)) + (pad 3 thru_hole oval (at 0 2.54) (size 1 1) (drill 0.65) (layers *.Cu *.Mask) + (net 18 /GP2)) + (pad 2 thru_hole oval (at 0 1.27) (size 1 1) (drill 0.65) (layers *.Cu *.Mask) + (net 17 /GP1)) + (pad 1 thru_hole rect (at 0 0) (size 1 1) (drill 0.65) (layers *.Cu *.Mask) + (net 16 /GP0)) + (model ${KISYS3DMOD}/Connector_PinHeader_1.27mm.3dshapes/PinHeader_1x06_P1.27mm_Vertical.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Horizontal (layer F.Cu) (tedit 59FED5CB) (tstamp 5CD866AE) + (at 96.52 80.01 90) + (descr "Through hole angled pin header, 1x02, 2.54mm pitch, 6mm pin length, single row") + (tags "Through hole angled pin header THT 1x02 2.54mm single row") + (path /5CE365FF) + (fp_text reference J3 (at 4.385 -2.27 90) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value Conn_01x02 (at 4.385 4.81 90) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 2.77 1.27 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 10.55 -1.8) (end -1.8 -1.8) (layer F.CrtYd) (width 0.05)) + (fp_line (start 10.55 4.35) (end 10.55 -1.8) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 4.35) (end 10.55 4.35) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 -1.8) (end -1.8 4.35) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.27 -1.27) (end 0 -1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.27 0) (end -1.27 -1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.042929 2.92) (end 1.44 2.92) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.042929 2.16) (end 1.44 2.16) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 2.92) (end 4.1 2.92) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 2.16) (end 10.1 2.92) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 2.16) (end 10.1 2.16) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.44 1.27) (end 4.1 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.11 0.38) (end 1.44 0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.11 -0.38) (end 1.44 -0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 0.28) (end 10.1 0.28) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 0.16) (end 10.1 0.16) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 0.04) (end 10.1 0.04) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -0.08) (end 10.1 -0.08) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -0.2) (end 10.1 -0.2) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -0.32) (end 10.1 -0.32) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 0.38) (end 4.1 0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 -0.38) (end 10.1 0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -0.38) (end 10.1 -0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -1.33) (end 1.44 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 3.87) (end 4.1 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.44 3.87) (end 4.1 3.87) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.44 -1.33) (end 1.44 3.87) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.04 2.86) (end 10.04 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start 10.04 2.22) (end 10.04 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 2.22) (end 10.04 2.22) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 2.86) (end 1.5 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 2.22) (end -0.32 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 2.22) (end 1.5 2.22) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 0.32) (end 10.04 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start 10.04 -0.32) (end 10.04 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 -0.32) (end 10.04 -0.32) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 0.32) (end 1.5 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 -0.32) (end -0.32 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 -0.32) (end 1.5 -0.32) (layer F.Fab) (width 0.1)) + (fp_line (start 1.5 -0.635) (end 2.135 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 1.5 3.81) (end 1.5 -0.635) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 3.81) (end 1.5 3.81) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 -1.27) (end 4.04 3.81) (layer F.Fab) (width 0.1)) + (fp_line (start 2.135 -1.27) (end 4.04 -1.27) (layer F.Fab) (width 0.1)) + (pad 2 thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 15 /CTS)) + (pad 1 thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 14 /RTS)) + (model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x02_P2.54mm_Horizontal.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Horizontal (layer F.Cu) (tedit 59FED5CB) (tstamp 5CD85D04) + (at 105.41 80.01 90) + (descr "Through hole angled pin header, 1x04, 2.54mm pitch, 6mm pin length, single row") + (tags "Through hole angled pin header THT 1x04 2.54mm single row") + (path /5CE3097F) + (fp_text reference J2 (at 4.385 -2.27 90) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value Conn_01x04 (at 4.385 9.89 90) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 2.77 3.81 180) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 10.55 -1.8) (end -1.8 -1.8) (layer F.CrtYd) (width 0.05)) + (fp_line (start 10.55 9.4) (end 10.55 -1.8) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 9.4) (end 10.55 9.4) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.8 -1.8) (end -1.8 9.4) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.27 -1.27) (end 0 -1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.27 0) (end -1.27 -1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.042929 8) (end 1.44 8) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.042929 7.24) (end 1.44 7.24) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 8) (end 4.1 8) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 7.24) (end 10.1 8) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 7.24) (end 10.1 7.24) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.44 6.35) (end 4.1 6.35) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.042929 5.46) (end 1.44 5.46) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.042929 4.7) (end 1.44 4.7) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 5.46) (end 4.1 5.46) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 4.7) (end 10.1 5.46) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 4.7) (end 10.1 4.7) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.44 3.81) (end 4.1 3.81) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.042929 2.92) (end 1.44 2.92) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.042929 2.16) (end 1.44 2.16) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 2.92) (end 4.1 2.92) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 2.16) (end 10.1 2.92) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 2.16) (end 10.1 2.16) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.44 1.27) (end 4.1 1.27) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.11 0.38) (end 1.44 0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.11 -0.38) (end 1.44 -0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 0.28) (end 10.1 0.28) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 0.16) (end 10.1 0.16) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 0.04) (end 10.1 0.04) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -0.08) (end 10.1 -0.08) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -0.2) (end 10.1 -0.2) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -0.32) (end 10.1 -0.32) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 0.38) (end 4.1 0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.1 -0.38) (end 10.1 0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -0.38) (end 10.1 -0.38) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 -1.33) (end 1.44 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.1 8.95) (end 4.1 -1.33) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.44 8.95) (end 4.1 8.95) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.44 -1.33) (end 1.44 8.95) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.04 7.94) (end 10.04 7.94) (layer F.Fab) (width 0.1)) + (fp_line (start 10.04 7.3) (end 10.04 7.94) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 7.3) (end 10.04 7.3) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 7.94) (end 1.5 7.94) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 7.3) (end -0.32 7.94) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 7.3) (end 1.5 7.3) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 5.4) (end 10.04 5.4) (layer F.Fab) (width 0.1)) + (fp_line (start 10.04 4.76) (end 10.04 5.4) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 4.76) (end 10.04 4.76) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 5.4) (end 1.5 5.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 4.76) (end -0.32 5.4) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 4.76) (end 1.5 4.76) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 2.86) (end 10.04 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start 10.04 2.22) (end 10.04 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 2.22) (end 10.04 2.22) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 2.86) (end 1.5 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 2.22) (end -0.32 2.86) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 2.22) (end 1.5 2.22) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 0.32) (end 10.04 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start 10.04 -0.32) (end 10.04 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 -0.32) (end 10.04 -0.32) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 0.32) (end 1.5 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 -0.32) (end -0.32 0.32) (layer F.Fab) (width 0.1)) + (fp_line (start -0.32 -0.32) (end 1.5 -0.32) (layer F.Fab) (width 0.1)) + (fp_line (start 1.5 -0.635) (end 2.135 -1.27) (layer F.Fab) (width 0.1)) + (fp_line (start 1.5 8.89) (end 1.5 -0.635) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 8.89) (end 1.5 8.89) (layer F.Fab) (width 0.1)) + (fp_line (start 4.04 -1.27) (end 4.04 8.89) (layer F.Fab) (width 0.1)) + (fp_line (start 2.135 -1.27) (end 4.04 -1.27) (layer F.Fab) (width 0.1)) + (pad 4 thru_hole oval (at 0 7.62 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 1 GND)) + (pad 3 thru_hole oval (at 0 5.08 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 13 /TX)) + (pad 2 thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 12 /RX)) + (pad 1 thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) + (net 11 VPP)) + (model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x04_P2.54mm_Horizontal.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Connector_USB:USB_Micro-B_Wuerth_629105150521 (layer F.Cu) (tedit 5A142044) (tstamp 5CD8637B) + (at 113.03 121.92) + (descr "USB Micro-B receptacle, http://www.mouser.com/ds/2/445/629105150521-469306.pdf") + (tags "usb micro receptacle") + (path /5CDADDC1) + (attr smd) + (fp_text reference J1 (at 0 -3.5) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value USB_B_Micro (at 0 5.6) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user "PCB Edge" (at 0 3.75) (layer Dwgs.User) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_text user %R (at 0 1.05) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 4.95 -3.34) (end -4.94 -3.34) (layer F.CrtYd) (width 0.05)) + (fp_line (start 4.95 4.85) (end 4.95 -3.34) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.94 4.85) (end 4.95 4.85) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.94 -3.34) (end -4.94 4.85) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.8 -2.4) (end 2.8 -2.4) (layer F.SilkS) (width 0.15)) + (fp_line (start -1.8 -2.4) (end -2.8 -2.4) (layer F.SilkS) (width 0.15)) + (fp_line (start -1.8 -2.825) (end -1.8 -2.4) (layer F.SilkS) (width 0.15)) + (fp_line (start -1.075 -2.825) (end -1.8 -2.825) (layer F.SilkS) (width 0.15)) + (fp_line (start 4.15 0.75) (end 4.15 -0.65) (layer F.SilkS) (width 0.15)) + (fp_line (start 4.15 3.3) (end 4.15 3.15) (layer F.SilkS) (width 0.15)) + (fp_line (start 3.85 3.3) (end 4.15 3.3) (layer F.SilkS) (width 0.15)) + (fp_line (start 3.85 3.75) (end 3.85 3.3) (layer F.SilkS) (width 0.15)) + (fp_line (start -3.85 3.3) (end -3.85 3.75) (layer F.SilkS) (width 0.15)) + (fp_line (start -4.15 3.3) (end -3.85 3.3) (layer F.SilkS) (width 0.15)) + (fp_line (start -4.15 3.15) (end -4.15 3.3) (layer F.SilkS) (width 0.15)) + (fp_line (start -4.15 -0.65) (end -4.15 0.75) (layer F.SilkS) (width 0.15)) + (fp_line (start -1.075 -2.95) (end -1.075 -2.725) (layer F.Fab) (width 0.15)) + (fp_line (start -1.525 -2.95) (end -1.075 -2.95) (layer F.Fab) (width 0.15)) + (fp_line (start -1.525 -2.725) (end -1.525 -2.95) (layer F.Fab) (width 0.15)) + (fp_line (start -1.3 -2.55) (end -1.525 -2.725) (layer F.Fab) (width 0.15)) + (fp_line (start -1.075 -2.725) (end -1.3 -2.55) (layer F.Fab) (width 0.15)) + (fp_line (start -2.7 3.75) (end 2.7 3.75) (layer F.Fab) (width 0.15)) + (fp_line (start 4 -2.25) (end -4 -2.25) (layer F.Fab) (width 0.15)) + (fp_line (start 4 3.15) (end 4 -2.25) (layer F.Fab) (width 0.15)) + (fp_line (start 3.7 3.15) (end 4 3.15) (layer F.Fab) (width 0.15)) + (fp_line (start 3.7 4.35) (end 3.7 3.15) (layer F.Fab) (width 0.15)) + (fp_line (start -3.7 4.35) (end 3.7 4.35) (layer F.Fab) (width 0.15)) + (fp_line (start -3.7 3.15) (end -3.7 4.35) (layer F.Fab) (width 0.15)) + (fp_line (start -4 3.15) (end -3.7 3.15) (layer F.Fab) (width 0.15)) + (fp_line (start -4 -2.25) (end -4 3.15) (layer F.Fab) (width 0.15)) + (pad "" np_thru_hole oval (at 2.5 -0.8) (size 0.8 0.8) (drill 0.8) (layers *.Cu *.Mask)) + (pad "" np_thru_hole oval (at -2.5 -0.8) (size 0.8 0.8) (drill 0.8) (layers *.Cu *.Mask)) + (pad 6 thru_hole oval (at 3.875 1.95) (size 1.15 1.8) (drill oval 0.55 1.2) (layers *.Cu *.Mask) + (net 1 GND)) + (pad 6 thru_hole oval (at -3.875 1.95) (size 1.15 1.8) (drill oval 0.55 1.2) (layers *.Cu *.Mask) + (net 1 GND)) + (pad 6 thru_hole oval (at 3.725 -1.85) (size 1.45 2) (drill oval 0.85 1.4) (layers *.Cu *.Mask) + (net 1 GND)) + (pad 6 thru_hole oval (at -3.725 -1.85) (size 1.45 2) (drill oval 0.85 1.4) (layers *.Cu *.Mask) + (net 1 GND)) + (pad 5 smd rect (at 1.3 -1.9) (size 0.45 1.3) (layers F.Cu F.Paste F.Mask) + (net 1 GND)) + (pad 4 smd rect (at 0.65 -1.9) (size 0.45 1.3) (layers F.Cu F.Paste F.Mask) + (net 10 "Net-(J1-Pad4)")) + (pad 3 smd rect (at 0 -1.9) (size 0.45 1.3) (layers F.Cu F.Paste F.Mask) + (net 9 /USB_D+)) + (pad 2 smd rect (at -0.65 -1.9) (size 0.45 1.3) (layers F.Cu F.Paste F.Mask) + (net 8 /USB_D-)) + (pad 1 smd rect (at -1.3 -1.9) (size 0.45 1.3) (layers F.Cu F.Paste F.Mask) + (net 2 +5V)) + (model ${KISYS3DMOD}/Connector_USB.3dshapes/USB_Micro-B_Wuerth_629105150521.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module LED_SMD:LED_0805_2012Metric (layer F.Cu) (tedit 5B36C52C) (tstamp 5CD85C88) + (at 87.82 106.315) + (descr "LED SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags diode) + (path /5CE54808) + (attr smd) + (fp_text reference D2 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value LED (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.685 0.96) (end 1 0.96) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.685 -0.96) (end -1.685 0.96) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 -0.96) (end -1.685 -0.96) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.3) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -0.7 -0.6) (end -1 -0.3) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end -0.7 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 7 "Net-(D2-Pad2)")) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 1 GND)) + (model ${KISYS3DMOD}/LED_SMD.3dshapes/LED_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module LED_SMD:LED_0805_2012Metric (layer F.Cu) (tedit 5B36C52C) (tstamp 5CD85C75) + (at 96.17 105.155) + (descr "LED SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags diode) + (path /5CE4F78F) + (attr smd) + (fp_text reference D1 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value LED (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.685 0.96) (end 1 0.96) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.685 -0.96) (end -1.685 0.96) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 -0.96) (end -1.685 -0.96) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.3) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -0.7 -0.6) (end -1 -0.3) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end -0.7 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 6 "Net-(D1-Pad2)")) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 1 GND)) + (model ${KISYS3DMOD}/LED_SMD.3dshapes/LED_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Capacitor_SMD:C_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85C62) + (at 115.63 89.77) + (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags capacitor) + (path /5CDCB405) + (attr smd) + (fp_text reference C4 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 4p7 (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 5 "Net-(C4-Pad2)")) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 1 GND)) + (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Capacitor_SMD:C_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85C51) + (at 98.1225 113.03) + (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags capacitor) + (path /5CDC9A5D) + (attr smd) + (fp_text reference C3 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 4p7 (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 4 "Net-(C3-Pad2)")) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 1 GND)) + (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Capacitor_SMD:C_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85C40) + (at 111.22 92.72) + (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags capacitor) + (path /5CDC4E93) + (attr smd) + (fp_text reference C2 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 330n (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 3 "Net-(C2-Pad2)")) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 1 GND)) + (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (module Capacitor_SMD:C_0805_2012Metric (layer F.Cu) (tedit 5B36C52B) (tstamp 5CD85C2F) + (at 106.68 96.52) + (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (tags capacitor) + (path /5CDC370A) + (attr smd) + (fp_text reference C1 (at 0 -1.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value 470n (at 0 1.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.5 0.5) (thickness 0.08))) + ) + (fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer F.SilkS) (width 0.12)) + (fp_line (start 1 0.6) (end -1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start 1 -0.6) (end 1 0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 -0.6) (end 1 -0.6) (layer F.Fab) (width 0.1)) + (fp_line (start -1 0.6) (end -1 -0.6) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 1 GND)) + (pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25) + (net 2 +5V)) + (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + +) diff --git a/turris-uart.lib b/turris-uart.lib new file mode 100644 index 0000000..5a49c2e --- /dev/null +++ b/turris-uart.lib @@ -0,0 +1,55 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# BSS138BKS +# +DEF BSS138BKS Q 0 0 Y N 2 F N +F0 "Q" 0 -250 50 H V C CNN +F1 "BSS138BKS" 0 -150 50 H V C CNN +F2 "Package_SO:TSOP-6_1.65x3.05mm_P0.95mm" -450 100 50 H I C CNN +F3 "" -450 100 50 H I C CNN +DRAW +C -70 0 11 1 1 0 F +C 0 35 111 1 1 10 N +C 70 0 11 1 1 0 F +C -70 0 11 2 1 0 F +C 0 35 111 2 1 10 N +C 70 0 11 2 1 0 F +P 2 1 1 0 -70 0 -100 0 N +P 2 1 1 0 -70 0 0 0 N +P 2 1 1 0 -70 70 -70 0 N +P 2 1 1 10 -50 70 -90 70 N +P 2 1 1 0 0 70 0 0 N +P 2 1 1 10 20 70 -20 70 N +P 2 1 1 0 70 70 70 0 N +P 2 1 1 10 90 70 50 70 N +P 2 1 1 0 100 0 70 0 N +P 3 1 1 10 75 90 -75 90 -75 90 N +P 4 1 1 0 -70 0 -70 -30 70 -30 70 0 N +P 4 1 1 0 0 60 15 20 -15 20 0 60 F +P 4 1 1 0 15 -30 -10 -15 -10 -45 15 -30 N +P 4 1 1 0 20 -10 15 -15 15 -45 10 -50 N +P 2 2 1 0 -70 0 -100 0 N +P 2 2 1 0 -70 0 0 0 N +P 2 2 1 0 -70 70 -70 0 N +P 2 2 1 10 -50 70 -90 70 N +P 2 2 1 0 0 70 0 0 N +P 2 2 1 10 20 70 -20 70 N +P 2 2 1 0 70 70 70 0 N +P 2 2 1 10 90 70 50 70 N +P 2 2 1 0 100 0 70 0 N +P 3 2 1 10 75 90 -75 90 -75 90 N +P 4 2 1 0 -70 0 -70 -30 70 -30 70 0 N +P 4 2 1 0 0 60 15 20 -15 20 0 60 F +P 4 2 1 0 15 -30 -10 -15 -10 -45 15 -30 N +P 4 2 1 0 20 -10 15 -15 15 -45 10 -50 N +X S 1 -200 0 100 R 50 50 1 1 P +X G 2 0 300 210 D 50 50 1 1 I +X D 3 200 0 100 L 50 50 1 1 P +X S 4 -200 0 100 R 50 50 2 1 P +X G 5 0 300 210 D 50 50 2 1 I +X D 6 200 0 100 L 50 50 2 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/turris-uart.pro b/turris-uart.pro new file mode 100644 index 0000000..55b3fc1 --- /dev/null +++ b/turris-uart.pro @@ -0,0 +1,60 @@ +update=Sun 12 May 2019 12:11:34 PM CEST +version=1 +last_client=kicad +[general] +version=1 +RootSch= +BoardNm= +[cvpcb] +version=1 +NetIExt=net +[eeschema] +version=1 +LibDir= +[eeschema/libraries] +[pcbnew] +version=1 +PageLayoutDescrFile= +LastNetListRead=turris-uart.net +CopperLayerCount=2 +BoardThickness=1.6 +AllowMicroVias=0 +AllowBlindVias=0 +RequireCourtyardDefinitions=0 +ProhibitOverlappingCourtyards=1 +MinTrackWidth=0.2 +MinViaDiameter=0.4 +MinViaDrill=0.3 +MinMicroViaDiameter=0.2 +MinMicroViaDrill=0.09999999999999999 +MinHoleToHole=0.25 +TrackWidth1=0.25 +ViaDiameter1=0.8 +ViaDrill1=0.4 +dPairWidth1=0.2 +dPairGap1=0.25 +dPairViaGap1=0.25 +SilkLineWidth=0.12 +SilkTextSizeV=1 +SilkTextSizeH=1 +SilkTextSizeThickness=0.15 +SilkTextItalic=0 +SilkTextUpright=1 +CopperLineWidth=0.2 +CopperTextSizeV=1.5 +CopperTextSizeH=1.5 +CopperTextThickness=0.3 +CopperTextItalic=0 +CopperTextUpright=1 +EdgeCutLineWidth=0.05 +CourtyardLineWidth=0.05 +OthersLineWidth=0.15 +OthersTextSizeV=1 +OthersTextSizeH=1 +OthersTextSizeThickness=0.15 +OthersTextItalic=0 +OthersTextUpright=1 +SolderMaskClearance=0.051 +SolderMaskMinWidth=0.25 +SolderPasteClearance=0 +SolderPasteRatio=0 diff --git a/turris-uart.sch b/turris-uart.sch new file mode 100644 index 0000000..e817997 --- /dev/null +++ b/turris-uart.sch @@ -0,0 +1,566 @@ +EESchema Schematic File Version 4 +EELAYER 29 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 1 3 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L Interface_USB:MCP2200-I-SS U1 +U 1 1 5CD6F647 +P 5300 3250 +F 0 "U1" H 4750 2450 50 0000 C CNN +F 1 "MCP2200-I-SS" H 5750 2450 50 0000 C CNN +F 2 "Package_SO:SSOP-20_5.3x7.2mm_P0.65mm" H 5300 2100 50 0001 C CNN +F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/200022228D.pdf" H 5300 2250 50 0001 C CNN + 1 5300 3250 + 1 0 0 -1 +$EndComp +$Comp +L Connector:USB_B_Micro J1 +U 1 1 5CDADDC1 +P 1600 5050 +F 0 "J1" H 1657 5517 50 0000 C CNN +F 1 "USB_B_Micro" H 1657 5426 50 0000 C CNN +F 2 "Connector_USB:USB_Micro-B_Wuerth_629105150521" H 1750 5000 50 0001 C CNN +F 3 "~" H 1750 5000 50 0001 C CNN + 1 1600 5050 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR03 +U 1 1 5CDB60D8 +P 1600 5600 +F 0 "#PWR03" H 1600 5350 50 0001 C CNN +F 1 "GND" H 1605 5427 50 0000 C CNN +F 2 "" H 1600 5600 50 0001 C CNN +F 3 "" H 1600 5600 50 0001 C CNN + 1 1600 5600 + 1 0 0 -1 +$EndComp +$Comp +L power:+5V #PWR04 +U 1 1 5CDB6C47 +P 2000 4750 +F 0 "#PWR04" H 2000 4600 50 0001 C CNN +F 1 "+5V" H 2015 4923 50 0000 C CNN +F 2 "" H 2000 4750 50 0001 C CNN +F 3 "" H 2000 4750 50 0001 C CNN + 1 2000 4750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1900 4850 2000 4850 +Wire Wire Line + 2000 4850 2000 4750 +$Comp +L Graphic:Logo_Open_Hardware_Small #LOGO1 +U 1 1 5CDBB61D +P 6350 7300 +F 0 "#LOGO1" H 6350 7575 50 0001 C CNN +F 1 "Logo_Open_Hardware_Small" H 6350 7075 50 0001 C CNN +F 2 "" H 6350 7300 50 0001 C CNN +F 3 "~" H 6350 7300 50 0001 C CNN + 1 6350 7300 + 1 0 0 -1 +$EndComp +NoConn ~ 1900 5250 +$Comp +L power:+5V #PWR011 +U 1 1 5CDC1AE1 +P 5200 2200 +F 0 "#PWR011" H 5200 2050 50 0001 C CNN +F 1 "+5V" H 5215 2373 50 0000 C CNN +F 2 "" H 5200 2200 50 0001 C CNN +F 3 "" H 5200 2200 50 0001 C CNN + 1 5200 2200 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR02 +U 1 1 5CDC291A +P 1000 5150 +F 0 "#PWR02" H 1000 4900 50 0001 C CNN +F 1 "GND" H 1005 4977 50 0000 C CNN +F 2 "" H 1000 5150 50 0001 C CNN +F 3 "" H 1000 5150 50 0001 C CNN + 1 1000 5150 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C1 +U 1 1 5CDC370A +P 1000 5000 +F 0 "C1" H 1115 5046 50 0000 L CNN +F 1 "470n" H 1115 4955 50 0000 L CNN +F 2 "Capacitor_SMD:C_0805_2012Metric" H 1038 4850 50 0001 C CNN +F 3 "~" H 1000 5000 50 0001 C CNN + 1 1000 5000 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR014 +U 1 1 5CDC4301 +P 5950 2200 +F 0 "#PWR014" H 5950 1950 50 0001 C CNN +F 1 "GND" H 5955 2027 50 0000 C CNN +F 2 "" H 5950 2200 50 0001 C CNN +F 3 "" H 5950 2200 50 0001 C CNN + 1 5950 2200 + 1 0 0 -1 +$EndComp +$Comp +L Device:C C2 +U 1 1 5CDC4E93 +P 5700 2100 +F 0 "C2" V 5448 2100 50 0000 C CNN +F 1 "330n" V 5539 2100 50 0000 C CNN +F 2 "Capacitor_SMD:C_0805_2012Metric" H 5738 1950 50 0001 C CNN +F 3 "~" H 5700 2100 50 0001 C CNN + 1 5700 2100 + 0 1 1 0 +$EndComp +Wire Wire Line + 5400 2450 5400 2100 +Wire Wire Line + 5400 2100 5550 2100 +Wire Wire Line + 5850 2100 5950 2100 +Wire Wire Line + 5950 2100 5950 2200 +$Comp +L power:GND #PWR012 +U 1 1 5CDC7721 +P 5300 4050 +F 0 "#PWR012" H 5300 3800 50 0001 C CNN +F 1 "GND" H 5305 3877 50 0000 C CNN +F 2 "" H 5300 4050 50 0001 C CNN +F 3 "" H 5300 4050 50 0001 C CNN + 1 5300 4050 + 1 0 0 -1 +$EndComp +$Comp +L Device:Crystal Y1 +U 1 1 5CDC854E +P 6700 3900 +F 0 "Y1" V 6654 4031 50 0000 L CNN +F 1 "Crystal" V 6745 4031 50 0000 L CNN +F 2 "Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm" H 6700 3900 50 0001 C CNN +F 3 "~" H 6700 3900 50 0001 C CNN + 1 6700 3900 + 0 1 1 0 +$EndComp +$Comp +L Device:C C3 +U 1 1 5CDC9A5D +P 7250 3650 +F 0 "C3" V 6998 3650 50 0000 C CNN +F 1 "4p7" V 7089 3650 50 0000 C CNN +F 2 "Capacitor_SMD:C_0805_2012Metric" H 7288 3500 50 0001 C CNN +F 3 "~" H 7250 3650 50 0001 C CNN + 1 7250 3650 + 0 1 1 0 +$EndComp +$Comp +L Device:C C4 +U 1 1 5CDCB405 +P 7250 4150 +F 0 "C4" V 6998 4150 50 0000 C CNN +F 1 "4p7" V 7089 4150 50 0000 C CNN +F 2 "Capacitor_SMD:C_0805_2012Metric" H 7288 4000 50 0001 C CNN +F 3 "~" H 7250 4150 50 0001 C CNN + 1 7250 4150 + 0 1 1 0 +$EndComp +$Comp +L power:GND #PWR015 +U 1 1 5CDCBA4F +P 7500 4250 +F 0 "#PWR015" H 7500 4000 50 0001 C CNN +F 1 "GND" H 7505 4077 50 0000 C CNN +F 2 "" H 7500 4250 50 0001 C CNN +F 3 "" H 7500 4250 50 0001 C CNN + 1 7500 4250 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7400 3650 7500 3650 +Wire Wire Line + 7500 3650 7500 4150 +Wire Wire Line + 7400 4150 7500 4150 +Connection ~ 7500 4150 +Wire Wire Line + 7500 4150 7500 4250 +Wire Wire Line + 7100 4150 6700 4150 +Wire Wire Line + 6700 4150 6700 4050 +Wire Wire Line + 6700 3750 6700 3650 +Wire Wire Line + 6700 3650 7100 3650 +Wire Wire Line + 6200 3650 6700 3650 +Connection ~ 6700 3650 +Wire Wire Line + 6200 3850 6200 4150 +Wire Wire Line + 6200 4150 6700 4150 +Connection ~ 6700 4150 +$Comp +L power:+5V #PWR09 +U 1 1 5CDD1D1E +P 4350 2450 +F 0 "#PWR09" H 4350 2300 50 0001 C CNN +F 1 "+5V" H 4365 2623 50 0000 C CNN +F 2 "" H 4350 2450 50 0001 C CNN +F 3 "" H 4350 2450 50 0001 C CNN + 1 4350 2450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4350 2450 4350 2650 +Wire Wire Line + 4350 2650 4400 2650 +$Comp +L power:+5V #PWR01 +U 1 1 5CDD93C1 +P 1000 4850 +F 0 "#PWR01" H 1000 4700 50 0001 C CNN +F 1 "+5V" H 1015 5023 50 0000 C CNN +F 2 "" H 1000 4850 50 0001 C CNN +F 3 "" H 1000 4850 50 0001 C CNN + 1 1000 4850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5200 2200 5200 2450 +$Sheet +S 2200 2650 850 300 +U 5CE12B9C +F0 "level_shifter 1" 50 +F1 "level_shifter.sch" 50 +F2 "LV1" B L 2200 2750 50 +F3 "LV2" B L 2200 2850 50 +F4 "HV2" B R 3050 2850 50 +F5 "HV1" B R 3050 2750 50 +$EndSheet +$Sheet +S 2200 3200 850 300 +U 5CE21290 +F0 "level_shifter 2" 50 +F1 "level_shifter.sch" 50 +F2 "LV1" B L 2200 3300 50 +F3 "LV2" B L 2200 3400 50 +F4 "HV2" B R 3050 3400 50 +F5 "HV1" B R 3050 3300 50 +$EndSheet +Text Label 2100 2750 2 50 ~ 0 +RX +Text Label 2100 2850 2 50 ~ 0 +TX +Text Label 2100 3300 2 50 ~ 0 +RTS +Text Label 2100 3400 2 50 ~ 0 +CTS +Wire Wire Line + 2100 3300 2200 3300 +Wire Wire Line + 2100 3400 2200 3400 +Wire Wire Line + 2100 2750 2200 2750 +Wire Wire Line + 2100 2850 2200 2850 +Text Label 3200 4950 2 50 ~ 0 +RX +Text Label 3200 5050 2 50 ~ 0 +TX +$Comp +L Connector_Generic:Conn_01x04 J2 +U 1 1 5CE3097F +P 3400 4950 +F 0 "J2" H 3480 4942 50 0000 L CNN +F 1 "Conn_01x04" H 3480 4851 50 0000 L CNN +F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Horizontal" H 3400 4950 50 0001 C CNN +F 3 "~" H 3400 4950 50 0001 C CNN + 1 3400 4950 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR06 +U 1 1 5CE31433 +P 3150 5200 +F 0 "#PWR06" H 3150 4950 50 0001 C CNN +F 1 "GND" H 3155 5027 50 0000 C CNN +F 2 "" H 3150 5200 50 0001 C CNN +F 3 "" H 3150 5200 50 0001 C CNN + 1 3150 5200 + 1 0 0 -1 +$EndComp +$Comp +L power:VPP #PWR05 +U 1 1 5CE31BEA +P 3150 4800 +F 0 "#PWR05" H 3150 4650 50 0001 C CNN +F 1 "VPP" H 3165 4973 50 0000 C CNN +F 2 "" H 3150 4800 50 0001 C CNN +F 3 "" H 3150 4800 50 0001 C CNN + 1 3150 4800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3150 4800 3150 4850 +Wire Wire Line + 3150 4850 3200 4850 +Wire Wire Line + 3150 5200 3150 5150 +Wire Wire Line + 3150 5150 3200 5150 +$Comp +L Connector_Generic:Conn_01x02 J3 +U 1 1 5CE365FF +P 3400 5650 +F 0 "J3" H 3480 5642 50 0000 L CNN +F 1 "Conn_01x02" H 3480 5551 50 0000 L CNN +F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Horizontal" H 3400 5650 50 0001 C CNN +F 3 "~" H 3400 5650 50 0001 C CNN + 1 3400 5650 + 1 0 0 -1 +$EndComp +Text Label 3200 5750 2 50 ~ 0 +CTS +Text Label 3200 5650 2 50 ~ 0 +RTS +$Comp +L Connector_Generic:Conn_01x06 J4 +U 1 1 5CE3E385 +P 3400 6350 +F 0 "J4" H 3480 6342 50 0000 L CNN +F 1 "Conn_01x06" H 3480 6251 50 0000 L CNN +F 2 "Connector_PinHeader_1.27mm:PinHeader_1x06_P1.27mm_Vertical" H 3400 6350 50 0001 C CNN +F 3 "~" H 3400 6350 50 0001 C CNN + 1 3400 6350 + 1 0 0 -1 +$EndComp +Text Label 3200 6150 2 50 ~ 0 +GP0 +Text Label 3200 6250 2 50 ~ 0 +GP1 +Text Label 3200 6350 2 50 ~ 0 +GP2 +Text Label 3200 6450 2 50 ~ 0 +GP3 +Text Label 3200 6550 2 50 ~ 0 +GP4 +Text Label 3200 6650 2 50 ~ 0 +GP5 +Text Label 3150 2750 0 50 ~ 0 +RX_5 +Text Label 3150 2850 0 50 ~ 0 +TX_5 +Text Label 3150 3300 0 50 ~ 0 +RTS_5 +Text Label 3150 3400 0 50 ~ 0 +CTS_5 +Wire Wire Line + 3050 3400 3150 3400 +Wire Wire Line + 3050 3300 3150 3300 +Wire Wire Line + 3050 2750 3150 2750 +Wire Wire Line + 3050 2850 3150 2850 +Text Label 6300 2650 0 50 ~ 0 +USB_D+ +Text Label 6300 2850 0 50 ~ 0 +USB_D- +Wire Wire Line + 6200 2850 6300 2850 +Wire Wire Line + 6200 2650 6300 2650 +Text Label 4300 2750 2 50 ~ 0 +RX_5 +Text Label 4300 2850 2 50 ~ 0 +TX_5 +Text Label 4300 2950 2 50 ~ 0 +RTS_5 +Text Label 4300 3050 2 50 ~ 0 +CTS_5 +Text Label 4300 3750 2 50 ~ 0 +LED_RX +Text Label 4300 3850 2 50 ~ 0 +LED_TX +Wire Wire Line + 4300 3850 4400 3850 +Wire Wire Line + 4300 3750 4400 3750 +Wire Wire Line + 4300 3050 4400 3050 +Wire Wire Line + 4300 2950 4400 2950 +Wire Wire Line + 4300 2850 4400 2850 +Wire Wire Line + 4300 2750 4400 2750 +Text Label 2000 5050 0 50 ~ 0 +USB_D+ +Text Label 2000 5150 0 50 ~ 0 +USB_D- +Wire Wire Line + 1900 5150 2000 5150 +Wire Wire Line + 1900 5050 2000 5050 +Text Label 4300 3150 2 50 ~ 0 +GP0 +Text Label 4300 3250 2 50 ~ 0 +GP1 +Text Label 4300 3350 2 50 ~ 0 +GP2 +Text Label 4300 3450 2 50 ~ 0 +GP3 +Text Label 4300 3550 2 50 ~ 0 +GP4 +Text Label 4300 3650 2 50 ~ 0 +GP5 +Wire Wire Line + 4300 3650 4400 3650 +Wire Wire Line + 4300 3550 4400 3550 +Wire Wire Line + 4300 3450 4400 3450 +Wire Wire Line + 4300 3350 4400 3350 +Wire Wire Line + 4300 3250 4400 3250 +Wire Wire Line + 4300 3150 4400 3150 +$Comp +L Device:R R2 +U 1 1 5CE4F01B +P 5050 5300 +F 0 "R2" H 5120 5346 50 0000 L CNN +F 1 "1k5" H 5120 5255 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric" V 4980 5300 50 0001 C CNN +F 3 "~" H 5050 5300 50 0001 C CNN + 1 5050 5300 + 1 0 0 -1 +$EndComp +$Comp +L Device:LED D1 +U 1 1 5CE4F78F +P 5050 5600 +F 0 "D1" V 5089 5483 50 0000 R CNN +F 1 "LED" V 4998 5483 50 0000 R CNN +F 2 "LED_SMD:LED_0805_2012Metric" H 5050 5600 50 0001 C CNN +F 3 "~" H 5050 5600 50 0001 C CNN + 1 5050 5600 + 0 -1 -1 0 +$EndComp +Text Label 5050 5050 2 50 ~ 0 +LED_RX +$Comp +L power:GND #PWR010 +U 1 1 5CE4FFB5 +P 5050 5900 +F 0 "#PWR010" H 5050 5650 50 0001 C CNN +F 1 "GND" H 5055 5727 50 0000 C CNN +F 2 "" H 5050 5900 50 0001 C CNN +F 3 "" H 5050 5900 50 0001 C CNN + 1 5050 5900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5050 5900 5050 5750 +Wire Wire Line + 5050 5150 5050 5050 +$Comp +L Device:R R3 +U 1 1 5CE54802 +P 5650 5300 +F 0 "R3" H 5720 5346 50 0000 L CNN +F 1 "1k5" H 5720 5255 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric" V 5580 5300 50 0001 C CNN +F 3 "~" H 5650 5300 50 0001 C CNN + 1 5650 5300 + 1 0 0 -1 +$EndComp +$Comp +L Device:LED D2 +U 1 1 5CE54808 +P 5650 5600 +F 0 "D2" V 5689 5483 50 0000 R CNN +F 1 "LED" V 5598 5483 50 0000 R CNN +F 2 "LED_SMD:LED_0805_2012Metric" H 5650 5600 50 0001 C CNN +F 3 "~" H 5650 5600 50 0001 C CNN + 1 5650 5600 + 0 -1 -1 0 +$EndComp +Text Label 5650 5050 2 50 ~ 0 +LED_TX +$Comp +L power:GND #PWR013 +U 1 1 5CE5480F +P 5650 5900 +F 0 "#PWR013" H 5650 5650 50 0001 C CNN +F 1 "GND" H 5655 5727 50 0000 C CNN +F 2 "" H 5650 5900 50 0001 C CNN +F 3 "" H 5650 5900 50 0001 C CNN + 1 5650 5900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5650 5900 5650 5750 +Wire Wire Line + 5650 5150 5650 5050 +Wire Wire Line + 1600 5450 1600 5500 +Wire Wire Line + 1500 5450 1500 5500 +Wire Wire Line + 1500 5500 1600 5500 +Connection ~ 1600 5500 +Wire Wire Line + 1600 5500 1600 5600 +$Comp +L Device:R R1 +U 1 1 5CE5CC7E +P 4150 5000 +F 0 "R1" H 4220 5046 50 0000 L CNN +F 1 "10M" H 4220 4955 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric" V 4080 5000 50 0001 C CNN +F 3 "~" H 4150 5000 50 0001 C CNN + 1 4150 5000 + 1 0 0 -1 +$EndComp +$Comp +L power:VPP #PWR07 +U 1 1 5CE5DA22 +P 4150 4850 +F 0 "#PWR07" H 4150 4700 50 0001 C CNN +F 1 "VPP" H 4165 5023 50 0000 C CNN +F 2 "" H 4150 4850 50 0001 C CNN +F 3 "" H 4150 4850 50 0001 C CNN + 1 4150 4850 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR08 +U 1 1 5CE5DF24 +P 4150 5150 +F 0 "#PWR08" H 4150 4900 50 0001 C CNN +F 1 "GND" H 4155 4977 50 0000 C CNN +F 2 "" H 4150 5150 50 0001 C CNN +F 3 "" H 4150 5150 50 0001 C CNN + 1 4150 5150 + 1 0 0 -1 +$EndComp +$EndSCHEMATC |