Add PB processor & status led to console

This commit is contained in:
GHOSCHT 2021-08-17 12:30:25 +02:00
parent f60e2614fa
commit cfec09890c
3 changed files with 1525 additions and 1370 deletions

File diff suppressed because it is too large Load diff

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 "15.08.2021 16:11:02")
(date "17.08.2021 12:27:42")
(tool "Eeschema (5.1.10)-1")
(sheet (number 1) (name /) (tstamps /)
(title_block
@ -15,13 +15,6 @@
(comment (number 3) (value ""))
(comment (number 4) (value "Author: GHOSCHT")))))
(components
(comp (ref U1)
(value ATmega328P-AU)
(footprint Package_QFP:TQFP-32_7x7mm_P0.8mm)
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf)
(libsource (lib MCU_Microchip_ATmega) (part ATmega328P-AU) (description "20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, TQFP-32"))
(sheetpath (names /) (tstamps /))
(tstamp 61124B57))
(comp (ref SW1)
(value PEC11R-4220F-S0012)
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
@ -215,7 +208,28 @@
(datasheet ~)
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
(sheetpath (names /) (tstamps /))
(tstamp 6132D0B4)))
(tstamp 6132D0B4))
(comp (ref U1)
(value ATmega328PB-AU)
(footprint Package_QFP:TQFP-32_7x7mm_P0.8mm)
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/40001906C.pdf)
(libsource (lib MCU_Microchip_ATmega) (part ATmega328PB-AU) (description "20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, TQFP-32"))
(sheetpath (names /) (tstamps /))
(tstamp 61C8D3E7))
(comp (ref D2)
(value 17-21/BHC-XL2M2TY/3T)
(footprint LED_SMD:LED_0805_2012Metric_Castellated)
(datasheet ~)
(libsource (lib Device) (part LED) (description "Light emitting diode"))
(sheetpath (names /) (tstamps /))
(tstamp 61D1A3B1))
(comp (ref R3)
(value 200)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 61D1A3B7)))
(libparts
(libpart (lib Connector) (part AVR-ISP-6)
(description "Atmel 6-pin ISP connector")
@ -350,36 +364,26 @@
(pins
(pin (num 1) (name A) (type passive))
(pin (num 2) (name B) (type passive))))
(libpart (lib MCU_Microchip_ATmega) (part ATmega48PV-10AU)
(libpart (lib MCU_Microchip_ATmega) (part ATmega48PB-AU)
(aliases
(alias ATmega48P-20AU)
(alias ATmega48A-AU)
(alias ATmega48PA-AU)
(alias ATmega88PV-10AU)
(alias ATmega88P-20AU)
(alias ATmega88A-AU)
(alias ATmega88PA-AU)
(alias ATmega168PV-10AU)
(alias ATmega168P-20AU)
(alias ATmega168A-AU)
(alias ATmega168PA-AU)
(alias ATmega328-AU)
(alias ATmega328P-AU))
(description "10MHz, 4kB Flash, 512B SRAM, 256B EEPROM, TQFP-32")
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8025-8-bit-AVR-Microcontroller-ATmega48P-88P-168P_Datasheet.pdf)
(alias ATmega88PB-AU)
(alias ATmega168PB-AU)
(alias ATmega328PB-AU))
(description "20MHz, 4kB Flash, 512B SRAM, 256B EEPROM, TQFP-32")
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/40001909A.pdf)
(footprints
(fp TQFP*7x7mm*P0.8mm*))
(fields
(field (name Reference) U)
(field (name Value) ATmega48PV-10AU)
(field (name Value) ATmega48PB-AU)
(field (name Footprint) Package_QFP:TQFP-32_7x7mm_P0.8mm))
(pins
(pin (num 1) (name PD3) (type BiDi))
(pin (num 2) (name PD4) (type BiDi))
(pin (num 3) (name GND) (type power_in))
(pin (num 3) (name PE0) (type BiDi))
(pin (num 4) (name VCC) (type power_in))
(pin (num 5) (name GND) (type passive))
(pin (num 6) (name VCC) (type passive))
(pin (num 5) (name GND) (type power_in))
(pin (num 6) (name PE1) (type BiDi))
(pin (num 7) (name XTAL1/PB6) (type BiDi))
(pin (num 8) (name XTAL2/PB7) (type BiDi))
(pin (num 9) (name PD5) (type BiDi))
@ -392,10 +396,10 @@
(pin (num 16) (name PB4) (type BiDi))
(pin (num 17) (name PB5) (type BiDi))
(pin (num 18) (name AVCC) (type power_in))
(pin (num 19) (name ADC6) (type input))
(pin (num 19) (name PE2) (type BiDi))
(pin (num 20) (name AREF) (type passive))
(pin (num 21) (name GND) (type passive))
(pin (num 22) (name ADC7) (type input))
(pin (num 22) (name PE3) (type BiDi))
(pin (num 23) (name PC0) (type BiDi))
(pin (num 24) (name PC1) (type BiDi))
(pin (num 25) (name PC2) (type BiDi))
@ -457,171 +461,178 @@
(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 RST)
(net (code 1) (name GND)
(node (ref SW1) (pin C))
(node (ref J5) (pin 1))
(node (ref D1) (pin 1))
(node (ref J4) (pin 1))
(node (ref SW1) (pin S1))
(node (ref J1) (pin 6))
(node (ref SW2) (pin S1))
(node (ref SW3) (pin S1))
(node (ref U1) (pin 21))
(node (ref SW5) (pin 2))
(node (ref SW3) (pin C))
(node (ref C1) (pin 2))
(node (ref C2) (pin 2))
(node (ref U1) (pin 5))
(node (ref J2) (pin S2))
(node (ref J2) (pin A1B12))
(node (ref J2) (pin B1A12))
(node (ref D2) (pin 1))
(node (ref J2) (pin S1))
(node (ref C3) (pin 2))
(node (ref SW2) (pin C))
(node (ref J2) (pin S3))
(node (ref J2) (pin S4))
(node (ref SW4) (pin S1))
(node (ref SW4) (pin C))
(node (ref J3) (pin 1)))
(net (code 2) (name XTAL1)
(node (ref Y1) (pin 1))
(node (ref U1) (pin 7))
(node (ref C1) (pin 1)))
(net (code 3) (name XTAL2)
(node (ref Y1) (pin 2))
(node (ref C2) (pin 1))
(node (ref U1) (pin 8)))
(net (code 4) (name MOSI)
(node (ref J1) (pin 4))
(node (ref U1) (pin 15)))
(net (code 5) (name SCK)
(node (ref J1) (pin 3))
(node (ref U1) (pin 17)))
(net (code 6) (name MISO)
(node (ref U1) (pin 16))
(node (ref J1) (pin 1)))
(net (code 7) (name VCC)
(node (ref U1) (pin 4))
(node (ref U1) (pin 18))
(node (ref J1) (pin 2))
(node (ref J2) (pin A4B9))
(node (ref R1) (pin 2))
(node (ref J2) (pin B4A9))
(node (ref C3) (pin 1))
(node (ref R2) (pin 2))
(node (ref J5) (pin 4)))
(net (code 8) (name "Net-(J2-PadB6)")
(node (ref JP9) (pin 1))
(node (ref J2) (pin B6))
(node (ref JP10) (pin 1)))
(net (code 9) (name "Net-(J2-PadA7)")
(node (ref JP4) (pin 2))
(node (ref J2) (pin A7))
(node (ref JP3) (pin 2)))
(net (code 10) (name RST)
(node (ref J4) (pin 4))
(node (ref J1) (pin 5))
(node (ref JP6) (pin 2))
(node (ref SW5) (pin 1))
(node (ref U1) (pin 29))
(node (ref JP5) (pin 1))
(node (ref R1) (pin 1))
(node (ref U1) (pin 29)))
(net (code 2) (name ENC3B)
(node (ref U1) (pin 11))
(node (ref SW3) (pin B))
(node (ref J3) (pin 7)))
(net (code 3) (name ENC3A)
(node (ref U1) (pin 10))
(node (ref J3) (pin 6))
(node (ref SW3) (pin A)))
(net (code 4) (name ENC2B)
(node (ref J1) (pin 5))
(node (ref SW5) (pin 1))
(node (ref JP6) (pin 2))
(node (ref R1) (pin 1)))
(net (code 11) (name SCL)
(node (ref U1) (pin 28))
(node (ref JP8) (pin 2))
(node (ref JP3) (pin 1))
(node (ref J5) (pin 3)))
(net (code 12) (name RX)
(node (ref JP4) (pin 1))
(node (ref JP7) (pin 2))
(node (ref J4) (pin 2))
(node (ref U1) (pin 30)))
(net (code 13) (name TX)
(node (ref JP9) (pin 2))
(node (ref U1) (pin 31))
(node (ref J4) (pin 3))
(node (ref JP2) (pin 1)))
(net (code 14) (name ENC4B)
(node (ref U1) (pin 13))
(node (ref SW4) (pin B))
(node (ref J3) (pin 9)))
(net (code 15) (name ENC4A)
(node (ref SW4) (pin A))
(node (ref J3) (pin 8))
(node (ref U1) (pin 12)))
(net (code 16) (name ENC2B)
(node (ref U1) (pin 9))
(node (ref SW2) (pin B))
(node (ref J3) (pin 5)))
(net (code 5) (name ENC2A)
(node (ref SW2) (pin A))
(net (code 17) (name ENC1B)
(node (ref SW1) (pin B))
(node (ref U1) (pin 1))
(node (ref J3) (pin 3)))
(net (code 18) (name ENC3B)
(node (ref U1) (pin 11))
(node (ref J3) (pin 7))
(node (ref SW3) (pin B)))
(net (code 19) (name ENC3A)
(node (ref U1) (pin 10))
(node (ref J3) (pin 6))
(node (ref SW3) (pin A)))
(net (code 20) (name ENC2A)
(node (ref J3) (pin 4))
(node (ref SW2) (pin A))
(node (ref U1) (pin 2)))
(net (code 6) (name TX)
(node (ref JP2) (pin 1))
(node (ref JP9) (pin 2))
(node (ref U1) (pin 31))
(node (ref J4) (pin 3)))
(net (code 7) (name SCL)
(node (ref U1) (pin 28))
(node (ref J5) (pin 3))
(node (ref JP8) (pin 2))
(node (ref JP3) (pin 1)))
(net (code 8) (name SDA)
(node (ref U1) (pin 27))
(node (ref JP10) (pin 2))
(node (ref JP1) (pin 1))
(node (ref J5) (pin 2)))
(net (code 9) (name XTAL2)
(node (ref U1) (pin 8))
(node (ref C2) (pin 1))
(node (ref Y1) (pin 2)))
(net (code 10) (name XTAL1)
(node (ref C1) (pin 1))
(node (ref Y1) (pin 1))
(node (ref U1) (pin 7)))
(net (code 11) (name SCK)
(node (ref J1) (pin 3))
(node (ref U1) (pin 17)))
(net (code 12) (name MISO)
(node (ref U1) (pin 16))
(node (ref J1) (pin 1)))
(net (code 13) (name MOSI)
(node (ref U1) (pin 15))
(node (ref J1) (pin 4)))
(net (code 14) (name GND)
(node (ref SW4) (pin S1))
(node (ref SW3) (pin S1))
(node (ref SW2) (pin C))
(node (ref SW2) (pin S1))
(node (ref SW3) (pin C))
(node (ref SW4) (pin C))
(node (ref U1) (pin 5))
(node (ref U1) (pin 21))
(node (ref U1) (pin 3))
(node (ref SW1) (pin C))
(node (ref SW1) (pin S1))
(node (ref J2) (pin A1B12))
(node (ref J2) (pin B1A12))
(node (ref J2) (pin S1))
(node (ref J2) (pin S2))
(node (ref J2) (pin S3))
(node (ref J2) (pin S4))
(node (ref J5) (pin 1))
(node (ref D1) (pin 1))
(node (ref C3) (pin 2))
(node (ref C2) (pin 2))
(node (ref C1) (pin 2))
(node (ref J1) (pin 6))
(node (ref SW5) (pin 2))
(node (ref J3) (pin 1))
(node (ref J4) (pin 1)))
(net (code 15) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 16) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 17) (name "Net-(U1-Pad14)")
(node (ref U1) (pin 14)))
(net (code 18) (name VCC)
(node (ref U1) (pin 4))
(node (ref J5) (pin 4))
(node (ref C3) (pin 1))
(node (ref U1) (pin 18))
(node (ref U1) (pin 6))
(node (ref J2) (pin B4A9))
(node (ref J2) (pin A4B9))
(node (ref J1) (pin 2))
(node (ref R2) (pin 2))
(node (ref R1) (pin 2)))
(net (code 19) (name "Net-(J2-PadB6)")
(node (ref JP9) (pin 1))
(node (ref JP10) (pin 1))
(node (ref J2) (pin B6)))
(net (code 20) (name RX)
(node (ref JP7) (pin 2))
(node (ref J4) (pin 2))
(node (ref JP4) (pin 1))
(node (ref U1) (pin 30)))
(net (code 21) (name "Net-(J2-PadA7)")
(node (ref J2) (pin A7))
(node (ref JP3) (pin 2))
(node (ref JP4) (pin 2)))
(net (code 22) (name "Net-(J2-PadA6)")
(node (ref JP1) (pin 2))
(node (ref J2) (pin A6))
(node (ref JP2) (pin 2)))
(net (code 21) (name ENC1A)
(node (ref J3) (pin 2))
(node (ref SW1) (pin A))
(node (ref U1) (pin 32)))
(net (code 22) (name BTN4)
(node (ref SW4) (pin S2))
(node (ref J3) (pin 13))
(node (ref U1) (pin 26)))
(net (code 23) (name "Net-(D1-Pad2)")
(node (ref R2) (pin 1))
(node (ref D1) (pin 2)))
(net (code 24) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 25) (name BTN4)
(node (ref J3) (pin 13))
(node (ref SW4) (pin S2))
(node (ref U1) (pin 26)))
(net (code 26) (name BTN3)
(net (code 24) (name BTN3)
(node (ref SW3) (pin S2))
(node (ref J3) (pin 12))
(node (ref U1) (pin 25))
(node (ref SW3) (pin S2)))
(net (code 27) (name BTN2)
(node (ref J3) (pin 11))
(node (ref U1) (pin 25)))
(net (code 25) (name BTN2)
(node (ref SW2) (pin S2))
(node (ref U1) (pin 24)))
(net (code 28) (name BTN1)
(node (ref U1) (pin 24))
(node (ref J3) (pin 11)))
(net (code 26) (name BTN1)
(node (ref U1) (pin 23))
(node (ref SW1) (pin S2))
(node (ref J3) (pin 10)))
(net (code 29) (name ENC4B)
(node (ref J3) (pin 9))
(node (ref U1) (pin 13))
(node (ref SW4) (pin B)))
(net (code 30) (name "Net-(J2-PadB8)")
(node (ref JP6) (pin 1))
(node (ref J2) (pin B8)))
(net (code 31) (name "Net-(J2-PadB5)")
(node (ref J3) (pin 10))
(node (ref SW1) (pin S2)))
(net (code 27) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 28) (name LED)
(node (ref R3) (pin 2))
(node (ref U1) (pin 14)))
(net (code 29) (name "Net-(D2-Pad2)")
(node (ref R3) (pin 1))
(node (ref D2) (pin 2)))
(net (code 30) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 31) (name "Net-(U1-Pad6)")
(node (ref U1) (pin 6)))
(net (code 32) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 33) (name "Net-(U1-Pad3)")
(node (ref U1) (pin 3)))
(net (code 34) (name "Net-(J2-PadB5)")
(node (ref J2) (pin B5)))
(net (code 32) (name "Net-(J2-PadA8)")
(net (code 35) (name "Net-(J2-PadB8)")
(node (ref J2) (pin B8))
(node (ref JP6) (pin 1)))
(net (code 36) (name "Net-(J2-PadA8)")
(node (ref JP5) (pin 2))
(node (ref J2) (pin A8)))
(net (code 33) (name "Net-(J2-PadA5)")
(net (code 37) (name "Net-(J2-PadA5)")
(node (ref J2) (pin A5)))
(net (code 34) (name ENC1B)
(node (ref SW1) (pin B))
(node (ref J3) (pin 3))
(node (ref U1) (pin 1)))
(net (code 35) (name ENC1A)
(node (ref J3) (pin 2))
(node (ref U1) (pin 32))
(node (ref SW1) (pin A)))
(net (code 36) (name ENC4A)
(node (ref J3) (pin 8))
(node (ref SW4) (pin A))
(node (ref U1) (pin 12)))
(net (code 37) (name "Net-(J2-PadB7)")
(node (ref JP8) (pin 1))
(net (code 38) (name "Net-(J2-PadB7)")
(node (ref JP7) (pin 1))
(node (ref J2) (pin B7)))))
(node (ref J2) (pin B7))
(node (ref JP8) (pin 1)))
(net (code 39) (name "Net-(J2-PadA6)")
(node (ref JP1) (pin 2))
(node (ref J2) (pin A6))
(node (ref JP2) (pin 2)))
(net (code 40) (name SDA)
(node (ref J5) (pin 2))
(node (ref JP10) (pin 2))
(node (ref U1) (pin 27))
(node (ref JP1) (pin 1)))))

