Add encoder breakout connector

This commit is contained in:
GHOSCHT 2021-08-10 23:37:20 +02:00
parent 26d82621b4
commit f91412fa53
2 changed files with 282 additions and 156 deletions

View file

@ -1,7 +1,7 @@
(export (version D)
(design
(source "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Console\\Hardware\\Circuit\\Console.sch")
(date "10.08.2021 23:04:52")
(date "10.08.2021 23:31:09")
(tool "Eeschema (5.1.10)-1")
(sheet (number 1) (name /) (tstamps /)
(title_block
@ -173,7 +173,14 @@
(datasheet https://datasheet.octopart.com/PEC11R-4220F-S0012-Bourns-datasheet-68303416.pdf)
(libsource (lib Device) (part Rotary_Encoder_Switch) (description "Rotary encoder, dual channel, incremental quadrate outputs, with switch"))
(sheetpath (names /) (tstamps /))
(tstamp 611CEA4E)))
(tstamp 611CEA4E))
(comp (ref J2)
(value Conn_01x13)
(footprint Connector_PinHeader_1.00mm:PinHeader_1x13_P1.00mm_Vertical)
(datasheet ~)
(libsource (lib Connector_Generic) (part Conn_01x13) (description "Generic connector, single row, 01x13, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 61285557)))
(libparts
(libpart (lib Connector) (part AVR-ISP-6)
(description "Atmel 6-pin ISP connector")
@ -191,6 +198,28 @@
(pin (num 4) (name MOSI) (type passive))
(pin (num 5) (name ~RST) (type passive))
(pin (num 6) (name GND) (type passive))))
(libpart (lib Connector_Generic) (part Conn_01x13)
(description "Generic connector, single row, 01x13, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*_1x??_*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x13))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))
(pin (num 3) (name Pin_3) (type passive))
(pin (num 4) (name Pin_4) (type passive))
(pin (num 5) (name Pin_5) (type passive))
(pin (num 6) (name Pin_6) (type passive))
(pin (num 7) (name Pin_7) (type passive))
(pin (num 8) (name Pin_8) (type passive))
(pin (num 9) (name Pin_9) (type passive))
(pin (num 10) (name Pin_10) (type passive))
(pin (num 11) (name Pin_11) (type passive))
(pin (num 12) (name Pin_12) (type passive))
(pin (num 13) (name Pin_13) (type passive))))
(libpart (lib Device) (part C)
(description "Unpolarized capacitor")
(docs ~)
@ -334,6 +363,8 @@
(libraries
(library (logical Connector)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector.lib"))
(library (logical Connector_Generic)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector_Generic.lib"))
(library (logical Device)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
(library (logical Jumper)
@ -343,172 +374,197 @@
(library (logical TYPE-C-31-M-12)
(uri "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Console\\Hardware\\Circuit/Libraries/TYPE-C-31-M-12.lib")))
(nets
(net (code 1) (name "Net-(J3-PadA5)")
(node (ref J3) (pin A5)))
(net (code 2) (name "Net-(J3-PadB6)")
(node (ref JP10) (pin 2))
(node (ref J3) (pin B6))
(node (ref JP9) (pin 2)))
(net (code 3) (name "Net-(J3-PadB7)")
(node (ref JP8) (pin 2))
(node (ref J3) (pin B7))
(node (ref JP7) (pin 2)))
(net (code 4) (name /RST)
(node (ref JP5) (pin 1)))
(net (code 5) (name /RX)
(node (ref JP7) (pin 1)))
(net (code 6) (name /SCL)
(node (ref JP8) (pin 1)))
(net (code 7) (name /TX)
(node (ref JP9) (pin 1)))
(net (code 8) (name /ENC3B)
(node (ref SW3) (pin B)))
(net (code 9) (name /BTN2)
(net (code 1) (name GND)
(node (ref U1) (pin 5))
(node (ref U1) (pin 3))
(node (ref U1) (pin 21))
(node (ref SW1) (pin S1))
(node (ref J3) (pin B1A12))
(node (ref J3) (pin A1B12))
(node (ref SW1) (pin C))
(node (ref J3) (pin S3))
(node (ref J2) (pin 13))
(node (ref C3) (pin 2))
(node (ref J3) (pin S4))
(node (ref J3) (pin S2))
(node (ref J3) (pin S1))
(node (ref C2) (pin 2))
(node (ref SW2) (pin C))
(node (ref SW4) (pin S1))
(node (ref SW2) (pin S1))
(node (ref J1) (pin 6))
(node (ref SW3) (pin C))
(node (ref SW3) (pin S1))
(node (ref C1) (pin 2))
(node (ref SW4) (pin C)))
(net (code 2) (name /ENC4B)
(node (ref SW4) (pin B)))
(net (code 3) (name /BTN3)
(node (ref SW3) (pin S2)))
(net (code 4) (name /BTN2)
(node (ref SW2) (pin S2)))
(net (code 10) (name /ENC2B)
(node (ref SW2) (pin B)))
(net (code 11) (name /ENC2A)
(node (ref SW2) (pin A)))
(net (code 12) (name "Net-(J3-PadB5)")
(net (code 5) (name "Net-(J3-PadB5)")
(node (ref J3) (pin B5)))
(net (code 13) (name "Net-(J3-PadB8)")
(net (code 6) (name "Net-(J3-PadB8)")
(node (ref JP6) (pin 2))
(node (ref J3) (pin B8)))
(net (code 14) (name /SDA)
(node (ref JP10) (pin 1)))
(net (code 15) (name /RST)
(net (code 7) (name /RST)
(node (ref JP6) (pin 1)))
(net (code 16) (name "Net-(J3-PadA8)")
(net (code 8) (name "Net-(J3-PadA8)")
(node (ref J3) (pin A8))
(node (ref JP5) (pin 2)))
(net (code 17) (name /SDA)
(node (ref JP1) (pin 1)))
(net (code 18) (name "Net-(J3-PadA6)")
(node (ref JP1) (pin 2))
(node (ref J3) (pin A6))
(node (ref JP2) (pin 2)))
(net (code 19) (name "Net-(J3-PadA7)")
(node (ref JP3) (pin 2))
(node (ref J3) (pin A7))
(node (ref JP4) (pin 2)))
(net (code 20) (name /RX)
(node (ref JP4) (pin 1)))
(net (code 21) (name /SCL)
(node (ref JP3) (pin 1)))
(net (code 22) (name /TX)
(node (ref JP2) (pin 1)))
(net (code 23) (name /SDA)
(node (ref U1) (pin 27)))
(net (code 24) (name /ENC3A)
(node (ref SW3) (pin A)))
(net (code 25) (name /ENC4A)
(node (ref SW4) (pin A)))
(net (code 26) (name /ENC1B)
(node (ref SW1) (pin B)))
(net (code 27) (name /ENC1A)
(node (ref SW1) (pin A)))
(net (code 28) (name /ENC4B)
(node (ref SW4) (pin B)))
(net (code 29) (name /BTN4)
(node (ref U1) (pin 26)))
(net (code 30) (name /BTN3)
(node (ref U1) (pin 25)))
(net (code 31) (name /BTN2)
(node (ref U1) (pin 24)))
(net (code 32) (name /BTN1)
(node (ref U1) (pin 23)))
(net (code 33) (name /ENC4B)
(node (ref U1) (pin 13)))
(net (code 34) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 35) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 36) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 37) (name "Net-(U1-Pad14)")
(node (ref U1) (pin 14)))
(net (code 38) (name /ENC3B)
(node (ref U1) (pin 11)))
(net (code 39) (name /ENC3A)
(node (ref U1) (pin 10)))
(net (code 40) (name /ENC2B)
(node (ref U1) (pin 9)))
(net (code 41) (name /ENC2A)
(node (ref U1) (pin 2)))
(net (code 42) (name /ENC1B)
(node (ref U1) (pin 1)))
(net (code 43) (name /ENC1A)
(node (ref U1) (pin 32)))
(net (code 44) (name /ENC4A)
(node (ref U1) (pin 12)))
(net (code 45) (name GND)
(node (ref J3) (pin A1B12))
(node (ref U1) (pin 21))
(node (ref C3) (pin 2))
(node (ref SW1) (pin S1))
(node (ref C2) (pin 2))
(node (ref J1) (pin 6))
(node (ref C1) (pin 2))
(node (ref SW1) (pin C))
(node (ref U1) (pin 3))
(node (ref U1) (pin 5))
(node (ref SW4) (pin C))
(node (ref J3) (pin S1))
(node (ref J3) (pin S2))
(node (ref J3) (pin S3))
(node (ref SW4) (pin S1))
(node (ref SW3) (pin S1))
(node (ref J3) (pin S4))
(node (ref SW2) (pin S1))
(node (ref SW2) (pin C))
(node (ref SW3) (pin C))
(node (ref J3) (pin B1A12)))
(net (code 46) (name /BTN4)
(net (code 9) (name /BTN4)
(node (ref SW4) (pin S2)))
(net (code 47) (name /BTN3)
(node (ref SW3) (pin S2)))
(net (code 10) (name /TX)
(node (ref JP9) (pin 1)))
(net (code 11) (name /SDA)
(node (ref JP10) (pin 1)))
(net (code 12) (name /RX)
(node (ref JP7) (pin 1)))
(net (code 13) (name /SCL)
(node (ref JP8) (pin 1)))
(net (code 14) (name "Net-(J3-PadA7)")
(node (ref J3) (pin A7))
(node (ref JP3) (pin 2))
(node (ref JP4) (pin 2)))
(net (code 15) (name "Net-(J3-PadA6)")
(node (ref JP2) (pin 2))
(node (ref JP1) (pin 2))
(node (ref J3) (pin A6)))
(net (code 16) (name "Net-(J3-PadB7)")
(node (ref JP7) (pin 2))
(node (ref JP8) (pin 2))
(node (ref J3) (pin B7)))
(net (code 17) (name /RST)
(node (ref JP5) (pin 1)))
(net (code 18) (name "Net-(J3-PadA5)")
(node (ref J3) (pin A5)))
(net (code 19) (name "Net-(J3-PadB6)")
(node (ref JP9) (pin 2))
(node (ref JP10) (pin 2))
(node (ref J3) (pin B6)))
(net (code 20) (name /ENC1B)
(node (ref J2) (pin 2)))
(net (code 21) (name /BTN1)
(node (ref J2) (pin 9)))
(net (code 22) (name /ENC4B)
(node (ref J2) (pin 8)))
(net (code 23) (name /ENC4A)
(node (ref J2) (pin 7)))
(net (code 24) (name /ENC3B)
(node (ref J2) (pin 6)))
(net (code 25) (name /ENC2B)
(node (ref J2) (pin 4)))
(net (code 26) (name /ENC2A)
(node (ref J2) (pin 3)))
(net (code 27) (name /ENC3A)
(node (ref J2) (pin 5)))
(net (code 28) (name /BTN4)
(node (ref J2) (pin 12)))
(net (code 29) (name /BTN3)
(node (ref J2) (pin 11)))
(net (code 30) (name /BTN2)
(node (ref J2) (pin 10)))
(net (code 31) (name /ENC1A)
(node (ref J2) (pin 1)))
(net (code 32) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 33) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 34) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 35) (name "Net-(U1-Pad14)")
(node (ref U1) (pin 14)))
(net (code 36) (name /ENC3B)
(node (ref U1) (pin 11)))
(net (code 37) (name /ENC3A)
(node (ref U1) (pin 10)))
(net (code 38) (name /ENC2B)
(node (ref U1) (pin 9)))
(net (code 39) (name /BTN3)
(node (ref U1) (pin 25)))
(net (code 40) (name /ENC3B)
(node (ref SW3) (pin B)))
(net (code 41) (name /ENC3A)
(node (ref SW3) (pin A)))
(net (code 42) (name /ENC2B)
(node (ref SW2) (pin B)))
(net (code 43) (name /ENC2A)
(node (ref SW2) (pin A)))
(net (code 44) (name /ENC1B)
(node (ref SW1) (pin B)))
(net (code 45) (name /ENC1A)
(node (ref SW1) (pin A)))
(net (code 46) (name /BTN4)
(node (ref U1) (pin 26)))
(net (code 47) (name /BTN2)
(node (ref U1) (pin 24)))
(net (code 48) (name /BTN1)
(node (ref U1) (pin 23)))
(net (code 49) (name /ENC4A)
(node (ref SW4) (pin A)))
(net (code 50) (name /BTN1)
(node (ref SW1) (pin S2)))
(net (code 49) (name /SCL)
(node (ref U1) (pin 28)))
(net (code 50) (name VCC)
(net (code 51) (name /ENC1B)
(node (ref U1) (pin 1)))
(net (code 52) (name /ENC2A)
(node (ref U1) (pin 2)))
(net (code 53) (name /ENC1A)
(node (ref U1) (pin 32)))
(net (code 54) (name /ENC4B)
(node (ref U1) (pin 13)))
(net (code 55) (name /ENC4A)
(node (ref U1) (pin 12)))
(net (code 56) (name VCC)
(node (ref R1) (pin 2))
(node (ref J1) (pin 2))
(node (ref U1) (pin 18))
(node (ref J3) (pin B4A9))
(node (ref J3) (pin A4B9))
(node (ref U1) (pin 6))
(node (ref C3) (pin 1))
(node (ref U1) (pin 4)))
(net (code 51) (name /XTAL2)
(node (ref U1) (pin 6))
(node (ref U1) (pin 4))
(node (ref J1) (pin 2))
(node (ref J3) (pin A4B9))
(node (ref U1) (pin 18)))
(net (code 57) (name /XTAL2)
(node (ref U1) (pin 8)))
(net (code 52) (name /XTAL1)
(net (code 58) (name /XTAL1)
(node (ref U1) (pin 7)))
(net (code 53) (name /SCK)
(node (ref U1) (pin 17)))
(net (code 54) (name /MISO)
(node (ref U1) (pin 16)))
(net (code 55) (name /MOSI)
(node (ref U1) (pin 15)))
(net (code 56) (name /TX)
(node (ref U1) (pin 31)))
(net (code 57) (name /RX)
(node (ref U1) (pin 30)))
(net (code 58) (name /RST)
(node (ref R1) (pin 1)))
(net (code 59) (name /RST)
(node (ref J1) (pin 5)))
(net (code 60) (name /SCK)
(node (ref J1) (pin 3)))
(net (code 61) (name /MOSI)
(node (ref J1) (pin 4)))
(net (code 62) (name /MISO)
(node (ref J1) (pin 1)))
(net (code 63) (name /XTAL1)
(node (ref C1) (pin 1))
(node (ref Y1) (pin 1)))
(net (code 64) (name /XTAL2)
(net (code 59) (name /SDA)
(node (ref JP1) (pin 1)))
(net (code 60) (name /XTAL1)
(node (ref Y1) (pin 1))
(node (ref C1) (pin 1)))
(net (code 61) (name /XTAL2)
(node (ref Y1) (pin 2))
(node (ref C2) (pin 1)))
(net (code 65) (name /RST)
(node (ref U1) (pin 29)))))
(net (code 62) (name /RX)
(node (ref U1) (pin 30)))
(net (code 63) (name /RST)
(node (ref U1) (pin 29)))
(net (code 64) (name /SCL)
(node (ref U1) (pin 28)))
(net (code 65) (name /SDA)
(node (ref U1) (pin 27)))
(net (code 66) (name /TX)
(node (ref U1) (pin 31)))
(net (code 67) (name /MOSI)
(node (ref U1) (pin 15)))
(net (code 68) (name /TX)
(node (ref JP2) (pin 1)))
(net (code 69) (name /RX)
(node (ref JP4) (pin 1)))
(net (code 70) (name /SCL)
(node (ref JP3) (pin 1)))
(net (code 71) (name /SCK)
(node (ref U1) (pin 17)))
(net (code 72) (name /MISO)
(node (ref U1) (pin 16)))
(net (code 73) (name /RST)
(node (ref J1) (pin 5)))
(net (code 74) (name /MOSI)
(node (ref J1) (pin 4)))
(net (code 75) (name /SCK)
(node (ref J1) (pin 3)))
(net (code 76) (name /MISO)
(node (ref J1) (pin 1)))
(net (code 77) (name /RST)
(node (ref R1) (pin 1)))))

View file

@ -35,8 +35,6 @@ F 3 "https://datasheet.octopart.com/PEC11R-4220F-S0012-Bourns-datasheet-68303416
1 6450 1150
1 0 0 -1
$EndComp
Text Notes -850 -800 0 50 ~ 0
use jumper (solderswitch) to change between i2c / uart
$Comp
L TYPE-C-31-M-12:TYPE-C-31-M-12 J3
U 1 1 6112D89A
@ -857,4 +855,76 @@ NoConn ~ 2400 1500
NoConn ~ 1200 1600
NoConn ~ 1200 1500
NoConn ~ 1200 1300
$Comp
L Connector_Generic:Conn_01x13 J2
U 1 1 61285557
P 9000 2050
F 0 "J2" H 9080 2092 50 0000 L CNN
F 1 "Conn_01x13" H 9080 2001 50 0000 L CNN
F 2 "Connector_PinHeader_1.00mm:PinHeader_1x13_P1.00mm_Vertical" H 9000 2050 50 0001 C CNN
F 3 "~" H 9000 2050 50 0001 C CNN
1 9000 2050
1 0 0 -1
$EndComp
Text HLabel 8700 1450 0 50 Input ~ 0
ENC1A
Text HLabel 8700 1550 0 50 Input ~ 0
ENC1B
Text HLabel 8700 1650 0 50 Input ~ 0
ENC2A
Text HLabel 8700 1750 0 50 Input ~ 0
ENC2B
Text HLabel 8700 1850 0 50 Input ~ 0
ENC3A
Text HLabel 8700 1950 0 50 Input ~ 0
ENC3B
Text HLabel 8700 2050 0 50 Input ~ 0
ENC4A
Text HLabel 8700 2150 0 50 Input ~ 0
ENC4B
Text HLabel 8700 2250 0 50 Input ~ 0
BTN1
Text HLabel 8700 2350 0 50 Input ~ 0
BTN2
Text HLabel 8700 2450 0 50 Input ~ 0
BTN3
Text HLabel 8700 2550 0 50 Input ~ 0
BTN4
$Comp
L power:GND #PWR0122
U 1 1 61289C4F
P 8700 2650
F 0 "#PWR0122" H 8700 2400 50 0001 C CNN
F 1 "GND" V 8705 2522 50 0000 R CNN
F 2 "" H 8700 2650 50 0001 C CNN
F 3 "" H 8700 2650 50 0001 C CNN
1 8700 2650
0 1 1 0
$EndComp
Wire Wire Line
8700 1450 8800 1450
Wire Wire Line
8700 1550 8800 1550
Wire Wire Line
8700 1650 8800 1650
Wire Wire Line
8700 1750 8800 1750
Wire Wire Line
8700 1850 8800 1850
Wire Wire Line
8700 1950 8800 1950
Wire Wire Line
8700 2050 8800 2050
Wire Wire Line
8700 2150 8800 2150
Wire Wire Line
8700 2250 8800 2250
Wire Wire Line
8700 2350 8800 2350
Wire Wire Line
8700 2450 8800 2450
Wire Wire Line
8700 2550 8800 2550
Wire Wire Line
8700 2650 8800 2650
$EndSCHEMATC