Switch to esp32
This commit is contained in:
parent
e2bdc6816d
commit
7e2ee88271
3 changed files with 2611 additions and 2319 deletions
41
Devices/Console/Hardware/Circuit/.gitignore
vendored
41
Devices/Console/Hardware/Circuit/.gitignore
vendored
|
@ -1,5 +1,36 @@
|
|||
*-bak
|
||||
*-cache*
|
||||
*-bak*
|
||||
_autosave*
|
||||
Gerber/*
|
||||
# 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
|
||||
*auto_saved_files*
|
||||
|
||||
# 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/*
|
396
Devices/Console/Hardware/Circuit/Console-cache.lib
Normal file
396
Devices/Console/Hardware/Circuit/Console-cache.lib
Normal file
|
@ -0,0 +1,396 @@
|
|||
EESchema-LIBRARY Version 2.4
|
||||
#encoding utf-8
|
||||
#
|
||||
# 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_Generic_Conn_01x13
|
||||
#
|
||||
DEF Connector_Generic_Conn_01x13 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 700 50 H V C CNN
|
||||
F1 "Connector_Generic_Conn_01x13" 0 -700 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 -595 0 -605 1 1 6 N
|
||||
S -50 -495 0 -505 1 1 6 N
|
||||
S -50 -395 0 -405 1 1 6 N
|
||||
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 305 0 295 1 1 6 N
|
||||
S -50 405 0 395 1 1 6 N
|
||||
S -50 505 0 495 1 1 6 N
|
||||
S -50 605 0 595 1 1 6 N
|
||||
S -50 650 50 -650 1 1 10 f
|
||||
X Pin_1 1 -200 600 150 R 50 50 1 1 P
|
||||
X Pin_10 10 -200 -300 150 R 50 50 1 1 P
|
||||
X Pin_11 11 -200 -400 150 R 50 50 1 1 P
|
||||
X Pin_12 12 -200 -500 150 R 50 50 1 1 P
|
||||
X Pin_13 13 -200 -600 150 R 50 50 1 1 P
|
||||
X Pin_2 2 -200 500 150 R 50 50 1 1 P
|
||||
X Pin_3 3 -200 400 150 R 50 50 1 1 P
|
||||
X Pin_4 4 -200 300 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 100 150 R 50 50 1 1 P
|
||||
X Pin_7 7 -200 0 150 R 50 50 1 1 P
|
||||
X Pin_8 8 -200 -100 150 R 50 50 1 1 P
|
||||
X Pin_9 9 -200 -200 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_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
|
||||
#
|
||||
# Device_Rotary_Encoder_Switch
|
||||
#
|
||||
DEF Device_Rotary_Encoder_Switch SW 0 10 Y N 1 F N
|
||||
F0 "SW" 0 260 50 H V C CNN
|
||||
F1 "Device_Rotary_Encoder_Switch" 0 -260 50 H V C CNN
|
||||
F2 "" -150 160 50 H I C CNN
|
||||
F3 "" 0 260 50 H I C CNN
|
||||
$FPLIST
|
||||
RotaryEncoder*Switch*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
A -15 -2 108 -899 899 0 1 10 N -15 -110 -15 105
|
||||
C -150 0 10 0 1 0 F
|
||||
C -15 0 75 0 1 10 N
|
||||
C 170 -40 5 0 1 10 N
|
||||
C 170 40 5 0 1 10 N
|
||||
S -200 200 200 -200 0 1 10 f
|
||||
P 2 0 1 10 -25 -70 -25 70 N
|
||||
P 2 0 1 10 -15 -70 -15 70 N
|
||||
P 2 0 1 10 -5 70 -5 -70 N
|
||||
P 2 0 1 10 150 0 135 0 N
|
||||
P 2 0 1 10 150 40 150 -40 N
|
||||
P 3 0 1 0 -200 -100 -150 -100 -150 -80 N
|
||||
P 3 0 1 0 -200 100 -150 100 -150 80 N
|
||||
P 3 0 1 10 10 -120 -20 -110 5 -95 N
|
||||
P 3 0 1 10 10 115 -20 105 5 90 N
|
||||
P 3 0 1 10 200 -100 170 -100 170 -40 N
|
||||
P 3 0 1 10 200 100 170 100 170 40 N
|
||||
P 4 0 1 0 -200 0 -150 0 -150 -40 -130 -80 N
|
||||
P 4 0 1 0 -170 0 -150 0 -150 40 -130 80 N
|
||||
X A A -300 100 100 R 50 50 1 1 P
|
||||
X B B -300 -100 100 R 50 50 1 1 P
|
||||
X C C -300 0 100 R 50 50 1 1 P
|
||||
X S1 S1 300 100 100 L 50 50 1 1 P
|
||||
X S2 S2 300 -100 100 L 50 50 1 1 P
|
||||
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
|
File diff suppressed because it is too large
Load diff
Reference in a new issue