View file

@ -14,17 +14,6 @@ Comment3 ""
Comment4 "Author: GHOSCHT"
$EndDescr
$Comp
L MCU_Microchip_ATmega:ATmega328P-AU U1
U 1 1 61124B57
P 1800 2500
F 0 "U1" H 1800 2650 50 0000 C CNN
F 1 "ATmega328P-AU" H 1750 2550 50 0000 C CNN
F 2 "Package_QFP:TQFP-32_7x7mm_P0.8mm" H 1800 2500 50 0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf" H 1800 2500 50 0001 C CNN
1 1800 2500
1 0 0 -1
$EndComp
$Comp
L Device:Rotary_Encoder_Switch SW1
U 1 1 6112A1C1
P 7100 1200
@ -61,51 +50,6 @@ F 3 "~" H 6750 4100 50 0001 C CNN
1 6750 4100
1 0 0 -1
$EndComp
Wire Wire Line
2400 1900 2500 1900
Wire Wire Line
2400 2000 2500 2000
$Comp
L power:VCC #PWR02
U 1 1 61153B27
P 1800 900
F 0 "#PWR02" H 1800 750 50 0001 C CNN
F 1 "VCC" H 1815 1073 50 0000 C CNN
F 2 "" H 1800 900 50 0001 C CNN
F 3 "" H 1800 900 50 0001 C CNN
1 1800 900
1 0 0 -1
$EndComp
Wire Wire Line
1800 900 1800 950
Wire Wire Line
1800 950 1900 950
Wire Wire Line
1900 950 1900 1000
Connection ~ 1800 950
Wire Wire Line
1800 950 1800 1000
$Comp
L power:GND #PWR03
U 1 1 6115A165
P 1800 4100
F 0 "#PWR03" H 1800 3850 50 0001 C CNN
F 1 "GND" H 1805 3927 50 0000 C CNN
F 2 "" H 1800 4100 50 0001 C CNN
F 3 "" H 1800 4100 50 0001 C CNN
1 1800 4100
1 0 0 -1
$EndComp
Wire Wire Line
1800 4000 1800 4100
Wire Wire Line
2400 2800 2500 2800
Wire Wire Line
2400 1600 2500 1600
Wire Wire Line
2400 1700 2500 1700
Wire Wire Line
2400 1800 2500 1800
$Comp
L power:VCC #PWR019
U 1 1 6116E743
@ -188,14 +132,6 @@ Wire Wire Line
9400 4850 9500 4850
Wire Wire Line
7900 4850 8000 4850
Wire Wire Line
2400 3000 2500 3000
Wire Wire Line
2400 3100 2500 3100
Wire Wire Line
2400 2700 2500 2700
Wire Wire Line
2400 2600 2500 2600
$Comp
L Jumper:SolderJumper_2_Open JP3
U 1 1 6118262C
@ -455,14 +391,6 @@ Wire Wire Line
7400 2650 7500 2650
Wire Wire Line
7400 3300 7500 3300
Wire Wire Line
2400 2200 2500 2200
Wire Wire Line
2400 2300 2500 2300
Wire Wire Line
2400 2400 2500 2400
Wire Wire Line
2400 2500 2500 2500
Wire Wire Line
6700 1100 6800 1100
Wire Wire Line
@ -479,25 +407,6 @@ Wire Wire Line
6650 3100 6800 3100
Wire Wire Line
6650 3300 6800 3300
Wire Wire Line
2400 1300 2500 1300
Wire Wire Line
2400 1400 2500 1400
Wire Wire Line
2400 3200 2500 3200
Wire Wire Line
2400 3300 2500 3300
Wire Wire Line
2400 3400 2500 3400
Wire Wire Line
2400 3500 2500 3500
Wire Wire Line
2400 3600 2500 3600
Wire Wire Line
2400 3700 2500 3700
NoConn ~ 2400 1500
NoConn ~ 1200 1600
NoConn ~ 1200 1500
$Comp
L Connector_Generic:Conn_01x13 J3
U 1 1 61285557
@ -653,48 +562,6 @@ Wire Notes Line
6300 750 6300 3500
Text Notes 6300 750 0 50 ~ 0
Encoder input
Text GLabel 2500 1300 2 50 Input ~ 0
ENC4A
Text GLabel 2500 1400 2 50 Input ~ 0
ENC4B
Text GLabel 2500 1600 2 50 Input ~ 0
MOSI
Text GLabel 2500 1700 2 50 Input ~ 0
MISO
Text GLabel 2500 1800 2 50 Input ~ 0
SCK
Text GLabel 2500 1900 2 50 Input ~ 0
XTAL1
Text GLabel 2500 2000 2 50 Input ~ 0
XTAL2
Text GLabel 2500 2200 2 50 Input ~ 0
BTN1
Text GLabel 2500 2300 2 50 Input ~ 0
BTN2
Text GLabel 2500 2400 2 50 Input ~ 0
BTN3
Text GLabel 2500 2500 2 50 Input ~ 0
BTN4
Text GLabel 2500 2600 2 50 Input ~ 0
SDA
Text GLabel 2500 2700 2 50 Input ~ 0
SCL
Text GLabel 2500 2800 2 50 Input ~ 0
RST
Text GLabel 2500 3100 2 50 Input ~ 0
TX
Text GLabel 2500 3200 2 50 Input ~ 0
ENC1A
Text GLabel 2500 3300 2 50 Input ~ 0
ENC1B
Text GLabel 2500 3400 2 50 Input ~ 0
ENC2A
Text GLabel 2500 3500 2 50 Input ~ 0
ENC2B
Text GLabel 2500 3600 2 50 Input ~ 0
ENC3A
Text GLabel 2500 3700 2 50 Input ~ 0
ENC3B
Text GLabel 6700 1100 0 50 Input ~ 0
ENC1A
Text GLabel 6700 1300 0 50 Input ~ 0
@ -719,8 +586,6 @@ Text GLabel 7500 2650 2 50 Input ~ 0
BTN3
Text GLabel 7500 3300 2 50 Input ~ 0
BTN4
Text GLabel 2500 3000 2 50 Input ~ 0
RX
Text GLabel 8550 2400 0 50 Input ~ 0
RX
Text GLabel 8550 2500 0 50 Input ~ 0
@ -773,13 +638,10 @@ Text GLabel 10750 5000 2 50 Input ~ 0
SDA
Text GLabel 6550 5300 0 50 Input ~ 0
RST
Text Notes 0 150 0 79 ~ 16
Todo: add reset button, status rgb led and power led
Wire Wire Line
7050 5000 6900 5000
Text GLabel 10750 3800 2 50 Input ~ 0
RST
NoConn ~ 1200 1300
Wire Notes Line
6300 5550 11000 5550
Text Notes 1800 6950 0 50 ~ 0
@ -916,8 +778,8 @@ Wire Wire Line
3700 6850 3700 7000
Text Notes 1800 5700 0 50 ~ 0
Reset pullup
Text Notes 2450 5700 0 50 ~ 0
Power decoupling capacitor
Text Notes 550 2100 0 50 ~ 0
ATmega decoupling capacitor
Wire Notes Line
2200 5700 1800 5700
Wire Notes Line
@ -927,13 +789,13 @@ Wire Notes Line
Wire Notes Line
1800 5700 1800 6800
Wire Notes Line
2950 5700 2450 5700
1050 2100 550 2100
Wire Notes Line
2950 6800 2950 5700
1050 3200 1050 2100
Wire Notes Line
2450 6800 2950 6800
550 3200 1050 3200
Wire Notes Line
2450 5700 2450 6800
550 2100 550 3200
Text Notes 550 5700 0 50 ~ 0
ATmega oscillator
Wire Notes Line
@ -1093,40 +955,40 @@ Wire Wire Line
1300 6050 1300 6300
Connection ~ 1300 6300
Wire Wire Line
2600 6400 2600 6500
700 2800 700 2900
Wire Wire Line
2600 6000 2600 6100
700 2400 700 2500
$Comp
L Device:C C3
U 1 1 6115564D
P 2600 6250
F 0 "C3" H 2715 6296 50 0000 L CNN
F 1 "100n" H 2715 6205 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 2638 6100 50 0001 C CNN
F 3 "~" H 2600 6250 50 0001 C CNN
1 2600 6250
P 700 2650
F 0 "C3" H 815 2696 50 0000 L CNN
F 1 "100n" H 815 2605 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 738 2500 50 0001 C CNN
F 3 "~" H 700 2650 50 0001 C CNN
1 700 2650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR06
U 1 1 61155121
P 2600 6500
F 0 "#PWR06" H 2600 6250 50 0001 C CNN
F 1 "GND" H 2605 6327 50 0000 C CNN
F 2 "" H 2600 6500 50 0001 C CNN
F 3 "" H 2600 6500 50 0001 C CNN
1 2600 6500
P 700 2900
F 0 "#PWR06" H 700 2650 50 0001 C CNN
F 1 "GND" H 705 2727 50 0000 C CNN
F 2 "" H 700 2900 50 0001 C CNN
F 3 "" H 700 2900 50 0001 C CNN
1 700 2900
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR05
U 1 1 61154991
P 2600 6000
F 0 "#PWR05" H 2600 5850 50 0001 C CNN
F 1 "VCC" H 2615 6173 50 0000 C CNN
F 2 "" H 2600 6000 50 0001 C CNN
F 3 "" H 2600 6000 50 0001 C CNN
1 2600 6000
P 700 2400
F 0 "#PWR05" H 700 2250 50 0001 C CNN
F 1 "VCC" H 715 2573 50 0000 C CNN
F 2 "" H 700 2400 50 0001 C CNN
F 3 "" H 700 2400 50 0001 C CNN
1 700 2400
1 0 0 -1
$EndComp
$Comp
@ -1206,32 +1068,234 @@ F 3 "~" H 10550 5000 50 0001 C CNN
1 10550 5000
1 0 0 -1
$EndComp
Text GLabel 2050 5000 0 50 Input ~ 0
Text GLabel 2600 6050 0 50 Input ~ 0
RST
Wire Wire Line
2050 5000 2150 5000
2600 6050 2700 6050
Wire Wire Line
2550 5000 2650 5000
3100 6050 3200 6050
$Comp
L power:GND #PWR0103
U 1 1 612E73C3
P 2650 5000
F 0 "#PWR0103" H 2650 4750 50 0001 C CNN
F 1 "GND" H 2655 4827 50 0000 C CNN
F 2 "" H 2650 5000 50 0001 C CNN
F 3 "" H 2650 5000 50 0001 C CNN
1 2650 5000
P 3200 6050
F 0 "#PWR0103" H 3200 5800 50 0001 C CNN
F 1 "GND" H 3205 5877 50 0000 C CNN
F 2 "" H 3200 6050 50 0001 C CNN
F 3 "" H 3200 6050 50 0001 C CNN
1 3200 6050
0 -1 -1 0
$EndComp
$Comp
L Switch:SW_Push SW5
U 1 1 6132D0B4
P 2350 5000
F 0 "SW5" H 2350 5285 50 0000 C CNN
F 1 "SW_Push" H 2350 5194 50 0000 C CNN
F 2 "SKRKAEE020:SKRKAEE020" H 2350 5200 50 0001 C CNN
F 3 "~" H 2350 5200 50 0001 C CNN
1 2350 5000
P 2900 6050
F 0 "SW5" H 2900 6335 50 0000 C CNN
F 1 "SW_Push" H 2900 6244 50 0000 C CNN
F 2 "SKRKAEE020:SKRKAEE020" H 2900 6250 50 0001 C CNN
F 3 "~" H 2900 6250 50 0001 C CNN
1 2900 6050
1 0 0 -1
$EndComp
Wire Notes Line
2350 5700 2350 6200
Wire Notes Line
2350 6200 3450 6200
Wire Notes Line
3450 6200 3450 5700
Wire Notes Line
3450 5700 2350 5700
Text Notes 2350 5700 0 50 ~ 0
Reset button
$Comp
L MCU_Microchip_ATmega:ATmega328PB-AU U1
U 1 1 61C8D3E7
P 2250 2500
F 0 "U1" H 2200 2600 50 0000 C CNN
F 1 "ATmega328PB-AU" H 2150 2500 50 0000 C CNN
F 2 "Package_QFP:TQFP-32_7x7mm_P0.8mm" H 2250 2500 50 0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/40001906C.pdf" H 2250 2500 50 0001 C CNN
1 2250 2500
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR03
U 1 1 61C958B0
P 2250 4100
F 0 "#PWR03" H 2250 3850 50 0001 C CNN
F 1 "GND" H 2255 3927 50 0000 C CNN
F 2 "" H 2250 4100 50 0001 C CNN
F 3 "" H 2250 4100 50 0001 C CNN
1 2250 4100
1 0 0 -1
$EndComp
Wire Wire Line
2250 4000 2250 4100
$Comp
L power:VCC #PWR02
U 1 1 61CA7464
P 2250 900
F 0 "#PWR02" H 2250 750 50 0001 C CNN
F 1 "VCC" H 2265 1073 50 0000 C CNN
F 2 "" H 2250 900 50 0001 C CNN
F 3 "" H 2250 900 50 0001 C CNN
1 2250 900
1 0 0 -1
$EndComp
Wire Wire Line
2250 900 2250 950
Wire Wire Line
2250 950 2350 950
Wire Wire Line
2350 950 2350 1000
Connection ~ 2250 950
Wire Wire Line
2250 950 2250 1000
Wire Wire Line
2850 1900 2950 1900
Wire Wire Line
2850 2000 2950 2000
Wire Wire Line
2850 2800 2950 2800
Wire Wire Line
2850 1600 2950 1600
Wire Wire Line
2850 1700 2950 1700
Wire Wire Line
2850 1800 2950 1800
Wire Wire Line
2850 3000 2950 3000
Wire Wire Line
2850 3100 2950 3100
Wire Wire Line
2850 2700 2950 2700
Wire Wire Line
2850 2600 2950 2600
Wire Wire Line
2850 2200 2950 2200
Wire Wire Line
2850 2300 2950 2300
Wire Wire Line
2850 2400 2950 2400
Wire Wire Line
2850 2500 2950 2500
Wire Wire Line
2850 1300 2950 1300
Wire Wire Line
2850 1400 2950 1400
Wire Wire Line
2850 3200 2950 3200
Wire Wire Line
2850 3300 2950 3300
Wire Wire Line
2850 3400 2950 3400
Wire Wire Line
2850 3500 2950 3500
Wire Wire Line
2850 3600 2950 3600
Wire Wire Line
2850 3700 2950 3700
Text GLabel 2950 1300 2 50 Input ~ 0
ENC4A
Text GLabel 2950 1400 2 50 Input ~ 0
ENC4B
Text GLabel 2950 1600 2 50 Input ~ 0
MOSI
Text GLabel 2950 1700 2 50 Input ~ 0
MISO
Text GLabel 2950 1800 2 50 Input ~ 0
SCK
Text GLabel 2950 1900 2 50 Input ~ 0
XTAL1
Text GLabel 2950 2000 2 50 Input ~ 0
XTAL2
Text GLabel 2950 2200 2 50 Input ~ 0
BTN1
Text GLabel 2950 2300 2 50 Input ~ 0
BTN2
Text GLabel 2950 2400 2 50 Input ~ 0
BTN3
Text GLabel 2950 2500 2 50 Input ~ 0
BTN4
Text GLabel 2950 2600 2 50 Input ~ 0
SDA
Text GLabel 2950 2700 2 50 Input ~ 0
SCL
Text GLabel 2950 2800 2 50 Input ~ 0
RST
Text GLabel 2950 3100 2 50 Input ~ 0
TX
Text GLabel 2950 3200 2 50 Input ~ 0
ENC1A
Text GLabel 2950 3300 2 50 Input ~ 0
ENC1B
Text GLabel 2950 3400 2 50 Input ~ 0
ENC2A
Text GLabel 2950 3500 2 50 Input ~ 0
ENC2B
Text GLabel 2950 3600 2 50 Input ~ 0
ENC3A
Text GLabel 2950 3700 2 50 Input ~ 0
ENC3B
Text GLabel 2950 3000 2 50 Input ~ 0
RX
NoConn ~ 1650 3000
NoConn ~ 1650 3200
NoConn ~ 1650 3100
NoConn ~ 1650 3300
NoConn ~ 1650 1300
Text Notes 3600 3950 0 50 ~ 0
Status LED
Wire Notes Line
4900 3950 3600 3950
Wire Notes Line
4900 5500 4900 3950
Wire Notes Line
3600 5500 4900 5500
Wire Notes Line
3600 3950 3600 5500
$Comp
L Device:LED D2
U 1 1 61D1A3B1
P 3700 4950
F 0 "D2" V 3739 4832 50 0000 R CNN
F 1 "17-21/BHC-XL2M2TY/3T" V 3648 4832 50 0000 R CNN
F 2 "LED_SMD:LED_0805_2012Metric_Castellated" H 3700 4950 50 0001 C CNN
F 3 "~" H 3700 4950 50 0001 C CNN
1 3700 4950
0 -1 -1 0
$EndComp
$Comp
L Device:R R3
U 1 1 61D1A3B7
P 3700 4500
F 0 "R3" H 3630 4454 50 0000 R CNN
F 1 "200" H 3630 4545 50 0000 R CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 3630 4500 50 0001 C CNN
F 3 "~" H 3700 4500 50 0001 C CNN
1 3700 4500
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR028
U 1 1 61D1A3BD
P 3700 5250
F 0 "#PWR028" H 3700 5000 50 0001 C CNN
F 1 "GND" H 3705 5077 50 0000 C CNN
F 2 "" H 3700 5250 50 0001 C CNN
F 3 "" H 3700 5250 50 0001 C CNN
1 3700 5250
1 0 0 -1
$EndComp
Wire Wire Line
3700 4200 3700 4350
Wire Wire Line
3700 4650 3700 4800
Wire Wire Line
3700 5100 3700 5250
Text GLabel 3700 4200 1 50 Input ~ 0
LED
Text GLabel 2950 1500 2 50 Input ~ 0
LED
Wire Wire Line
2850 1500 2950 1500
$EndSCHEMATC