From f651cd616992f6e3a46b857940131daa104648bc Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Mon, 7 Mar 2022 11:10:49 +0100 Subject: [PATCH] Update readme --- Devices/Control/Hardware/Circuit/.gitignore | 40 +- .../Hardware/Circuit/Control-cache.lib | 422 ++++++++++++++++++ 2 files changed, 457 insertions(+), 5 deletions(-) create mode 100644 Devices/Control/Hardware/Circuit/Control-cache.lib diff --git a/Devices/Control/Hardware/Circuit/.gitignore b/Devices/Control/Hardware/Circuit/.gitignore index 622fe47..ceb8b63 100644 --- a/Devices/Control/Hardware/Circuit/.gitignore +++ b/Devices/Control/Hardware/Circuit/.gitignore @@ -1,5 +1,35 @@ -*-bak -*-cache* -*-bak* -_autosave* -Gerber/* \ No newline at end of file +# For PCBs designed using KiCad: https://www.kicad.org/ +# Format documentation: https://kicad.org/help/file-formats/ + +# Temporary files +*.000 +*.bak +*.bck +*.kicad_pcb-bak +*.kicad_sch-bak +*-backups +*.kicad_prl +*.sch-bak +*~ +_autosave-* +*.tmp +*-save.pro +*-save.kicad_pcb +fp-info-cache + +# Netlist files (exported from Eeschema) +*.net + +# Autorouter files (exported from Pcbnew) +*.dsn +*.ses + +# Exported BOM files +*.xml +*.csv + +# Gerber files (temporarily not tracked by git) +Gerber/* + +# Backpus +Control-backups/* \ No newline at end of file diff --git a/Devices/Control/Hardware/Circuit/Control-cache.lib b/Devices/Control/Hardware/Circuit/Control-cache.lib new file mode 100644 index 0000000..b27217e --- /dev/null +++ b/Devices/Control/Hardware/Circuit/Control-cache.lib @@ -0,0 +1,422 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# CD74HC4053PWR_CD74HC4053PWR +# +DEF CD74HC4053PWR_CD74HC4053PWR U 0 40 Y Y 1 L N +F0 "U" -500 839 50 H V L BNN +F1 "CD74HC4053PWR_CD74HC4053PWR" -500 -957 50 H V L BNN +F2 "SOP65P640X120-16N" -550 -800 50 V I L BNN +F3 "" 0 0 50 H I L BNN +DRAW +S -500 -800 500 800 0 0 16 f +X B1 1 700 100 200 L 40 40 0 0 B +X S1 10 -700 300 200 R 40 40 0 0 I +X S0 11 -700 400 200 R 40 40 0 0 I +X A0 12 700 500 200 L 40 40 0 0 B +X A1 13 700 400 200 L 40 40 0 0 B +X AN 14 700 300 200 L 40 40 0 0 B +X BN 15 700 0 200 L 40 40 0 0 B +X VCC 16 700 700 200 L 40 40 0 0 W +X B0 2 700 200 200 L 40 40 0 0 B +X C1 3 700 -200 200 L 40 40 0 0 B +X CN 4 700 -300 200 L 40 40 0 0 B +X C0 5 700 -100 200 L 40 40 0 0 B +X ~E 6 -700 500 200 R 40 40 0 0 I +X VEE 7 700 -600 200 L 40 40 0 0 W +X GND 8 700 -700 200 L 40 40 0 0 W +X S2 9 -700 200 200 R 40 40 0 0 I +ENDDRAW +ENDDEF +# +# Connector_AVR-ISP-6 +# +DEF Connector_AVR-ISP-6 J 0 40 Y Y 1 F N +F0 "J" -250 450 50 H V L CNN +F1 "Connector_AVR-ISP-6" 0 450 50 H V L CNN +F2 "" -250 50 50 V I C CNN +F3 "" -1275 -550 50 H I C CNN +$FPLIST + IDC?Header*2x03* + Pin?Header*2x03* +$ENDFPLIST +DRAW +S -105 -270 -95 -300 0 1 0 N +S -105 400 -95 370 0 1 0 N +S 300 -95 270 -105 0 1 0 N +S 300 5 270 -5 0 1 0 N +S 300 105 270 95 0 1 0 N +S 300 205 270 195 0 1 0 N +S 300 400 -300 -300 0 1 10 f +X MISO 1 400 200 100 L 50 50 1 1 P +X VCC 2 -100 500 100 D 50 50 1 1 P +X SCK 3 400 0 100 L 50 50 1 1 P +X MOSI 4 400 100 100 L 50 50 1 1 P +X ~RST 5 400 -100 100 L 50 50 1 1 P +X GND 6 -100 -400 100 U 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_Screw_Terminal_01x03 +# +DEF Connector_Screw_Terminal_01x03 J 0 40 Y N 1 F N +F0 "J" 0 200 50 H V C CNN +F1 "Connector_Screw_Terminal_01x03" 0 -200 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + TerminalBlock*:* +$ENDFPLIST +DRAW +C 0 -100 25 1 1 6 N +C 0 0 25 1 1 6 N +C 0 100 25 1 1 6 N +S -50 150 50 -150 1 1 10 f +P 2 1 1 6 -21 -87 13 -120 N +P 2 1 1 6 -21 13 13 -20 N +P 2 1 1 6 -21 113 13 80 N +P 2 1 1 6 -14 -80 20 -113 N +P 2 1 1 6 -14 20 20 -13 N +P 2 1 1 6 -14 120 20 87 N +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 +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 10 -50 -50 -50 50 N +P 2 0 1 0 -50 0 50 0 N +P 4 0 1 10 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_Q_NPN_BCE +# +DEF Device_Q_NPN_BCE Q 0 0 Y N 1 F N +F0 "Q" 200 50 50 H V L CNN +F1 "Device_Q_NPN_BCE" 200 -50 50 H V L CNN +F2 "" 200 100 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X B 1 -200 0 225 R 50 50 1 1 I +X C 2 100 200 100 D 50 50 1 1 P +X E 3 100 -200 100 U 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 +# +# Interface_USB_CH340C +# +DEF Interface_USB_CH340C U 0 20 Y Y 1 F N +F0 "U" -200 550 50 H V R CNN +F1 "Interface_USB_CH340C" 50 550 50 H V L CNN +F2 "Package_SO:SOIC-16_3.9x9.9mm_P1.27mm" 50 -550 50 H I L CNN +F3 "" -350 800 50 H I C CNN +$FPLIST + SOIC*3.9x9.9mm*P1.27mm* +$ENDFPLIST +DRAW +S -300 500 300 -500 0 1 10 f +X GND 1 0 -600 100 U 50 50 1 1 W +X ~DSR 10 400 0 100 L 50 50 1 1 I +X ~RI 11 400 -100 100 L 50 50 1 1 I +X ~DCD 12 400 -200 100 L 50 50 1 1 I +X ~DTR 13 400 -300 100 L 50 50 1 1 O +X ~RTS 14 400 -400 100 L 50 50 1 1 O +X R232 15 -400 300 100 R 50 50 1 1 I +X VCC 16 0 600 100 D 50 50 1 1 W +X TXD 2 400 400 100 L 50 50 1 1 O +X RXD 3 400 300 100 L 50 50 1 1 I +X V3 4 -100 600 100 D 50 50 1 1 P +X UD+ 5 -400 100 100 R 50 50 1 1 B +X UD- 6 -400 0 100 R 50 50 1 1 B +X NC 7 -300 -300 100 R 50 50 1 1 N N +X NC 8 -300 -400 100 R 50 50 1 1 N N +X ~CTS 9 400 100 100 L 50 50 1 1 I +ENDDRAW +ENDDEF +# +# Jumper_SolderJumper_2_Bridged +# +DEF Jumper_SolderJumper_2_Bridged JP 0 0 Y N 1 F N +F0 "JP" 0 80 50 H V C CNN +F1 "Jumper_SolderJumper_2_Bridged" 0 -100 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + SolderJumper*Bridged* +$ENDFPLIST +DRAW +A -10 0 40 901 -901 0 1 0 N -10 40 -10 -40 +A -10 0 40 901 -901 0 1 0 F -10 40 -10 -40 +A 10 0 40 -899 899 0 1 0 N 10 -40 10 40 +A 10 0 40 -899 899 0 1 0 F 10 -40 10 40 +S -20 20 20 -20 0 1 0 F +P 2 0 1 0 -10 40 -10 -40 N +P 2 0 1 0 10 40 10 -40 N +X A 1 -150 0 100 R 50 50 1 1 P +X B 2 150 0 100 L 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Jumper_SolderJumper_2_Open +# +DEF Jumper_SolderJumper_2_Open JP 0 0 Y N 1 F N +F0 "JP" 0 80 50 H V C CNN +F1 "Jumper_SolderJumper_2_Open" 0 -100 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + SolderJumper*Open* +$ENDFPLIST +DRAW +A -10 0 40 901 -901 0 1 0 N -10 40 -10 -40 +A -10 0 40 901 -901 0 1 0 F -10 40 -10 -40 +A 10 0 40 -899 899 0 1 0 N 10 -40 10 40 +A 10 0 40 -899 899 0 1 0 F 10 -40 10 40 +P 2 0 1 0 -10 40 -10 -40 N +P 2 0 1 0 10 40 10 -40 N +X A 1 -150 0 100 R 50 50 1 1 P +X B 2 150 0 100 L 50 50 1 1 P +ENDDRAW +ENDDEF +# +# MCU_Microchip_ATmega_ATmega328PB-AU +# +DEF MCU_Microchip_ATmega_ATmega328PB-AU U 0 20 Y Y 1 F N +F0 "U" -500 1450 50 H V L BNN +F1 "MCU_Microchip_ATmega_ATmega328PB-AU" 100 -1450 50 H V L TNN +F2 "Package_QFP:TQFP-32_7x7mm_P0.8mm" 0 0 50 H I C CIN +F3 "" 0 0 50 H I C CNN +ALIAS ATmega88PB-AU ATmega168PB-AU ATmega328PB-AU +$FPLIST + TQFP*7x7mm*P0.8mm* +$ENDFPLIST +DRAW +S -500 -1400 500 1400 0 1 10 f +X PD3 1 600 -800 100 L 50 50 1 1 B +X PD6 10 600 -1100 100 L 50 50 1 1 B +X PD7 11 600 -1200 100 L 50 50 1 1 B +X PB0 12 600 1200 100 L 50 50 1 1 B +X PB1 13 600 1100 100 L 50 50 1 1 B +X PB2 14 600 1000 100 L 50 50 1 1 B +X PB3 15 600 900 100 L 50 50 1 1 B +X PB4 16 600 800 100 L 50 50 1 1 B +X PB5 17 600 700 100 L 50 50 1 1 B +X AVCC 18 100 1500 100 D 50 50 1 1 W +X PE2 19 -600 -700 100 R 50 50 1 1 B +X PD4 2 600 -900 100 L 50 50 1 1 B +X AREF 20 -600 1200 100 R 50 50 1 1 P +X GND 21 0 -1500 100 U 50 50 1 1 P N +X PE3 22 -600 -800 100 R 50 50 1 1 B +X PC0 23 600 300 100 L 50 50 1 1 B +X PC1 24 600 200 100 L 50 50 1 1 B +X PC2 25 600 100 100 L 50 50 1 1 B +X PC3 26 600 0 100 L 50 50 1 1 B +X PC4 27 600 -100 100 L 50 50 1 1 B +X PC5 28 600 -200 100 L 50 50 1 1 B +X ~RESET~/PC6 29 600 -300 100 L 50 50 1 1 B +X PE0 3 -600 -500 100 R 50 50 1 1 B +X PD0 30 600 -500 100 L 50 50 1 1 B +X PD1 31 600 -600 100 L 50 50 1 1 B +X PD2 32 600 -700 100 L 50 50 1 1 B +X VCC 4 0 1500 100 D 50 50 1 1 W +X GND 5 0 -1500 100 U 50 50 1 1 W +X PE1 6 -600 -600 100 R 50 50 1 1 B +X XTAL1/PB6 7 600 600 100 L 50 50 1 1 B +X XTAL2/PB7 8 600 500 100 L 50 50 1 1 B +X PD5 9 600 -1000 100 L 50 50 1 1 B +ENDDRAW +ENDDEF +# +# Switch_SW_Push +# +DEF Switch_SW_Push SW 0 40 N N 1 F N +F0 "SW" 50 100 50 H V L CNN +F1 "Switch_SW_Push" 0 -60 50 H V C CNN +F2 "" 0 200 50 H I C CNN +F3 "" 0 200 50 H I C CNN +DRAW +C -80 0 20 0 1 0 N +C 80 0 20 0 1 0 N +P 2 0 1 0 0 50 0 120 N +P 2 0 1 0 100 50 -100 50 N +X 1 1 -200 0 100 R 50 50 0 1 P +X 2 2 200 0 100 L 50 50 0 1 P +ENDDRAW +ENDDEF +# +# TYPE-C-31-M-12_TYPE-C-31-M-12 +# +DEF TYPE-C-31-M-12_TYPE-C-31-M-12 J 0 40 Y Y 1 L N +F0 "J" -50 600 50 H V L BNN +F1 "TYPE-C-31-M-12_TYPE-C-31-M-12" -400 520 50 H V L BNN +F2 "HRO_TYPE-C-31-M-12" 0 0 50 H I L BNN +F3 "" 0 0 50 H I L BNN +F4 "3.31mm" 0 0 50 H I L BNN "MAXIMUM_PACKAGE_HEIGHT" +F5 "Manufacturer Recommendations" 0 0 50 H I L BNN "STANDARD" +F6 "A" 0 0 50 H I L BNN "PARTREV" +F7 "HRO Electronics" 0 0 50 H I L BNN "MANUFACTURER" +DRAW +S -500 -500 500 500 0 0 10 f +X GND A1B12 -700 -400 200 R 40 40 0 0 W +X VBUS A4B9 -700 400 200 R 40 40 0 0 W +X CC1 A5 -700 200 200 R 40 40 0 0 B +X DP1 A6 -700 100 200 R 40 40 0 0 B +X DN1 A7 -700 0 200 R 40 40 0 0 B +X SBU1 A8 -700 -100 200 R 40 40 0 0 B +X GND B1A12 700 -400 200 L 40 40 0 0 W +X VBUS B4A9 700 400 200 L 40 40 0 0 W +X CC2 B5 700 -100 200 L 40 40 0 0 B +X DP2 B6 700 0 200 L 40 40 0 0 B +X DN2 B7 700 100 200 L 40 40 0 0 B +X SBU2 B8 700 200 200 L 40 40 0 0 B +X SHIELD S1 -250 -700 200 U 40 40 0 0 P +X SHIELD S2 -100 -700 200 U 40 40 0 0 P +X SHIELD S3 100 -700 200 U 40 40 0 0 P +X SHIELD S4 250 -700 200 U 40 40 0 0 P +ENDDRAW +ENDDEF +# +# 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_PWR_FLAG +# +DEF power_PWR_FLAG #FLG 0 0 N N 1 F P +F0 "#FLG" 0 75 50 H I C CNN +F1 "power_PWR_FLAG" 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 -40 75 0 100 40 75 0 50 N +X pwr 1 0 0 0 U 50 50 0 0 w +ENDDRAW +ENDDEF +# +# power_VCC +# +DEF power_VCC #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "power_VCC" 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 VCC 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +#End Library