Improve repo directory structure
This commit is contained in:
parent
b88a844136
commit
56a07d7b1b
232 changed files with 182407 additions and 191167 deletions
6
.github/codeql/codeql-config.yml
vendored
6
.github/codeql/codeql-config.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
name: "CodeQL config"
|
name: "CodeQL config"
|
||||||
|
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- Devices/Module/Hardware/Circuit/bom
|
- modules/switching-module/Hardware/Circuit/bom
|
||||||
- Devices/Control/Hardware/Circuit/bom
|
- modules/control/Hardware/Circuit/bom
|
||||||
- Devices/Console/Hardware/Circuit/bom
|
- modules/console/Hardware/Circuit/bom
|
||||||
|
|
4
.github/workflows/Electron.yml
vendored
4
.github/workflows/Electron.yml
vendored
|
@ -23,6 +23,6 @@ jobs:
|
||||||
- name: Fix node-gyp
|
- name: Fix node-gyp
|
||||||
run: npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe"
|
run: npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: cd Dashboard && yarn --network-timeout 1000000000
|
run: cd ./modules/dashboard && yarn --network-timeout 1000000000
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cd Dashboard && yarn build
|
run: cd ./modules/dashboard && yarn build
|
||||||
|
|
4
.github/workflows/PlatformIO.yml
vendored
4
.github/workflows/PlatformIO.yml
vendored
|
@ -31,6 +31,6 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --upgrade platformio
|
pip install --upgrade platformio
|
||||||
- name: Build console
|
- name: Build console
|
||||||
run: pio run --project-dir "./Devices/Console/Firmware"
|
run: pio run --project-dir "./modules/console/Firmware"
|
||||||
- name: Build control
|
- name: Build control
|
||||||
run: pio run --project-dir "./Devices/Control/Firmware"
|
run: pio run --project-dir "./modules/control/Firmware"
|
||||||
|
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
|
@ -61,8 +61,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --upgrade platformio
|
pip install --upgrade platformio
|
||||||
pio run --project-dir "./Devices/Console/Firmware"
|
pio run --project-dir "./modules/console/Firmware"
|
||||||
pio run --project-dir "./Devices/Control/Firmware"
|
pio run --project-dir "./modules/control/Firmware"
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v1
|
uses: github/codeql-action/analyze@v1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
yarn --cwd ./Dashboard run lint
|
yarn --cwd ./modules/dashboard run lint
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,822 +0,0 @@
|
||||||
(pcb "D:\Dokumente\Coding\Visual Studio Code\smart-lamp-control\Devices\Console\Hardware\Circuit\Console.dsn"
|
|
||||||
(parser
|
|
||||||
(string_quote ")
|
|
||||||
(space_in_quoted_tokens on)
|
|
||||||
(host_cad "KiCad's Pcbnew")
|
|
||||||
(host_version "(5.1.10)-1")
|
|
||||||
)
|
|
||||||
(resolution um 10)
|
|
||||||
(unit um)
|
|
||||||
(structure
|
|
||||||
(layer F.Cu
|
|
||||||
(type signal)
|
|
||||||
(property
|
|
||||||
(index 0)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(layer B.Cu
|
|
||||||
(type signal)
|
|
||||||
(property
|
|
||||||
(index 1)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(boundary
|
|
||||||
(path pcb 0 197242 -126778 95238.5 -126778 95238.5 -64770 197242 -64770
|
|
||||||
197242 -126778)
|
|
||||||
)
|
|
||||||
(via "Via[0-1]_800:400_um")
|
|
||||||
(rule
|
|
||||||
(width 250)
|
|
||||||
(clearance 200.1)
|
|
||||||
(clearance 200.1 (type default_smd))
|
|
||||||
(clearance 50 (type smd_smd))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(placement
|
|
||||||
(component MountingHole:MountingHole_2.7mm_M2.5_Pad
|
|
||||||
(place PAD4 194131 -123634 front 0 (PN MountingHole_2.7mm_M2.5_Pad))
|
|
||||||
(place PAD3 98350 -123698 front 0 (PN MountingHole_2.7mm_M2.5_Pad))
|
|
||||||
(place PAD2 194131 -67881.5 front 0 (PN MountingHole_2.7mm_M2.5_Pad))
|
|
||||||
(place PAD1 98350 -67881.5 front 0 (PN MountingHole_2.7mm_M2.5_Pad))
|
|
||||||
)
|
|
||||||
(component Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder
|
|
||||||
(place C1 133414 -107188 front 0 (PN 22p))
|
|
||||||
(place C3 133540 -119126 front 0 (PN 100n))
|
|
||||||
)
|
|
||||||
(component "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm"
|
|
||||||
(place JP8 160985 -77292.2 front 0 (PN SolderJumper))
|
|
||||||
(place JP3 160985 -72847.2 front 180 (PN SolderJumper))
|
|
||||||
(place JP10 154635 -77292.2 front 0 (PN SolderJumper))
|
|
||||||
)
|
|
||||||
(component "AVR-ISP:AVR-ISP"
|
|
||||||
(place J1 177356 -113030 front 0 (PN "AVR-ISP-6"))
|
|
||||||
)
|
|
||||||
(component Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder::1
|
|
||||||
(place C2 133414 -112904 front 0 (PN 22p))
|
|
||||||
)
|
|
||||||
(component SKRKAEE020:SKRKAEE020
|
|
||||||
(place SW5 185594 -71564.5 front 0 (PN SW_Push))
|
|
||||||
)
|
|
||||||
(component Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder
|
|
||||||
(place R2 158877 -114682 front 0 (PN 200))
|
|
||||||
(place R1 158877 -119190 front 0 (PN 10k))
|
|
||||||
(place R4 161925 -82550 front 90 (PN 10k))
|
|
||||||
(place R5 155575 -82580 front 90 (PN 10k))
|
|
||||||
)
|
|
||||||
(component Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical
|
|
||||||
(place J4 153830 -123126 front 90 (PN Conn_01x04))
|
|
||||||
(place J5 178689 -123126 front 90 (PN Conn_01x04))
|
|
||||||
)
|
|
||||||
(component "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm::1"
|
|
||||||
(place JP1 154635 -72847.2 front 180 (PN SolderJumper))
|
|
||||||
)
|
|
||||||
(component "Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm"
|
|
||||||
(place JP2 132156 -77292.2 front 0 (PN SolderJumper_Bridged))
|
|
||||||
(place JP9 132141 -72847.2 front 180 (PN SolderJumper_Bridged))
|
|
||||||
(place JP5 137871 -72847.2 front 180 (PN SolderJumper_Bridged))
|
|
||||||
)
|
|
||||||
(component LED_SMD:LED_0805_2012Metric_Castellated
|
|
||||||
(place D1 158940 -111442 front 0 (PN "17-21/BHC-XL2M2TY/3T"))
|
|
||||||
)
|
|
||||||
(component Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_Vertical
|
|
||||||
(place J3 108077 -123126 front 90 (PN Conn_01x13))
|
|
||||||
)
|
|
||||||
(component "Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG"
|
|
||||||
(place SW1 103124 -95773.8 front 0 (PN "PEC11R-4220F-S0012"))
|
|
||||||
(place SW3 160613 -95773.8 front 0 (PN "PEC11R-4220F-S0012"))
|
|
||||||
)
|
|
||||||
(component "Crystal:Crystal_SMD_HC49-SD_HandSoldering"
|
|
||||||
(place Y1 116459 -112966 front 0 (PN 16MHz))
|
|
||||||
)
|
|
||||||
(component "HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12"
|
|
||||||
(place J2 146253 -67767.2 front 180 (PN "TYPE-C-31-M-12"))
|
|
||||||
)
|
|
||||||
(component "Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm::1"
|
|
||||||
(place JP4 126441 -72847.2 front 0 (PN SolderJumper_Bridged))
|
|
||||||
(place JP6 137871 -77292.2 front 0 (PN SolderJumper_Bridged))
|
|
||||||
(place JP7 126441 -77292.2 front 180 (PN SolderJumper_Bridged))
|
|
||||||
)
|
|
||||||
(component "Package_QFP:TQFP-32_7x7mm_P0.8mm"
|
|
||||||
(place U1 146240 -113030 front 45 (PN "ATmega328PB-AU"))
|
|
||||||
)
|
|
||||||
(component "Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG::1"
|
|
||||||
(place SW2 131868 -95773.8 front 0 (PN "PEC11R-4220F-S0012"))
|
|
||||||
(place SW4 189357 -95773.8 front 0 (PN "PEC11R-4220F-S0012"))
|
|
||||||
)
|
|
||||||
(component LED_SMD:LED_0805_2012Metric_Castellated::1
|
|
||||||
(place D2 102314 -72453.5 front 180 (PN "17-21/BHC-XL2M2TY/3T"))
|
|
||||||
)
|
|
||||||
(component Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder::1
|
|
||||||
(place R3 102314 -75755.5 front 180 (PN 200))
|
|
||||||
)
|
|
||||||
(component Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder::2
|
|
||||||
(place C4 158919 -107188 front 0 (PN 100n))
|
|
||||||
)
|
|
||||||
(component Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder::2
|
|
||||||
(place R6 125730 -82550 front 90 (PN 10k))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(library
|
|
||||||
(image MountingHole:MountingHole_2.7mm_M2.5_Pad
|
|
||||||
(outline (path signal 150 2700 0 2621.54 -646.152 2390.73 -1254.75 2020.98 -1790.43
|
|
||||||
1533.78 -2222.06 957.433 -2524.54 325.449 -2680.31 -325.449 -2680.31
|
|
||||||
-957.433 -2524.54 -1533.78 -2222.06 -2020.98 -1790.43 -2390.73 -1254.75
|
|
||||||
-2621.54 -646.152 -2700 0 -2621.54 646.152 -2390.73 1254.75
|
|
||||||
-2020.98 1790.43 -1533.78 2222.06 -957.433 2524.54 -325.449 2680.31
|
|
||||||
325.449 2680.31 957.433 2524.54 1533.78 2222.06 2020.98 1790.43
|
|
||||||
2390.73 1254.75 2621.54 646.152 2700 0))
|
|
||||||
(outline (path signal 50 2950 0 2870.48 -680.317 2636.22 -1323.96 2259.83 -1896.22
|
|
||||||
1761.62 -2366.26 1168.43 -2708.74 512.262 -2905.18 -171.527 -2945.01
|
|
||||||
-846.07 -2826.07 -1475 -2554.78 -2024.41 -2145.75 -2464.69 -1621.05
|
|
||||||
-2772.09 -1008.96 -2930.05 -342.474 -2930.05 342.474 -2772.09 1008.96
|
|
||||||
-2464.69 1621.05 -2024.41 2145.75 -1475 2554.78 -846.07 2826.07
|
|
||||||
-171.527 2945.01 512.262 2905.18 1168.43 2708.74 1761.62 2366.26
|
|
||||||
2259.83 1896.22 2636.22 1323.96 2870.48 680.317 2950 0))
|
|
||||||
(pin Round[A]Pad_5400_um 1 0 0)
|
|
||||||
)
|
|
||||||
(image Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder
|
|
||||||
(outline (path signal 50 1880 -980 -1880 -980))
|
|
||||||
(outline (path signal 50 1880 980 1880 -980))
|
|
||||||
(outline (path signal 50 -1880 980 1880 980))
|
|
||||||
(outline (path signal 50 -1880 -980 -1880 980))
|
|
||||||
(outline (path signal 120 -261.252 -735 261.252 -735))
|
|
||||||
(outline (path signal 120 -261.252 735 261.252 735))
|
|
||||||
(outline (path signal 100 1000 -625 -1000 -625))
|
|
||||||
(outline (path signal 100 1000 625 1000 -625))
|
|
||||||
(outline (path signal 100 -1000 625 1000 625))
|
|
||||||
(outline (path signal 100 -1000 -625 -1000 625))
|
|
||||||
(pin RoundRect[T]Pad_1175x1450_250.951_um 1 -1037.5 0)
|
|
||||||
(pin RoundRect[T]Pad_1175x1450_250.951_um 2 1037.5 0)
|
|
||||||
)
|
|
||||||
(image "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm"
|
|
||||||
(outline (path signal 50 1650 -1250 -1650 -1250))
|
|
||||||
(outline (path signal 50 1650 -1250 1650 1250))
|
|
||||||
(outline (path signal 50 -1650 1250 -1650 -1250))
|
|
||||||
(outline (path signal 50 -1650 1250 1650 1250))
|
|
||||||
(outline (path signal 120 -1400 1000 1400 1000))
|
|
||||||
(outline (path signal 120 1400 1000 1400 -1000))
|
|
||||||
(outline (path signal 120 1400 -1000 -1400 -1000))
|
|
||||||
(outline (path signal 120 -1400 -1000 -1400 1000))
|
|
||||||
(pin Rect[T]Pad_1000x1500_um 2 650 0)
|
|
||||||
(pin Rect[T]Pad_1000x1500_um 1 -650 0)
|
|
||||||
)
|
|
||||||
(image "AVR-ISP:AVR-ISP"
|
|
||||||
(outline (path signal 127 -3810 2540 3810 2540))
|
|
||||||
(outline (path signal 127 3810 2540 3810 -2540))
|
|
||||||
(outline (path signal 127 3810 -2540 -3810 -2540))
|
|
||||||
(outline (path signal 127 -3810 -2540 -3810 2540))
|
|
||||||
(outline (path signal 200 -3964 -2794 -4014 -2880.6 -4114 -2880.6 -4164 -2794
|
|
||||||
-4114 -2707.4 -4014 -2707.4 -3964 -2794))
|
|
||||||
(pin Round[A]Pad_1700_um 6 2540 1270)
|
|
||||||
(pin Round[A]Pad_1700_um 5 2540 -1270)
|
|
||||||
(pin Rect[A]Pad_1700x1700_um 1 -2540 -1270)
|
|
||||||
(pin Round[A]Pad_1700_um 2 -2540 1270)
|
|
||||||
(pin Round[A]Pad_1700_um 3 0 -1270)
|
|
||||||
(pin Round[A]Pad_1700_um 4 0 1270)
|
|
||||||
)
|
|
||||||
(image Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder::1
|
|
||||||
(outline (path signal 100 -1000 -625 -1000 625))
|
|
||||||
(outline (path signal 100 -1000 625 1000 625))
|
|
||||||
(outline (path signal 100 1000 625 1000 -625))
|
|
||||||
(outline (path signal 100 1000 -625 -1000 -625))
|
|
||||||
(outline (path signal 120 -261.252 735 261.252 735))
|
|
||||||
(outline (path signal 120 -261.252 -735 261.252 -735))
|
|
||||||
(outline (path signal 50 -1880 -980 -1880 980))
|
|
||||||
(outline (path signal 50 -1880 980 1880 980))
|
|
||||||
(outline (path signal 50 1880 980 1880 -980))
|
|
||||||
(outline (path signal 50 1880 -980 -1880 -980))
|
|
||||||
(pin RoundRect[T]Pad_1175x1450_250.951_um 2 1037.5 0)
|
|
||||||
(pin RoundRect[T]Pad_1175x1450_250.951_um 1 -1037.5 0)
|
|
||||||
)
|
|
||||||
(image SKRKAEE020:SKRKAEE020
|
|
||||||
(outline (path signal 100 -1950 1450 1950 1450))
|
|
||||||
(outline (path signal 100 -1950 -1450 1950 -1450))
|
|
||||||
(outline (path signal 100 -3500 -2450 -3500 2450))
|
|
||||||
(outline (path signal 100 3500 -2450 -3500 -2450))
|
|
||||||
(outline (path signal 100 3500 2450 3500 -2450))
|
|
||||||
(outline (path signal 100 -3500 2450 3500 2450))
|
|
||||||
(outline (path signal 200 -1950 -1450 -1950 1450))
|
|
||||||
(outline (path signal 200 1950 -1450 -1950 -1450))
|
|
||||||
(outline (path signal 200 1950 1450 1950 -1450))
|
|
||||||
(outline (path signal 200 -1950 1450 1950 1450))
|
|
||||||
(pin Rect[T]Pad_800x2000_um 1 -2100 0)
|
|
||||||
(pin Rect[T]Pad_800x2000_um 2 2100 0)
|
|
||||||
)
|
|
||||||
(image Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder
|
|
||||||
(outline (path signal 50 1850 -950 -1850 -950))
|
|
||||||
(outline (path signal 50 1850 950 1850 -950))
|
|
||||||
(outline (path signal 50 -1850 950 1850 950))
|
|
||||||
(outline (path signal 50 -1850 -950 -1850 950))
|
|
||||||
(outline (path signal 120 -227.064 -735 227.064 -735))
|
|
||||||
(outline (path signal 120 -227.064 735 227.064 735))
|
|
||||||
(outline (path signal 100 1000 -625 -1000 -625))
|
|
||||||
(outline (path signal 100 1000 625 1000 -625))
|
|
||||||
(outline (path signal 100 -1000 625 1000 625))
|
|
||||||
(outline (path signal 100 -1000 -625 -1000 625))
|
|
||||||
(pin RoundRect[T]Pad_1200x1400_250.95_um 1 -1000 0)
|
|
||||||
(pin RoundRect[T]Pad_1200x1400_250.95_um 2 1000 0)
|
|
||||||
)
|
|
||||||
(image Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical
|
|
||||||
(outline (path signal 100 -635 1270 1270 1270))
|
|
||||||
(outline (path signal 100 1270 1270 1270 -8890))
|
|
||||||
(outline (path signal 100 1270 -8890 -1270 -8890))
|
|
||||||
(outline (path signal 100 -1270 -8890 -1270 635))
|
|
||||||
(outline (path signal 100 -1270 635 -635 1270))
|
|
||||||
(outline (path signal 120 -1330 -8950 1330 -8950))
|
|
||||||
(outline (path signal 120 -1330 -1270 -1330 -8950))
|
|
||||||
(outline (path signal 120 1330 -1270 1330 -8950))
|
|
||||||
(outline (path signal 120 -1330 -1270 1330 -1270))
|
|
||||||
(outline (path signal 120 -1330 0 -1330 1330))
|
|
||||||
(outline (path signal 120 -1330 1330 0 1330))
|
|
||||||
(outline (path signal 50 -1800 1800 -1800 -9400))
|
|
||||||
(outline (path signal 50 -1800 -9400 1800 -9400))
|
|
||||||
(outline (path signal 50 1800 -9400 1800 1800))
|
|
||||||
(outline (path signal 50 1800 1800 -1800 1800))
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 4 0 -7620)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 3 0 -5080)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 2 0 -2540)
|
|
||||||
(pin Rect[A]Pad_1700x1700_um 1 0 0)
|
|
||||||
)
|
|
||||||
(image "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm::1"
|
|
||||||
(outline (path signal 120 -1400 -1000 -1400 1000))
|
|
||||||
(outline (path signal 120 1400 -1000 -1400 -1000))
|
|
||||||
(outline (path signal 120 1400 1000 1400 -1000))
|
|
||||||
(outline (path signal 120 -1400 1000 1400 1000))
|
|
||||||
(outline (path signal 50 -1650 1250 1650 1250))
|
|
||||||
(outline (path signal 50 -1650 1250 -1650 -1250))
|
|
||||||
(outline (path signal 50 1650 -1250 1650 1250))
|
|
||||||
(outline (path signal 50 1650 -1250 -1650 -1250))
|
|
||||||
(pin Rect[T]Pad_1000x1500_um 1 -650 0)
|
|
||||||
(pin Rect[T]Pad_1000x1500_um 2 650 0)
|
|
||||||
)
|
|
||||||
(image "Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm"
|
|
||||||
(outline (path signal 120 -1400 -1000 -1400 1000))
|
|
||||||
(outline (path signal 120 1400 -1000 -1400 -1000))
|
|
||||||
(outline (path signal 120 1400 1000 1400 -1000))
|
|
||||||
(outline (path signal 120 -1400 1000 1400 1000))
|
|
||||||
(outline (path signal 50 -1650 1250 1650 1250))
|
|
||||||
(outline (path signal 50 -1650 1250 -1650 -1250))
|
|
||||||
(outline (path signal 50 1650 -1250 1650 1250))
|
|
||||||
(outline (path signal 50 1650 -1250 -1650 -1250))
|
|
||||||
(pin Rect[T]Pad_1000x1500_um 2 650 0)
|
|
||||||
(pin Rect[T]Pad_1000x1500_um 1 -650 0)
|
|
||||||
)
|
|
||||||
(image LED_SMD:LED_0805_2012Metric_Castellated
|
|
||||||
(outline (path signal 50 1880 -900 -1880 -900))
|
|
||||||
(outline (path signal 50 1880 900 1880 -900))
|
|
||||||
(outline (path signal 50 -1880 900 1880 900))
|
|
||||||
(outline (path signal 50 -1880 -900 -1880 900))
|
|
||||||
(outline (path signal 120 -1885 -910 1000 -910))
|
|
||||||
(outline (path signal 120 -1885 910 -1885 -910))
|
|
||||||
(outline (path signal 120 1000 910 -1885 910))
|
|
||||||
(outline (path signal 100 1000 -600 1000 600))
|
|
||||||
(outline (path signal 100 -1000 -600 1000 -600))
|
|
||||||
(outline (path signal 100 -1000 300 -1000 -600))
|
|
||||||
(outline (path signal 100 -700 600 -1000 300))
|
|
||||||
(outline (path signal 100 1000 600 -700 600))
|
|
||||||
(pin RoundRect[T]Pad_1325x1300_250.95_um 1 -962.5 0)
|
|
||||||
(pin RoundRect[T]Pad_1325x1300_250.95_um 2 962.5 0)
|
|
||||||
)
|
|
||||||
(image Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_Vertical
|
|
||||||
(outline (path signal 100 -635 1270 1270 1270))
|
|
||||||
(outline (path signal 100 1270 1270 1270 -31750))
|
|
||||||
(outline (path signal 100 1270 -31750 -1270 -31750))
|
|
||||||
(outline (path signal 100 -1270 -31750 -1270 635))
|
|
||||||
(outline (path signal 100 -1270 635 -635 1270))
|
|
||||||
(outline (path signal 120 -1330 -31810 1330 -31810))
|
|
||||||
(outline (path signal 120 -1330 -1270 -1330 -31810))
|
|
||||||
(outline (path signal 120 1330 -1270 1330 -31810))
|
|
||||||
(outline (path signal 120 -1330 -1270 1330 -1270))
|
|
||||||
(outline (path signal 120 -1330 0 -1330 1330))
|
|
||||||
(outline (path signal 120 -1330 1330 0 1330))
|
|
||||||
(outline (path signal 50 -1800 1800 -1800 -32250))
|
|
||||||
(outline (path signal 50 -1800 -32250 1800 -32250))
|
|
||||||
(outline (path signal 50 1800 -32250 1800 1800))
|
|
||||||
(outline (path signal 50 1800 1800 -1800 1800))
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 13 0 -30480)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 12 0 -27940)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 11 0 -25400)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 10 0 -22860)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 9 0 -20320)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 8 0 -17780)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 7 0 -15240)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 6 0 -12700)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 5 0 -10160)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 4 0 -7620)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 3 0 -5080)
|
|
||||||
(pin Oval[A]Pad_1700x1700_um 2 0 -2540)
|
|
||||||
(pin Rect[A]Pad_1700x1700_um 1 0 0)
|
|
||||||
)
|
|
||||||
(image "Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG"
|
|
||||||
(outline (path signal 150 -6500 -6950 -6500 6950))
|
|
||||||
(outline (path signal 150 -6500 6950 6500 6950))
|
|
||||||
(outline (path signal 150 6500 6950 6500 -6950))
|
|
||||||
(outline (path signal 150 6500 -6950 -6500 -6950))
|
|
||||||
(outline (path signal 150 6925 7800 6925 7800))
|
|
||||||
(outline (path signal 150 6925 7800 -6925 7800))
|
|
||||||
(outline (path signal 150 -6925 7800 -6925 -8300))
|
|
||||||
(outline (path signal 150 -6925 -8300 6925 -8300))
|
|
||||||
(outline (path signal 150 6925 -8300 6925 7800))
|
|
||||||
(outline (path signal 150 -6500 6950 -3650 6950))
|
|
||||||
(outline (path signal 150 -1350 6950 1350 6950))
|
|
||||||
(outline (path signal 150 3650 6950 6500 6950))
|
|
||||||
(outline (path signal 150 6500 -6950 6500 -2875))
|
|
||||||
(outline (path signal 150 6500 2875 6500 6950))
|
|
||||||
(outline (path signal 150 -6500 -6950 -3650 -6950))
|
|
||||||
(outline (path signal 150 -1350 -6950 -1150 -6950))
|
|
||||||
(outline (path signal 150 1150 -6950 1350 -6950))
|
|
||||||
(outline (path signal 150 3650 -6950 6500 -6950))
|
|
||||||
(outline (path signal 150 -6500 -6950 -6500 -2875))
|
|
||||||
(outline (path signal 150 -6500 2875 -6500 6950))
|
|
||||||
(outline (path signal 250 -2375 8325 -2437.5 8216.75 -2562.5 8216.75 -2625 8325
|
|
||||||
-2562.5 8433.25 -2437.5 8433.25 -2375 8325))
|
|
||||||
(pin Rect[A]Pad_1550x1550_um S1 -2500 7000)
|
|
||||||
(pin Round[A]Pad_1550_um S2 2500 7000)
|
|
||||||
(pin Round[A]Pad_1550_um A -2500 -7500)
|
|
||||||
(pin Round[A]Pad_1550_um C 0 -7500)
|
|
||||||
(pin Round[A]Pad_1550_um B 2500 -7500)
|
|
||||||
(pin RoundRect[A]Pad_2400x5000_1204.57_um 3 -5600 0)
|
|
||||||
(pin RoundRect[A]Pad_2400x5000_1204.57_um 4 5600 0)
|
|
||||||
)
|
|
||||||
(image "Crystal:Crystal_SMD_HC49-SD_HandSoldering"
|
|
||||||
(outline (path signal 100 -5700 2350 -5700 -2350))
|
|
||||||
(outline (path signal 100 -5700 -2350 5700 -2350))
|
|
||||||
(outline (path signal 100 5700 -2350 5700 2350))
|
|
||||||
(outline (path signal 100 5700 2350 -5700 2350))
|
|
||||||
(outline (path signal 100 -3015 2115 3015 2115))
|
|
||||||
(outline (path signal 100 -3015 -2115 3015 -2115))
|
|
||||||
(outline (path signal 120 5900 2550 -10075 2550))
|
|
||||||
(outline (path signal 120 -10075 2550 -10075 -2550))
|
|
||||||
(outline (path signal 120 -10075 -2550 5900 -2550))
|
|
||||||
(outline (path signal 50 -10200 2600 -10200 -2600))
|
|
||||||
(outline (path signal 50 -10200 -2600 10200 -2600))
|
|
||||||
(outline (path signal 50 10200 -2600 10200 2600))
|
|
||||||
(outline (path signal 50 10200 2600 -10200 2600))
|
|
||||||
(pin Rect[T]Pad_7875x2000_um 2 5937.5 0)
|
|
||||||
(pin Rect[T]Pad_7875x2000_um 1 -5937.5 0)
|
|
||||||
)
|
|
||||||
(image "HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12"
|
|
||||||
(outline (path signal 127 -4470 -2600 4470 -2600))
|
|
||||||
(outline (path signal 127 4470 -2600 4470 4700))
|
|
||||||
(outline (path signal 127 4470 4700 -4470 4700))
|
|
||||||
(outline (path signal 127 -4470 4700 -4470 -2600))
|
|
||||||
(outline (path signal 127 -4470 2810 -4470 1370))
|
|
||||||
(outline (path signal 127 4470 2810 4470 1370))
|
|
||||||
(outline (path signal 127 4470 -1370 4470 -2600))
|
|
||||||
(outline (path signal 127 4470 -2600 -4470 -2600))
|
|
||||||
(outline (path signal 127 -4470 -2600 -4470 -1370))
|
|
||||||
(outline (path signal 50 -5095 -2850 5095 -2850))
|
|
||||||
(outline (path signal 50 5095 -2850 5095 6070))
|
|
||||||
(outline (path signal 50 5095 6070 -5095 6070))
|
|
||||||
(outline (path signal 50 -5095 6070 -5095 -2850))
|
|
||||||
(outline (path signal 200 -3300 6400 -3350 6313.4 -3450 6313.4 -3500 6400 -3450 6486.6
|
|
||||||
-3350 6486.6 -3300 6400))
|
|
||||||
(outline (path signal 200 -3300 6400 -3350 6313.4 -3450 6313.4 -3500 6400 -3450 6486.6
|
|
||||||
-3350 6486.6 -3300 6400))
|
|
||||||
(pin Rect[T]Pad_600x1450_um A1B12 -3250 5095)
|
|
||||||
(pin Rect[T]Pad_600x1450_um A4B9 -2450 5095)
|
|
||||||
(pin Rect[T]Pad_300x1450_um A6 -250 5095)
|
|
||||||
(pin Rect[T]Pad_300x1450_um B7 -750 5095)
|
|
||||||
(pin Rect[T]Pad_300x1450_um A5 -1250 5095)
|
|
||||||
(pin Rect[T]Pad_300x1450_um B8 -1750 5095)
|
|
||||||
(pin Rect[T]Pad_300x1450_um A7 250 5095)
|
|
||||||
(pin Rect[T]Pad_300x1450_um B6 750 5095)
|
|
||||||
(pin Rect[T]Pad_300x1450_um A8 1250 5095)
|
|
||||||
(pin Rect[T]Pad_300x1450_um B5 1750 5095)
|
|
||||||
(pin Rect[T]Pad_600x1450_um B4A9 2450 5095)
|
|
||||||
(pin Rect[T]Pad_600x1450_um B1A12 3250 5095)
|
|
||||||
(pin Oval[A]Pad_1050x2100_um S1 -4320 4180)
|
|
||||||
(pin Oval[A]Pad_1050x2100_um S2 4320 4180)
|
|
||||||
(pin Oval[A]Pad_1050x2100_um S3 -4320 0)
|
|
||||||
(pin Oval[A]Pad_1050x2100_um S4 4320 0)
|
|
||||||
(keepout "" (circle F.Cu 700 -2890 3650))
|
|
||||||
(keepout "" (circle B.Cu 700 -2890 3650))
|
|
||||||
(keepout "" (circle F.Cu 700 2890 3650))
|
|
||||||
(keepout "" (circle B.Cu 700 2890 3650))
|
|
||||||
)
|
|
||||||
(image "Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm::1"
|
|
||||||
(outline (path signal 50 1650 -1250 -1650 -1250))
|
|
||||||
(outline (path signal 50 1650 -1250 1650 1250))
|
|
||||||
(outline (path signal 50 -1650 1250 -1650 -1250))
|
|
||||||
(outline (path signal 50 -1650 1250 1650 1250))
|
|
||||||
(outline (path signal 120 -1400 1000 1400 1000))
|
|
||||||
(outline (path signal 120 1400 1000 1400 -1000))
|
|
||||||
(outline (path signal 120 1400 -1000 -1400 -1000))
|
|
||||||
(outline (path signal 120 -1400 -1000 -1400 1000))
|
|
||||||
(pin Rect[T]Pad_1000x1500_um 1 -650 0)
|
|
||||||
(pin Rect[T]Pad_1000x1500_um 2 650 0)
|
|
||||||
)
|
|
||||||
(image "Package_QFP:TQFP-32_7x7mm_P0.8mm"
|
|
||||||
(outline (path signal 150 -2500 3500 3500 3500))
|
|
||||||
(outline (path signal 150 3500 3500 3500 -3500))
|
|
||||||
(outline (path signal 150 3500 -3500 -3500 -3500))
|
|
||||||
(outline (path signal 150 -3500 -3500 -3500 2500))
|
|
||||||
(outline (path signal 150 -3500 2500 -2500 3500))
|
|
||||||
(outline (path signal 50 -5300 5300 -5300 -5300))
|
|
||||||
(outline (path signal 50 5300 5300 5300 -5300))
|
|
||||||
(outline (path signal 50 -5300 5300 5300 5300))
|
|
||||||
(outline (path signal 50 -5300 -5300 5300 -5300))
|
|
||||||
(outline (path signal 150 -3625 3625 -3625 3400))
|
|
||||||
(outline (path signal 150 3625 3625 3625 3300))
|
|
||||||
(outline (path signal 150 3625 -3625 3625 -3300))
|
|
||||||
(outline (path signal 150 -3625 -3625 -3625 -3300))
|
|
||||||
(outline (path signal 150 -3625 3625 -3300 3625))
|
|
||||||
(outline (path signal 150 -3625 -3625 -3300 -3625))
|
|
||||||
(outline (path signal 150 3625 -3625 3300 -3625))
|
|
||||||
(outline (path signal 150 3625 3625 3300 3625))
|
|
||||||
(outline (path signal 150 -3625 3400 -5050 3400))
|
|
||||||
(pin Rect[T]Pad_1600x550_um 1 -4250 2800)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 2 -4250 2000)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 3 -4250 1200)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 4 -4250 400)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 5 -4250 -400)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 6 -4250 -1200)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 7 -4250 -2000)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 8 -4250 -2800)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 9 -2800 -4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 10 -2000 -4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 11 -1200 -4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 12 -400 -4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 13 400 -4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 14 1200 -4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 15 2000 -4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 16 2800 -4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 17 4250 -2800)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 18 4250 -2000)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 19 4250 -1200)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 20 4250 -400)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 21 4250 400)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 22 4250 1200)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 23 4250 2000)
|
|
||||||
(pin Rect[T]Pad_1600x550_um 24 4250 2800)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 25 2800 4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 26 2000 4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 27 1200 4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 28 400 4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 29 -400 4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 30 -1200 4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 31 -2000 4250)
|
|
||||||
(pin Rect[T]Pad_1600x550_um (rotate 90) 32 -2800 4250)
|
|
||||||
)
|
|
||||||
(image "Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG::1"
|
|
||||||
(outline (path signal 250 -2375 8325 -2437.5 8216.75 -2562.5 8216.75 -2625 8325
|
|
||||||
-2562.5 8433.25 -2437.5 8433.25 -2375 8325))
|
|
||||||
(outline (path signal 150 -6500 2875 -6500 6950))
|
|
||||||
(outline (path signal 150 -6500 -6950 -6500 -2875))
|
|
||||||
(outline (path signal 150 3650 -6950 6500 -6950))
|
|
||||||
(outline (path signal 150 1150 -6950 1350 -6950))
|
|
||||||
(outline (path signal 150 -1350 -6950 -1150 -6950))
|
|
||||||
(outline (path signal 150 -6500 -6950 -3650 -6950))
|
|
||||||
(outline (path signal 150 6500 2875 6500 6950))
|
|
||||||
(outline (path signal 150 6500 -6950 6500 -2875))
|
|
||||||
(outline (path signal 150 3650 6950 6500 6950))
|
|
||||||
(outline (path signal 150 -1350 6950 1350 6950))
|
|
||||||
(outline (path signal 150 -6500 6950 -3650 6950))
|
|
||||||
(outline (path signal 150 6925 -8300 6925 7800))
|
|
||||||
(outline (path signal 150 -6925 -8300 6925 -8300))
|
|
||||||
(outline (path signal 150 -6925 7800 -6925 -8300))
|
|
||||||
(outline (path signal 150 6925 7800 -6925 7800))
|
|
||||||
(outline (path signal 150 6925 7800 6925 7800))
|
|
||||||
(outline (path signal 150 6500 -6950 -6500 -6950))
|
|
||||||
(outline (path signal 150 6500 6950 6500 -6950))
|
|
||||||
(outline (path signal 150 -6500 6950 6500 6950))
|
|
||||||
(outline (path signal 150 -6500 -6950 -6500 6950))
|
|
||||||
(pin RoundRect[A]Pad_2400x5000_1204.57_um 4 5600 0)
|
|
||||||
(pin RoundRect[A]Pad_2400x5000_1204.57_um 3 -5600 0)
|
|
||||||
(pin Round[A]Pad_1550_um B 2500 -7500)
|
|
||||||
(pin Round[A]Pad_1550_um C 0 -7500)
|
|
||||||
(pin Round[A]Pad_1550_um A -2500 -7500)
|
|
||||||
(pin Round[A]Pad_1550_um S2 2500 7000)
|
|
||||||
(pin Rect[A]Pad_1550x1550_um S1 -2500 7000)
|
|
||||||
)
|
|
||||||
(image LED_SMD:LED_0805_2012Metric_Castellated::1
|
|
||||||
(outline (path signal 100 1000 600 -700 600))
|
|
||||||
(outline (path signal 100 -700 600 -1000 300))
|
|
||||||
(outline (path signal 100 -1000 300 -1000 -600))
|
|
||||||
(outline (path signal 100 -1000 -600 1000 -600))
|
|
||||||
(outline (path signal 100 1000 -600 1000 600))
|
|
||||||
(outline (path signal 120 1000 910 -1885 910))
|
|
||||||
(outline (path signal 120 -1885 910 -1885 -910))
|
|
||||||
(outline (path signal 120 -1885 -910 1000 -910))
|
|
||||||
(outline (path signal 50 -1880 -900 -1880 900))
|
|
||||||
(outline (path signal 50 -1880 900 1880 900))
|
|
||||||
(outline (path signal 50 1880 900 1880 -900))
|
|
||||||
(outline (path signal 50 1880 -900 -1880 -900))
|
|
||||||
(pin RoundRect[T]Pad_1325x1300_250.95_um 1 -962.5 0)
|
|
||||||
(pin RoundRect[T]Pad_1325x1300_250.95_um 2 962.5 0)
|
|
||||||
)
|
|
||||||
(image Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder::1
|
|
||||||
(outline (path signal 100 -1000 -625 -1000 625))
|
|
||||||
(outline (path signal 100 -1000 625 1000 625))
|
|
||||||
(outline (path signal 100 1000 625 1000 -625))
|
|
||||||
(outline (path signal 100 1000 -625 -1000 -625))
|
|
||||||
(outline (path signal 120 -227.064 735 227.064 735))
|
|
||||||
(outline (path signal 120 -227.064 -735 227.064 -735))
|
|
||||||
(outline (path signal 50 -1850 -950 -1850 950))
|
|
||||||
(outline (path signal 50 -1850 950 1850 950))
|
|
||||||
(outline (path signal 50 1850 950 1850 -950))
|
|
||||||
(outline (path signal 50 1850 -950 -1850 -950))
|
|
||||||
(pin RoundRect[T]Pad_1200x1400_250.95_um 1 -1000 0)
|
|
||||||
(pin RoundRect[T]Pad_1200x1400_250.95_um 2 1000 0)
|
|
||||||
)
|
|
||||||
(image Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder::2
|
|
||||||
(outline (path signal 100 -1000 -625 -1000 625))
|
|
||||||
(outline (path signal 100 -1000 625 1000 625))
|
|
||||||
(outline (path signal 100 1000 625 1000 -625))
|
|
||||||
(outline (path signal 100 1000 -625 -1000 -625))
|
|
||||||
(outline (path signal 120 -261.252 735 261.252 735))
|
|
||||||
(outline (path signal 120 -261.252 -735 261.252 -735))
|
|
||||||
(outline (path signal 50 -1880 -980 -1880 980))
|
|
||||||
(outline (path signal 50 -1880 980 1880 980))
|
|
||||||
(outline (path signal 50 1880 980 1880 -980))
|
|
||||||
(outline (path signal 50 1880 -980 -1880 -980))
|
|
||||||
(pin RoundRect[T]Pad_1175x1450_250.951_um 1 -1037.5 0)
|
|
||||||
(pin RoundRect[T]Pad_1175x1450_250.951_um 2 1037.5 0)
|
|
||||||
)
|
|
||||||
(image Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder::2
|
|
||||||
(outline (path signal 100 -1000 -625 -1000 625))
|
|
||||||
(outline (path signal 100 -1000 625 1000 625))
|
|
||||||
(outline (path signal 100 1000 625 1000 -625))
|
|
||||||
(outline (path signal 100 1000 -625 -1000 -625))
|
|
||||||
(outline (path signal 120 -227.064 735 227.064 735))
|
|
||||||
(outline (path signal 120 -227.064 -735 227.064 -735))
|
|
||||||
(outline (path signal 50 -1850 -950 -1850 950))
|
|
||||||
(outline (path signal 50 -1850 950 1850 950))
|
|
||||||
(outline (path signal 50 1850 950 1850 -950))
|
|
||||||
(outline (path signal 50 1850 -950 -1850 -950))
|
|
||||||
(pin RoundRect[T]Pad_1200x1400_250.95_um 2 1000 0)
|
|
||||||
(pin RoundRect[T]Pad_1200x1400_250.95_um 1 -1000 0)
|
|
||||||
)
|
|
||||||
(padstack Round[A]Pad_1550_um
|
|
||||||
(shape (circle F.Cu 1550))
|
|
||||||
(shape (circle B.Cu 1550))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Round[A]Pad_1700_um
|
|
||||||
(shape (circle F.Cu 1700))
|
|
||||||
(shape (circle B.Cu 1700))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Round[A]Pad_5400_um
|
|
||||||
(shape (circle F.Cu 5400))
|
|
||||||
(shape (circle B.Cu 5400))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Oval[A]Pad_1050x2100_um
|
|
||||||
(shape (path F.Cu 1050 0 -525 0 525))
|
|
||||||
(shape (path B.Cu 1050 0 -525 0 525))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Oval[A]Pad_1700x1700_um
|
|
||||||
(shape (path F.Cu 1700 0 0 0 0))
|
|
||||||
(shape (path B.Cu 1700 0 0 0 0))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack RoundRect[A]Pad_2400x5000_1204.57_um
|
|
||||||
(shape (polygon F.Cu 0 209.172 2486.27 411.987 2431.92 602.284 2343.18 774.281 2222.75
|
|
||||||
922.752 2074.28 1043.19 1902.28 1131.92 1711.99 1186.27 1509.17
|
|
||||||
1204.57 1300 1204.57 -1300 1186.27 -1509.17 1131.92 -1711.99
|
|
||||||
1043.19 -1902.28 922.752 -2074.28 774.281 -2222.75 602.284 -2343.18
|
|
||||||
411.987 -2431.92 209.172 -2486.27 0.001 -2504.57 -0.001 -2504.57
|
|
||||||
-209.172 -2486.27 -411.987 -2431.92 -602.284 -2343.18 -774.281 -2222.75
|
|
||||||
-922.752 -2074.28 -1043.19 -1902.28 -1131.92 -1711.99 -1186.27 -1509.17
|
|
||||||
-1204.57 -1300 -1204.57 1300 -1186.27 1509.17 -1131.92 1711.99
|
|
||||||
-1043.19 1902.28 -922.752 2074.28 -774.281 2222.75 -602.284 2343.18
|
|
||||||
-411.987 2431.92 -209.172 2486.27 -0.001 2504.57 0.001 2504.57
|
|
||||||
209.172 2486.27))
|
|
||||||
(shape (polygon B.Cu 0 209.172 2486.27 411.987 2431.92 602.284 2343.18 774.281 2222.75
|
|
||||||
922.752 2074.28 1043.19 1902.28 1131.92 1711.99 1186.27 1509.17
|
|
||||||
1204.57 1300 1204.57 -1300 1186.27 -1509.17 1131.92 -1711.99
|
|
||||||
1043.19 -1902.28 922.752 -2074.28 774.281 -2222.75 602.284 -2343.18
|
|
||||||
411.987 -2431.92 209.172 -2486.27 0.001 -2504.57 -0.001 -2504.57
|
|
||||||
-209.172 -2486.27 -411.987 -2431.92 -602.284 -2343.18 -774.281 -2222.75
|
|
||||||
-922.752 -2074.28 -1043.19 -1902.28 -1131.92 -1711.99 -1186.27 -1509.17
|
|
||||||
-1204.57 -1300 -1204.57 1300 -1186.27 1509.17 -1131.92 1711.99
|
|
||||||
-1043.19 1902.28 -922.752 2074.28 -774.281 2222.75 -602.284 2343.18
|
|
||||||
-411.987 2431.92 -209.172 2486.27 -0.001 2504.57 0.001 2504.57
|
|
||||||
209.172 2486.27))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack RoundRect[T]Pad_1175x1450_250.951_um
|
|
||||||
(shape (polygon F.Cu 0 381.077 722.138 423.33 710.817 462.975 692.33 498.808 667.24
|
|
||||||
529.74 636.308 554.83 600.476 573.317 560.83 584.638 518.577
|
|
||||||
588.451 475 588.451 -475 584.638 -518.577 573.317 -560.83
|
|
||||||
554.83 -600.475 529.74 -636.308 498.808 -667.24 462.976 -692.33
|
|
||||||
423.33 -710.817 381.077 -722.138 337.5 -725.951 -337.5 -725.951
|
|
||||||
-381.077 -722.138 -423.33 -710.817 -462.975 -692.33 -498.808 -667.24
|
|
||||||
-529.74 -636.308 -554.83 -600.476 -573.317 -560.83 -584.638 -518.577
|
|
||||||
-588.451 -475 -588.451 475 -584.638 518.577 -573.317 560.83
|
|
||||||
-554.83 600.475 -529.74 636.308 -498.808 667.24 -462.976 692.33
|
|
||||||
-423.33 710.817 -381.077 722.138 -337.5 725.951 337.5 725.951
|
|
||||||
381.077 722.138))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack RoundRect[T]Pad_1200x1400_250.95_um
|
|
||||||
(shape (polygon F.Cu 0 393.578 697.139 435.831 685.817 475.476 667.33 511.309 642.24
|
|
||||||
542.24 611.309 567.33 575.476 585.817 535.831 597.139 493.578
|
|
||||||
600.951 450.001 600.951 -450.001 597.139 -493.578 585.817 -535.831
|
|
||||||
567.33 -575.476 542.24 -611.309 511.309 -642.24 475.476 -667.33
|
|
||||||
435.831 -685.817 393.578 -697.139 350.001 -700.951 -350.001 -700.951
|
|
||||||
-393.578 -697.139 -435.831 -685.817 -475.476 -667.33 -511.309 -642.24
|
|
||||||
-542.24 -611.309 -567.33 -575.476 -585.817 -535.831 -597.139 -493.578
|
|
||||||
-600.951 -450.001 -600.951 450.001 -597.139 493.578 -585.817 535.831
|
|
||||||
-567.33 575.476 -542.24 611.309 -511.309 642.24 -475.476 667.33
|
|
||||||
-435.831 685.817 -393.578 697.139 -350.001 700.951 350.001 700.951
|
|
||||||
393.578 697.139))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack RoundRect[T]Pad_1325x1300_250.95_um
|
|
||||||
(shape (polygon F.Cu 0 456.078 647.139 498.331 635.817 537.976 617.33 573.809 592.24
|
|
||||||
604.74 561.309 629.83 525.476 648.317 485.831 659.639 443.578
|
|
||||||
663.451 400.001 663.451 -400.001 659.639 -443.578 648.317 -485.831
|
|
||||||
629.83 -525.476 604.74 -561.309 573.809 -592.24 537.976 -617.33
|
|
||||||
498.331 -635.817 456.078 -647.139 412.501 -650.951 -412.501 -650.951
|
|
||||||
-456.078 -647.139 -498.331 -635.817 -537.976 -617.33 -573.809 -592.24
|
|
||||||
-604.74 -561.309 -629.83 -525.476 -648.317 -485.831 -659.639 -443.578
|
|
||||||
-663.451 -400.001 -663.451 400.001 -659.639 443.578 -648.317 485.831
|
|
||||||
-629.83 525.476 -604.74 561.309 -573.809 592.24 -537.976 617.33
|
|
||||||
-498.331 635.817 -456.078 647.139 -412.501 650.951 412.501 650.951
|
|
||||||
456.078 647.139))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Rect[T]Pad_300x1450_um
|
|
||||||
(shape (rect F.Cu -150 -725 150 725))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Rect[T]Pad_600x1450_um
|
|
||||||
(shape (rect F.Cu -300 -725 300 725))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Rect[T]Pad_7875x2000_um
|
|
||||||
(shape (rect F.Cu -3937.5 -1000 3937.5 1000))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Rect[T]Pad_800x2000_um
|
|
||||||
(shape (rect F.Cu -400 -1000 400 1000))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Rect[T]Pad_1000x1500_um
|
|
||||||
(shape (rect F.Cu -500 -750 500 750))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Rect[A]Pad_1550x1550_um
|
|
||||||
(shape (rect F.Cu -775 -775 775 775))
|
|
||||||
(shape (rect B.Cu -775 -775 775 775))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Rect[T]Pad_1600x550_um
|
|
||||||
(shape (rect F.Cu -800 -275 800 275))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack Rect[A]Pad_1700x1700_um
|
|
||||||
(shape (rect F.Cu -850 -850 850 850))
|
|
||||||
(shape (rect B.Cu -850 -850 850 850))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
(padstack "Via[0-1]_800:400_um"
|
|
||||||
(shape (circle F.Cu 800))
|
|
||||||
(shape (circle B.Cu 800))
|
|
||||||
(attach off)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(network
|
|
||||||
(net "Net-(U1-Pad19)"
|
|
||||||
(pins U1-19)
|
|
||||||
)
|
|
||||||
(net "Net-(U1-Pad20)"
|
|
||||||
(pins U1-20)
|
|
||||||
)
|
|
||||||
(net "Net-(U1-Pad22)"
|
|
||||||
(pins U1-22)
|
|
||||||
)
|
|
||||||
(net GND
|
|
||||||
(pins C1-2 J1-6 C2-2 SW5-2 J4-1 D1-1 J3-1 J5-1 SW1-S1 SW1-C J2-A1B12 J2-B1A12
|
|
||||||
J2-S1 J2-S2 J2-S3 J2-S4 C3-2 U1-5 U1-21 SW2-C SW2-S1 D2-1 SW3-S1 SW3-C SW4-C
|
|
||||||
SW4-S1 C4-2)
|
|
||||||
)
|
|
||||||
(net VCC
|
|
||||||
(pins J1-2 R2-2 J5-4 J2-A4B9 J2-B4A9 C3-1 R1-2 U1-4 U1-18 C4-1 R4-1 R5-1 R6-1)
|
|
||||||
)
|
|
||||||
(net XTAL1
|
|
||||||
(pins C1-1 Y1-1 U1-7)
|
|
||||||
)
|
|
||||||
(net XTAL2
|
|
||||||
(pins C2-1 Y1-2 U1-8)
|
|
||||||
)
|
|
||||||
(net "Net-(D1-Pad2)"
|
|
||||||
(pins R2-1 D1-2)
|
|
||||||
)
|
|
||||||
(net MOSI
|
|
||||||
(pins J1-4 U1-15)
|
|
||||||
)
|
|
||||||
(net SCK
|
|
||||||
(pins J1-3 U1-17)
|
|
||||||
)
|
|
||||||
(net MISO
|
|
||||||
(pins J1-1 U1-16)
|
|
||||||
)
|
|
||||||
(net RST
|
|
||||||
(pins J1-5 SW5-1 J4-4 R1-1 JP5-1 JP6-2 U1-29)
|
|
||||||
)
|
|
||||||
(net "Net-(J2-PadA6)"
|
|
||||||
(pins JP1-2 JP2-2 J2-A6)
|
|
||||||
)
|
|
||||||
(net "Net-(J2-PadB7)"
|
|
||||||
(pins JP8-1 J2-B7 JP7-1)
|
|
||||||
)
|
|
||||||
(net "Net-(J2-PadA5)"
|
|
||||||
(pins J2-A5)
|
|
||||||
)
|
|
||||||
(net "Net-(J2-PadB8)"
|
|
||||||
(pins J2-B8 JP6-1)
|
|
||||||
)
|
|
||||||
(net "Net-(J2-PadA7)"
|
|
||||||
(pins JP3-2 J2-A7 JP4-2)
|
|
||||||
)
|
|
||||||
(net "Net-(J2-PadB6)"
|
|
||||||
(pins JP10-1 JP9-1 J2-B6)
|
|
||||||
)
|
|
||||||
(net "Net-(J2-PadA8)"
|
|
||||||
(pins J2-A8 JP5-2)
|
|
||||||
)
|
|
||||||
(net "Net-(J2-PadB5)"
|
|
||||||
(pins J2-B5)
|
|
||||||
)
|
|
||||||
(net BTN4
|
|
||||||
(pins J3-13 U1-26 SW4-S2)
|
|
||||||
)
|
|
||||||
(net BTN3
|
|
||||||
(pins J3-12 U1-25 SW3-S2)
|
|
||||||
)
|
|
||||||
(net BTN2
|
|
||||||
(pins J3-11 U1-24 SW2-S2)
|
|
||||||
)
|
|
||||||
(net BTN1
|
|
||||||
(pins J3-10 SW1-S2 U1-23)
|
|
||||||
)
|
|
||||||
(net ENC4B
|
|
||||||
(pins J3-9 U1-13 SW4-B)
|
|
||||||
)
|
|
||||||
(net ENC4A
|
|
||||||
(pins J3-8 U1-12 SW4-A)
|
|
||||||
)
|
|
||||||
(net ENC3B
|
|
||||||
(pins J3-7 U1-11 SW3-B)
|
|
||||||
)
|
|
||||||
(net ENC3A
|
|
||||||
(pins J3-6 U1-10 SW3-A)
|
|
||||||
)
|
|
||||||
(net ENC2B
|
|
||||||
(pins J3-5 U1-9 SW2-B)
|
|
||||||
)
|
|
||||||
(net ENC2A
|
|
||||||
(pins J3-4 U1-2 SW2-A)
|
|
||||||
)
|
|
||||||
(net ENC1B
|
|
||||||
(pins J3-3 SW1-B U1-1)
|
|
||||||
)
|
|
||||||
(net ENC1A
|
|
||||||
(pins J3-2 SW1-A U1-32)
|
|
||||||
)
|
|
||||||
(net TX
|
|
||||||
(pins J4-3 JP2-1 JP9-2 U1-31)
|
|
||||||
)
|
|
||||||
(net RX
|
|
||||||
(pins J4-2 JP4-1 JP7-2 U1-30 R6-2)
|
|
||||||
)
|
|
||||||
(net SDA
|
|
||||||
(pins JP1-1 JP10-2 J5-2 U1-27 R5-2)
|
|
||||||
)
|
|
||||||
(net SCL
|
|
||||||
(pins JP8-2 JP3-1 J5-3 U1-28 R4-2)
|
|
||||||
)
|
|
||||||
(net "Net-(D2-Pad2)"
|
|
||||||
(pins D2-2 R3-1)
|
|
||||||
)
|
|
||||||
(net LED
|
|
||||||
(pins U1-14 R3-2)
|
|
||||||
)
|
|
||||||
(net "Net-(U1-Pad3)"
|
|
||||||
(pins U1-3)
|
|
||||||
)
|
|
||||||
(net "Net-(U1-Pad6)"
|
|
||||||
(pins U1-6)
|
|
||||||
)
|
|
||||||
(class kicad_default "" BTN1 BTN2 BTN3 BTN4 ENC1A ENC1B ENC2A ENC2B ENC3A
|
|
||||||
ENC3B ENC4A ENC4B GND LED MISO MOSI "Net-(D1-Pad2)" "Net-(D2-Pad2)"
|
|
||||||
"Net-(J2-PadA5)" "Net-(J2-PadA6)" "Net-(J2-PadA7)" "Net-(J2-PadA8)"
|
|
||||||
"Net-(J2-PadB5)" "Net-(J2-PadB6)" "Net-(J2-PadB7)" "Net-(J2-PadB8)"
|
|
||||||
"Net-(U1-Pad19)" "Net-(U1-Pad20)" "Net-(U1-Pad22)" "Net-(U1-Pad3)" "Net-(U1-Pad6)"
|
|
||||||
RST RX SCK SCL SDA TX VCC XTAL1 XTAL2
|
|
||||||
(circuit
|
|
||||||
(use_via Via[0-1]_800:400_um)
|
|
||||||
)
|
|
||||||
(rule
|
|
||||||
(width 250)
|
|
||||||
(clearance 200.1)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(wiring
|
|
||||||
)
|
|
||||||
)
|
|
|
@ -1,77 +0,0 @@
|
||||||
{
|
|
||||||
"board": {
|
|
||||||
"active_layer": 0,
|
|
||||||
"active_layer_preset": "",
|
|
||||||
"auto_track_width": true,
|
|
||||||
"hidden_nets": [],
|
|
||||||
"high_contrast_mode": 0,
|
|
||||||
"net_color_mode": 1,
|
|
||||||
"opacity": {
|
|
||||||
"pads": 1.0,
|
|
||||||
"tracks": 1.0,
|
|
||||||
"vias": 1.0,
|
|
||||||
"zones": 0.6
|
|
||||||
},
|
|
||||||
"ratsnest_display_mode": 0,
|
|
||||||
"selection_filter": {
|
|
||||||
"dimensions": true,
|
|
||||||
"footprints": true,
|
|
||||||
"graphics": true,
|
|
||||||
"keepouts": true,
|
|
||||||
"lockedItems": true,
|
|
||||||
"otherItems": true,
|
|
||||||
"pads": true,
|
|
||||||
"text": true,
|
|
||||||
"tracks": true,
|
|
||||||
"vias": true,
|
|
||||||
"zones": true
|
|
||||||
},
|
|
||||||
"visible_items": [
|
|
||||||
0,
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
3,
|
|
||||||
4,
|
|
||||||
5,
|
|
||||||
6,
|
|
||||||
7,
|
|
||||||
8,
|
|
||||||
9,
|
|
||||||
10,
|
|
||||||
11,
|
|
||||||
12,
|
|
||||||
13,
|
|
||||||
14,
|
|
||||||
15,
|
|
||||||
16,
|
|
||||||
17,
|
|
||||||
18,
|
|
||||||
19,
|
|
||||||
20,
|
|
||||||
21,
|
|
||||||
22,
|
|
||||||
23,
|
|
||||||
24,
|
|
||||||
25,
|
|
||||||
26,
|
|
||||||
27,
|
|
||||||
28,
|
|
||||||
29,
|
|
||||||
30,
|
|
||||||
32,
|
|
||||||
33,
|
|
||||||
34,
|
|
||||||
35,
|
|
||||||
36
|
|
||||||
],
|
|
||||||
"visible_layers": "fffffff_ffffffff",
|
|
||||||
"zone_display_mode": 0
|
|
||||||
},
|
|
||||||
"meta": {
|
|
||||||
"filename": "Console.kicad_prl",
|
|
||||||
"version": 3
|
|
||||||
},
|
|
||||||
"project": {
|
|
||||||
"files": []
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,674 +0,0 @@
|
||||||
(export (version D)
|
|
||||||
(design
|
|
||||||
(source "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Console\\Hardware\\Circuit\\Console.sch")
|
|
||||||
(date "29.08.2021 11:57:42")
|
|
||||||
(tool "Eeschema (5.1.10)-1")
|
|
||||||
(sheet (number 1) (name /) (tstamps /)
|
|
||||||
(title_block
|
|
||||||
(title "LightControl Console")
|
|
||||||
(company)
|
|
||||||
(rev v00)
|
|
||||||
(date 2021-08-10)
|
|
||||||
(source Console.sch)
|
|
||||||
(comment (number 1) (value ""))
|
|
||||||
(comment (number 2) (value ""))
|
|
||||||
(comment (number 3) (value ""))
|
|
||||||
(comment (number 4) (value "Author: GHOSCHT")))))
|
|
||||||
(components
|
|
||||||
(comp (ref SW1)
|
|
||||||
(value PEC11R-4220F-S0012)
|
|
||||||
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
|
|
||||||
(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 6112A1C1))
|
|
||||||
(comp (ref J2)
|
|
||||||
(value TYPE-C-31-M-12)
|
|
||||||
(footprint HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12)
|
|
||||||
(datasheet https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf)
|
|
||||||
(fields
|
|
||||||
(field (name MANUFACTURER) "HRO Electronics")
|
|
||||||
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
|
|
||||||
(field (name PARTREV) A)
|
|
||||||
(field (name STANDARD) "Manufacturer Recommendations"))
|
|
||||||
(libsource (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12) (description ""))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6112D89A))
|
|
||||||
(comp (ref JP1)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6113282A))
|
|
||||||
(comp (ref JP3)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6118262C))
|
|
||||||
(comp (ref JP8)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611A3587))
|
|
||||||
(comp (ref SW2)
|
|
||||||
(value PEC11R-4220F-S0012)
|
|
||||||
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
|
|
||||||
(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 611CC8B9))
|
|
||||||
(comp (ref SW3)
|
|
||||||
(value PEC11R-4220F-S0012)
|
|
||||||
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
|
|
||||||
(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 611CDF12))
|
|
||||||
(comp (ref SW4)
|
|
||||||
(value PEC11R-4220F-S0012)
|
|
||||||
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
|
|
||||||
(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))
|
|
||||||
(comp (ref J3)
|
|
||||||
(value Conn_01x13)
|
|
||||||
(footprint Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_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))
|
|
||||||
(comp (ref J5)
|
|
||||||
(value Conn_01x04)
|
|
||||||
(footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 613021A3))
|
|
||||||
(comp (ref J4)
|
|
||||||
(value Conn_01x04)
|
|
||||||
(footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 613031C0))
|
|
||||||
(comp (ref D1)
|
|
||||||
(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 6113FB23))
|
|
||||||
(comp (ref R2)
|
|
||||||
(value 200)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6114AFDD))
|
|
||||||
(comp (ref R1)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611669B4))
|
|
||||||
(comp (ref J1)
|
|
||||||
(value AVR-ISP-6)
|
|
||||||
(footprint AVR-ISP:AVR-ISP)
|
|
||||||
(datasheet " ~")
|
|
||||||
(libsource (lib Connector) (part AVR-ISP-6) (description "Atmel 6-pin ISP connector"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61134728))
|
|
||||||
(comp (ref Y1)
|
|
||||||
(value 16MHz)
|
|
||||||
(footprint Crystal:Crystal_SMD_HC49-SD_HandSoldering)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part Crystal) (description "Two pin crystal"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6113484F))
|
|
||||||
(comp (ref C1)
|
|
||||||
(value 22p)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6113DC2F))
|
|
||||||
(comp (ref C2)
|
|
||||||
(value 22p)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611448F1))
|
|
||||||
(comp (ref C3)
|
|
||||||
(value 100n)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6115564D))
|
|
||||||
(comp (ref JP2)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611AC9C3))
|
|
||||||
(comp (ref JP4)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611AE464))
|
|
||||||
(comp (ref JP5)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611AECF9))
|
|
||||||
(comp (ref JP6)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611AF363))
|
|
||||||
(comp (ref JP7)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611B0523))
|
|
||||||
(comp (ref JP9)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611B0A60))
|
|
||||||
(comp (ref JP10)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611A3577))
|
|
||||||
(comp (ref SW5)
|
|
||||||
(value SW_Push)
|
|
||||||
(footprint SKRKAEE020:SKRKAEE020)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(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))
|
|
||||||
(comp (ref C4)
|
|
||||||
(value 100n)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611FCAF6))
|
|
||||||
(comp (ref R6)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 612D3AC9))
|
|
||||||
(comp (ref R4)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 612D449E))
|
|
||||||
(comp (ref R5)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 612D4F68)))
|
|
||||||
(libparts
|
|
||||||
(libpart (lib Connector) (part AVR-ISP-6)
|
|
||||||
(description "Atmel 6-pin ISP connector")
|
|
||||||
(docs " ~")
|
|
||||||
(footprints
|
|
||||||
(fp IDC?Header*2x03*)
|
|
||||||
(fp Pin?Header*2x03*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) AVR-ISP-6))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name MISO) (type passive))
|
|
||||||
(pin (num 2) (name VCC) (type passive))
|
|
||||||
(pin (num 3) (name SCK) (type passive))
|
|
||||||
(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_01x04)
|
|
||||||
(description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp Connector*:*_1x??_*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) Conn_01x04))
|
|
||||||
(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))))
|
|
||||||
(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 ~)
|
|
||||||
(footprints
|
|
||||||
(fp C_*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) C)
|
|
||||||
(field (name Value) C))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name ~) (type passive))
|
|
||||||
(pin (num 2) (name ~) (type passive))))
|
|
||||||
(libpart (lib Device) (part Crystal)
|
|
||||||
(description "Two pin crystal")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp Crystal*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) Y)
|
|
||||||
(field (name Value) Crystal))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name 1) (type passive))
|
|
||||||
(pin (num 2) (name 2) (type passive))))
|
|
||||||
(libpart (lib Device) (part LED)
|
|
||||||
(description "Light emitting diode")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp LED*)
|
|
||||||
(fp LED_SMD:*)
|
|
||||||
(fp LED_THT:*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) D)
|
|
||||||
(field (name Value) LED))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name K) (type passive))
|
|
||||||
(pin (num 2) (name A) (type passive))))
|
|
||||||
(libpart (lib Device) (part R)
|
|
||||||
(description Resistor)
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp R_*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) R)
|
|
||||||
(field (name Value) R))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name ~) (type passive))
|
|
||||||
(pin (num 2) (name ~) (type passive))))
|
|
||||||
(libpart (lib Device) (part Rotary_Encoder_Switch)
|
|
||||||
(description "Rotary encoder, dual channel, incremental quadrate outputs, with switch")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp RotaryEncoder*Switch*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) SW)
|
|
||||||
(field (name Value) Rotary_Encoder_Switch))
|
|
||||||
(pins
|
|
||||||
(pin (num A) (name A) (type passive))
|
|
||||||
(pin (num B) (name B) (type passive))
|
|
||||||
(pin (num C) (name C) (type passive))
|
|
||||||
(pin (num S1) (name S1) (type passive))
|
|
||||||
(pin (num S2) (name S2) (type passive))))
|
|
||||||
(libpart (lib Jumper) (part SolderJumper_2_Bridged)
|
|
||||||
(description "Solder Jumper, 2-pole, closed/bridged")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp SolderJumper*Bridged*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) JP)
|
|
||||||
(field (name Value) SolderJumper_2_Bridged))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name A) (type passive))
|
|
||||||
(pin (num 2) (name B) (type passive))))
|
|
||||||
(libpart (lib Jumper) (part SolderJumper_2_Open)
|
|
||||||
(description "Solder Jumper, 2-pole, open")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp SolderJumper*Open*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) JP)
|
|
||||||
(field (name Value) SolderJumper_2_Open))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name A) (type passive))
|
|
||||||
(pin (num 2) (name B) (type passive))))
|
|
||||||
(libpart (lib MCU_Microchip_ATmega) (part ATmega48PB-AU)
|
|
||||||
(aliases
|
|
||||||
(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) 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 PE0) (type BiDi))
|
|
||||||
(pin (num 4) (name VCC) (type power_in))
|
|
||||||
(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))
|
|
||||||
(pin (num 10) (name PD6) (type BiDi))
|
|
||||||
(pin (num 11) (name PD7) (type BiDi))
|
|
||||||
(pin (num 12) (name PB0) (type BiDi))
|
|
||||||
(pin (num 13) (name PB1) (type BiDi))
|
|
||||||
(pin (num 14) (name PB2) (type BiDi))
|
|
||||||
(pin (num 15) (name PB3) (type BiDi))
|
|
||||||
(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 PE2) (type BiDi))
|
|
||||||
(pin (num 20) (name AREF) (type passive))
|
|
||||||
(pin (num 21) (name GND) (type passive))
|
|
||||||
(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))
|
|
||||||
(pin (num 26) (name PC3) (type BiDi))
|
|
||||||
(pin (num 27) (name PC4) (type BiDi))
|
|
||||||
(pin (num 28) (name PC5) (type BiDi))
|
|
||||||
(pin (num 29) (name ~RESET~/PC6) (type BiDi))
|
|
||||||
(pin (num 30) (name PD0) (type BiDi))
|
|
||||||
(pin (num 31) (name PD1) (type BiDi))
|
|
||||||
(pin (num 32) (name PD2) (type BiDi))))
|
|
||||||
(libpart (lib Switch) (part SW_Push)
|
|
||||||
(description "Push button switch, generic, two pins")
|
|
||||||
(docs ~)
|
|
||||||
(fields
|
|
||||||
(field (name Reference) SW)
|
|
||||||
(field (name Value) SW_Push))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name 1) (type passive))
|
|
||||||
(pin (num 2) (name 2) (type passive))))
|
|
||||||
(libpart (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12)
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) TYPE-C-31-M-12)
|
|
||||||
(field (name Footprint) HRO_TYPE-C-31-M-12)
|
|
||||||
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
|
|
||||||
(field (name STANDARD) "Manufacturer Recommendations")
|
|
||||||
(field (name PARTREV) A)
|
|
||||||
(field (name MANUFACTURER) "HRO Electronics"))
|
|
||||||
(pins
|
|
||||||
(pin (num A5) (name CC1) (type BiDi))
|
|
||||||
(pin (num A6) (name DP1) (type BiDi))
|
|
||||||
(pin (num A7) (name DN1) (type BiDi))
|
|
||||||
(pin (num A8) (name SBU1) (type BiDi))
|
|
||||||
(pin (num A1B12) (name GND) (type power_in))
|
|
||||||
(pin (num A4B9) (name VBUS) (type power_in))
|
|
||||||
(pin (num B5) (name CC2) (type BiDi))
|
|
||||||
(pin (num B6) (name DP2) (type BiDi))
|
|
||||||
(pin (num B7) (name DN2) (type BiDi))
|
|
||||||
(pin (num B8) (name SBU2) (type BiDi))
|
|
||||||
(pin (num B1A12) (name GND) (type power_in))
|
|
||||||
(pin (num B4A9) (name VBUS) (type power_in))
|
|
||||||
(pin (num S1) (name SHIELD) (type passive))
|
|
||||||
(pin (num S2) (name SHIELD) (type passive))
|
|
||||||
(pin (num S3) (name SHIELD) (type passive))
|
|
||||||
(pin (num S4) (name SHIELD) (type passive)))))
|
|
||||||
(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)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Jumper.lib"))
|
|
||||||
(library (logical MCU_Microchip_ATmega)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/MCU_Microchip_ATmega.lib"))
|
|
||||||
(library (logical Switch)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Switch.lib"))
|
|
||||||
(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 GND)
|
|
||||||
(node (ref U1) (pin 5))
|
|
||||||
(node (ref D2) (pin 1))
|
|
||||||
(node (ref C2) (pin 2))
|
|
||||||
(node (ref C1) (pin 2))
|
|
||||||
(node (ref J1) (pin 6))
|
|
||||||
(node (ref J5) (pin 1))
|
|
||||||
(node (ref J4) (pin 1))
|
|
||||||
(node (ref C4) (pin 2))
|
|
||||||
(node (ref J2) (pin S3))
|
|
||||||
(node (ref J2) (pin S4))
|
|
||||||
(node (ref J2) (pin S2))
|
|
||||||
(node (ref J2) (pin S1))
|
|
||||||
(node (ref J2) (pin B1A12))
|
|
||||||
(node (ref J2) (pin A1B12))
|
|
||||||
(node (ref SW1) (pin C))
|
|
||||||
(node (ref SW2) (pin S1))
|
|
||||||
(node (ref SW4) (pin S1))
|
|
||||||
(node (ref SW4) (pin C))
|
|
||||||
(node (ref SW3) (pin S1))
|
|
||||||
(node (ref SW3) (pin C))
|
|
||||||
(node (ref SW1) (pin S1))
|
|
||||||
(node (ref SW2) (pin C))
|
|
||||||
(node (ref J3) (pin 1))
|
|
||||||
(node (ref U1) (pin 21))
|
|
||||||
(node (ref D1) (pin 1))
|
|
||||||
(node (ref C3) (pin 2))
|
|
||||||
(node (ref SW5) (pin 2)))
|
|
||||||
(net (code 2) (name "Net-(J2-PadA7)")
|
|
||||||
(node (ref JP3) (pin 2))
|
|
||||||
(node (ref J2) (pin A7))
|
|
||||||
(node (ref JP4) (pin 2)))
|
|
||||||
(net (code 3) (name VCC)
|
|
||||||
(node (ref R1) (pin 2))
|
|
||||||
(node (ref R2) (pin 2))
|
|
||||||
(node (ref R6) (pin 1))
|
|
||||||
(node (ref R4) (pin 1))
|
|
||||||
(node (ref R5) (pin 1))
|
|
||||||
(node (ref J2) (pin A4B9))
|
|
||||||
(node (ref J1) (pin 2))
|
|
||||||
(node (ref U1) (pin 18))
|
|
||||||
(node (ref U1) (pin 4))
|
|
||||||
(node (ref J2) (pin B4A9))
|
|
||||||
(node (ref C4) (pin 1))
|
|
||||||
(node (ref C3) (pin 1))
|
|
||||||
(node (ref J5) (pin 4)))
|
|
||||||
(net (code 4) (name XTAL2)
|
|
||||||
(node (ref U1) (pin 8))
|
|
||||||
(node (ref Y1) (pin 2))
|
|
||||||
(node (ref C2) (pin 1)))
|
|
||||||
(net (code 5) (name XTAL1)
|
|
||||||
(node (ref Y1) (pin 1))
|
|
||||||
(node (ref U1) (pin 7))
|
|
||||||
(node (ref C1) (pin 1)))
|
|
||||||
(net (code 6) (name "Net-(U1-Pad22)")
|
|
||||||
(node (ref U1) (pin 22)))
|
|
||||||
(net (code 7) (name "Net-(U1-Pad20)")
|
|
||||||
(node (ref U1) (pin 20)))
|
|
||||||
(net (code 8) (name "Net-(U1-Pad19)")
|
|
||||||
(node (ref U1) (pin 19)))
|
|
||||||
(net (code 9) (name LED)
|
|
||||||
(node (ref R3) (pin 2))
|
|
||||||
(node (ref U1) (pin 14)))
|
|
||||||
(net (code 10) (name RST)
|
|
||||||
(node (ref JP5) (pin 1))
|
|
||||||
(node (ref J1) (pin 5))
|
|
||||||
(node (ref J4) (pin 4))
|
|
||||||
(node (ref U1) (pin 29))
|
|
||||||
(node (ref SW5) (pin 1))
|
|
||||||
(node (ref JP6) (pin 2))
|
|
||||||
(node (ref R1) (pin 1)))
|
|
||||||
(net (code 11) (name "Net-(D1-Pad2)")
|
|
||||||
(node (ref R2) (pin 1))
|
|
||||||
(node (ref D1) (pin 2)))
|
|
||||||
(net (code 12) (name SDA)
|
|
||||||
(node (ref JP1) (pin 1))
|
|
||||||
(node (ref U1) (pin 27))
|
|
||||||
(node (ref J5) (pin 2))
|
|
||||||
(node (ref JP10) (pin 2))
|
|
||||||
(node (ref R5) (pin 2)))
|
|
||||||
(net (code 13) (name MOSI)
|
|
||||||
(node (ref U1) (pin 15))
|
|
||||||
(node (ref J1) (pin 4)))
|
|
||||||
(net (code 14) (name SCK)
|
|
||||||
(node (ref J1) (pin 3))
|
|
||||||
(node (ref U1) (pin 17)))
|
|
||||||
(net (code 15) (name MISO)
|
|
||||||
(node (ref U1) (pin 16))
|
|
||||||
(node (ref J1) (pin 1)))
|
|
||||||
(net (code 16) (name "Net-(D2-Pad2)")
|
|
||||||
(node (ref D2) (pin 2))
|
|
||||||
(node (ref R3) (pin 1)))
|
|
||||||
(net (code 17) (name "Net-(U1-Pad6)")
|
|
||||||
(node (ref U1) (pin 6)))
|
|
||||||
(net (code 18) (name "Net-(U1-Pad3)")
|
|
||||||
(node (ref U1) (pin 3)))
|
|
||||||
(net (code 19) (name ENC3B)
|
|
||||||
(node (ref U1) (pin 11))
|
|
||||||
(node (ref SW3) (pin B))
|
|
||||||
(node (ref J3) (pin 7)))
|
|
||||||
(net (code 20) (name ENC3A)
|
|
||||||
(node (ref J3) (pin 6))
|
|
||||||
(node (ref SW3) (pin A))
|
|
||||||
(node (ref U1) (pin 10)))
|
|
||||||
(net (code 21) (name ENC2A)
|
|
||||||
(node (ref J3) (pin 4))
|
|
||||||
(node (ref U1) (pin 2))
|
|
||||||
(node (ref SW2) (pin A)))
|
|
||||||
(net (code 22) (name ENC1B)
|
|
||||||
(node (ref SW1) (pin B))
|
|
||||||
(node (ref J3) (pin 3))
|
|
||||||
(node (ref U1) (pin 1)))
|
|
||||||
(net (code 23) (name ENC2B)
|
|
||||||
(node (ref J3) (pin 5))
|
|
||||||
(node (ref U1) (pin 9))
|
|
||||||
(node (ref SW2) (pin B)))
|
|
||||||
(net (code 24) (name ENC1A)
|
|
||||||
(node (ref SW1) (pin A))
|
|
||||||
(node (ref U1) (pin 32))
|
|
||||||
(node (ref J3) (pin 2)))
|
|
||||||
(net (code 25) (name TX)
|
|
||||||
(node (ref JP9) (pin 2))
|
|
||||||
(node (ref U1) (pin 31))
|
|
||||||
(node (ref J4) (pin 3))
|
|
||||||
(node (ref JP2) (pin 1)))
|
|
||||||
(net (code 26) (name RX)
|
|
||||||
(node (ref U1) (pin 30))
|
|
||||||
(node (ref JP7) (pin 2))
|
|
||||||
(node (ref R6) (pin 2))
|
|
||||||
(node (ref JP4) (pin 1))
|
|
||||||
(node (ref J4) (pin 2)))
|
|
||||||
(net (code 27) (name SCL)
|
|
||||||
(node (ref J5) (pin 3))
|
|
||||||
(node (ref R4) (pin 2))
|
|
||||||
(node (ref JP3) (pin 1))
|
|
||||||
(node (ref JP8) (pin 2))
|
|
||||||
(node (ref U1) (pin 28)))
|
|
||||||
(net (code 28) (name BTN4)
|
|
||||||
(node (ref U1) (pin 26))
|
|
||||||
(node (ref J3) (pin 13))
|
|
||||||
(node (ref SW4) (pin S2)))
|
|
||||||
(net (code 29) (name BTN3)
|
|
||||||
(node (ref SW3) (pin S2))
|
|
||||||
(node (ref U1) (pin 25))
|
|
||||||
(node (ref J3) (pin 12)))
|
|
||||||
(net (code 30) (name BTN2)
|
|
||||||
(node (ref J3) (pin 11))
|
|
||||||
(node (ref U1) (pin 24))
|
|
||||||
(node (ref SW2) (pin S2)))
|
|
||||||
(net (code 31) (name BTN1)
|
|
||||||
(node (ref SW1) (pin S2))
|
|
||||||
(node (ref U1) (pin 23))
|
|
||||||
(node (ref J3) (pin 10)))
|
|
||||||
(net (code 32) (name ENC4B)
|
|
||||||
(node (ref SW4) (pin B))
|
|
||||||
(node (ref U1) (pin 13))
|
|
||||||
(node (ref J3) (pin 9)))
|
|
||||||
(net (code 33) (name ENC4A)
|
|
||||||
(node (ref J3) (pin 8))
|
|
||||||
(node (ref U1) (pin 12))
|
|
||||||
(node (ref SW4) (pin A)))
|
|
||||||
(net (code 34) (name "Net-(J2-PadB7)")
|
|
||||||
(node (ref JP8) (pin 1))
|
|
||||||
(node (ref J2) (pin B7))
|
|
||||||
(node (ref JP7) (pin 1)))
|
|
||||||
(net (code 35) (name "Net-(J2-PadB6)")
|
|
||||||
(node (ref JP10) (pin 1))
|
|
||||||
(node (ref JP9) (pin 1))
|
|
||||||
(node (ref J2) (pin B6)))
|
|
||||||
(net (code 36) (name "Net-(J2-PadA6)")
|
|
||||||
(node (ref JP2) (pin 2))
|
|
||||||
(node (ref J2) (pin A6))
|
|
||||||
(node (ref JP1) (pin 2)))
|
|
||||||
(net (code 37) (name "Net-(J2-PadB5)")
|
|
||||||
(node (ref J2) (pin B5)))
|
|
||||||
(net (code 38) (name "Net-(J2-PadB8)")
|
|
||||||
(node (ref JP6) (pin 1))
|
|
||||||
(node (ref J2) (pin B8)))
|
|
||||||
(net (code 39) (name "Net-(J2-PadA8)")
|
|
||||||
(node (ref J2) (pin A8))
|
|
||||||
(node (ref JP5) (pin 2)))
|
|
||||||
(net (code 40) (name "Net-(J2-PadA5)")
|
|
||||||
(node (ref J2) (pin A5)))))
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,77 +0,0 @@
|
||||||
{
|
|
||||||
"board": {
|
|
||||||
"active_layer": 36,
|
|
||||||
"active_layer_preset": "",
|
|
||||||
"auto_track_width": true,
|
|
||||||
"hidden_nets": [],
|
|
||||||
"high_contrast_mode": 0,
|
|
||||||
"net_color_mode": 1,
|
|
||||||
"opacity": {
|
|
||||||
"pads": 1.0,
|
|
||||||
"tracks": 1.0,
|
|
||||||
"vias": 1.0,
|
|
||||||
"zones": 0.6
|
|
||||||
},
|
|
||||||
"ratsnest_display_mode": 0,
|
|
||||||
"selection_filter": {
|
|
||||||
"dimensions": true,
|
|
||||||
"footprints": true,
|
|
||||||
"graphics": true,
|
|
||||||
"keepouts": true,
|
|
||||||
"lockedItems": true,
|
|
||||||
"otherItems": true,
|
|
||||||
"pads": true,
|
|
||||||
"text": true,
|
|
||||||
"tracks": true,
|
|
||||||
"vias": true,
|
|
||||||
"zones": true
|
|
||||||
},
|
|
||||||
"visible_items": [
|
|
||||||
0,
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
3,
|
|
||||||
4,
|
|
||||||
5,
|
|
||||||
6,
|
|
||||||
7,
|
|
||||||
8,
|
|
||||||
9,
|
|
||||||
10,
|
|
||||||
11,
|
|
||||||
12,
|
|
||||||
13,
|
|
||||||
14,
|
|
||||||
15,
|
|
||||||
16,
|
|
||||||
17,
|
|
||||||
18,
|
|
||||||
19,
|
|
||||||
20,
|
|
||||||
21,
|
|
||||||
22,
|
|
||||||
23,
|
|
||||||
24,
|
|
||||||
25,
|
|
||||||
26,
|
|
||||||
27,
|
|
||||||
28,
|
|
||||||
29,
|
|
||||||
30,
|
|
||||||
32,
|
|
||||||
33,
|
|
||||||
34,
|
|
||||||
35,
|
|
||||||
36
|
|
||||||
],
|
|
||||||
"visible_layers": "003ffff_80000001",
|
|
||||||
"zone_display_mode": 0
|
|
||||||
},
|
|
||||||
"meta": {
|
|
||||||
"filename": "Control.kicad_prl",
|
|
||||||
"version": 3
|
|
||||||
},
|
|
||||||
"project": {
|
|
||||||
"files": []
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,988 +0,0 @@
|
||||||
(export (version D)
|
|
||||||
(design
|
|
||||||
(source "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Control\\Hardware\\Circuit\\Control.sch")
|
|
||||||
(date "29.08.2021 17:03:30")
|
|
||||||
(tool "Eeschema (5.1.10)-1")
|
|
||||||
(sheet (number 1) (name /) (tstamps /)
|
|
||||||
(title_block
|
|
||||||
(title "LightControl Console")
|
|
||||||
(company)
|
|
||||||
(rev v00)
|
|
||||||
(date 2021-08-10)
|
|
||||||
(source Control.sch)
|
|
||||||
(comment (number 1) (value ""))
|
|
||||||
(comment (number 2) (value ""))
|
|
||||||
(comment (number 3) (value ""))
|
|
||||||
(comment (number 4) (value "Author: GHOSCHT")))))
|
|
||||||
(components
|
|
||||||
(comp (ref J8)
|
|
||||||
(value TYPE-C-31-M-12)
|
|
||||||
(footprint HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12)
|
|
||||||
(datasheet https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf)
|
|
||||||
(fields
|
|
||||||
(field (name MANUFACTURER) "HRO Electronics")
|
|
||||||
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
|
|
||||||
(field (name PARTREV) A)
|
|
||||||
(field (name STANDARD) "Manufacturer Recommendations"))
|
|
||||||
(libsource (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12) (description ""))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6112D89A))
|
|
||||||
(comp (ref JP1)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6113282A))
|
|
||||||
(comp (ref JP3)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6118262C))
|
|
||||||
(comp (ref JP10)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611A3577))
|
|
||||||
(comp (ref JP8)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611A3587))
|
|
||||||
(comp (ref J5)
|
|
||||||
(value Conn_01x04)
|
|
||||||
(footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 613021A3))
|
|
||||||
(comp (ref J3)
|
|
||||||
(value Conn_01x04)
|
|
||||||
(footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 613031C0))
|
|
||||||
(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 6113FB23))
|
|
||||||
(comp (ref R6)
|
|
||||||
(value 200)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6114AFDD))
|
|
||||||
(comp (ref J6)
|
|
||||||
(value AVR-ISP-6)
|
|
||||||
(footprint AVR-ISP:AVR-ISP)
|
|
||||||
(datasheet " ~")
|
|
||||||
(libsource (lib Connector) (part AVR-ISP-6) (description "Atmel 6-pin ISP connector"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61134728))
|
|
||||||
(comp (ref Y1)
|
|
||||||
(value 16MHz)
|
|
||||||
(footprint Crystal:Crystal_SMD_HC49-SD_HandSoldering)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part Crystal) (description "Two pin crystal"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6113484F))
|
|
||||||
(comp (ref C1)
|
|
||||||
(value 22p)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6113DC2F))
|
|
||||||
(comp (ref C3)
|
|
||||||
(value 22p)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611448F1))
|
|
||||||
(comp (ref C2)
|
|
||||||
(value 100n)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6115564D))
|
|
||||||
(comp (ref J1)
|
|
||||||
(value Screw_Terminal_01x03)
|
|
||||||
(footprint CUI_TB006-508-03BE:CUI_TB006-508-03BE)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector) (part Screw_Terminal_01x03) (description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6117AFF9))
|
|
||||||
(comp (ref J7)
|
|
||||||
(value TYPE-C-31-M-12)
|
|
||||||
(footprint HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12)
|
|
||||||
(datasheet https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf)
|
|
||||||
(fields
|
|
||||||
(field (name MANUFACTURER) "HRO Electronics")
|
|
||||||
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
|
|
||||||
(field (name PARTREV) A)
|
|
||||||
(field (name STANDARD) "Manufacturer Recommendations"))
|
|
||||||
(libsource (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12) (description ""))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6118AF6C))
|
|
||||||
(comp (ref U4)
|
|
||||||
(value CH340C)
|
|
||||||
(footprint Package_SO:SOIC-16_3.9x9.9mm_P1.27mm)
|
|
||||||
(datasheet https://datasheet.lcsc.com/szlcsc/Jiangsu-Qin-Heng-CH340C_C84681.pdf)
|
|
||||||
(libsource (lib Interface_USB) (part CH340C) (description "USB serial converter, UART, SOIC-16"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6118DFFB))
|
|
||||||
(comp (ref J2)
|
|
||||||
(value Screw_Terminal_01x03)
|
|
||||||
(footprint CUI_TB006-508-03BE:CUI_TB006-508-03BE)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector) (part Screw_Terminal_01x03) (description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61192611))
|
|
||||||
(comp (ref R4)
|
|
||||||
(value 120)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611931AE))
|
|
||||||
(comp (ref R2)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611669B4))
|
|
||||||
(comp (ref JP2)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6119BC53))
|
|
||||||
(comp (ref JP4)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6119D4AD))
|
|
||||||
(comp (ref JP5)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6119DE73))
|
|
||||||
(comp (ref JP6)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6119E34D))
|
|
||||||
(comp (ref JP7)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6119F385))
|
|
||||||
(comp (ref JP9)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6119F7AD))
|
|
||||||
(comp (ref C8)
|
|
||||||
(value 100n)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6124E822))
|
|
||||||
(comp (ref C5)
|
|
||||||
(value 100n)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 612767EE))
|
|
||||||
(comp (ref C6)
|
|
||||||
(value 100n)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61296637))
|
|
||||||
(comp (ref R10)
|
|
||||||
(value 40.2)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6132AA9D))
|
|
||||||
(comp (ref R7)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 612495F2))
|
|
||||||
(comp (ref Q1)
|
|
||||||
(value Q_NPN_BCE)
|
|
||||||
(footprint Package_TO_SOT_SMD:SOT-23_Handsoldering)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part Q_NPN_BCE) (description "NPN transistor, base/collector/emitter"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611AC231))
|
|
||||||
(comp (ref SW2)
|
|
||||||
(value SW_Push)
|
|
||||||
(footprint SKRKAEE020:SKRKAEE020)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61257FBA))
|
|
||||||
(comp (ref R9)
|
|
||||||
(value 40.2)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61303408))
|
|
||||||
(comp (ref R3)
|
|
||||||
(value 40.2)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611A5CE7))
|
|
||||||
(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 611B4248))
|
|
||||||
(comp (ref C4)
|
|
||||||
(value 100n)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611E06B0))
|
|
||||||
(comp (ref U2)
|
|
||||||
(value CD74HC4053PWR)
|
|
||||||
(footprint CD74HC4053PWR:SOP65P640X120-16N)
|
|
||||||
(libsource (lib CD74HC4053PWR) (part CD74HC4053PWR) (description ""))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611A257A))
|
|
||||||
(comp (ref J4)
|
|
||||||
(value Conn_01x04)
|
|
||||||
(footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61885232))
|
|
||||||
(comp (ref JP12)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6191A11B))
|
|
||||||
(comp (ref JP11)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6191ADB7))
|
|
||||||
(comp (ref JP14)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 619337D7))
|
|
||||||
(comp (ref JP13)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 619337DD))
|
|
||||||
(comp (ref JP16)
|
|
||||||
(value SolderJumper_Bridged)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 619648E7))
|
|
||||||
(comp (ref JP15)
|
|
||||||
(value SolderJumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 619648ED))
|
|
||||||
(comp (ref D1)
|
|
||||||
(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 61C08A60))
|
|
||||||
(comp (ref R1)
|
|
||||||
(value 200)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61C08A66))
|
|
||||||
(comp (ref R8)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61207BF0))
|
|
||||||
(comp (ref U3)
|
|
||||||
(value CD74HC4053PWR)
|
|
||||||
(footprint CD74HC4053PWR:SOP65P640X120-16N)
|
|
||||||
(libsource (lib CD74HC4053PWR) (part CD74HC4053PWR) (description ""))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61207BFE))
|
|
||||||
(comp (ref C7)
|
|
||||||
(value 100n)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 612205DD))
|
|
||||||
(comp (ref SW1)
|
|
||||||
(value SW_Push)
|
|
||||||
(footprint SKRKAEE020:SKRKAEE020)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 6128EB08))
|
|
||||||
(comp (ref R5)
|
|
||||||
(value 40.2)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 612A80A8))
|
|
||||||
(comp (ref R12)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 612EAB9B))
|
|
||||||
(comp (ref R13)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 612ECBE9))
|
|
||||||
(comp (ref R11)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 61382EBC))
|
|
||||||
(comp (ref C9)
|
|
||||||
(value 100n)
|
|
||||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 614BF013)))
|
|
||||||
(libparts
|
|
||||||
(libpart (lib CD74HC4053PWR) (part CD74HC4053PWR)
|
|
||||||
(fields
|
|
||||||
(field (name Reference) U)
|
|
||||||
(field (name Value) CD74HC4053PWR)
|
|
||||||
(field (name Footprint) SOP65P640X120-16N))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name B1) (type BiDi))
|
|
||||||
(pin (num 2) (name B0) (type BiDi))
|
|
||||||
(pin (num 3) (name C1) (type BiDi))
|
|
||||||
(pin (num 4) (name CN) (type BiDi))
|
|
||||||
(pin (num 5) (name C0) (type BiDi))
|
|
||||||
(pin (num 6) (name ~E) (type input))
|
|
||||||
(pin (num 7) (name VEE) (type power_in))
|
|
||||||
(pin (num 8) (name GND) (type power_in))
|
|
||||||
(pin (num 9) (name S2) (type input))
|
|
||||||
(pin (num 10) (name S1) (type input))
|
|
||||||
(pin (num 11) (name S0) (type input))
|
|
||||||
(pin (num 12) (name A0) (type BiDi))
|
|
||||||
(pin (num 13) (name A1) (type BiDi))
|
|
||||||
(pin (num 14) (name AN) (type BiDi))
|
|
||||||
(pin (num 15) (name BN) (type BiDi))
|
|
||||||
(pin (num 16) (name VCC) (type power_in))))
|
|
||||||
(libpart (lib Connector) (part AVR-ISP-6)
|
|
||||||
(description "Atmel 6-pin ISP connector")
|
|
||||||
(docs " ~")
|
|
||||||
(footprints
|
|
||||||
(fp IDC?Header*2x03*)
|
|
||||||
(fp Pin?Header*2x03*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) AVR-ISP-6))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name MISO) (type passive))
|
|
||||||
(pin (num 2) (name VCC) (type passive))
|
|
||||||
(pin (num 3) (name SCK) (type passive))
|
|
||||||
(pin (num 4) (name MOSI) (type passive))
|
|
||||||
(pin (num 5) (name ~RST) (type passive))
|
|
||||||
(pin (num 6) (name GND) (type passive))))
|
|
||||||
(libpart (lib Connector) (part Screw_Terminal_01x03)
|
|
||||||
(description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp TerminalBlock*:*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) Screw_Terminal_01x03))
|
|
||||||
(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))))
|
|
||||||
(libpart (lib Connector_Generic) (part Conn_01x04)
|
|
||||||
(description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp Connector*:*_1x??_*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) Conn_01x04))
|
|
||||||
(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))))
|
|
||||||
(libpart (lib Device) (part C)
|
|
||||||
(description "Unpolarized capacitor")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp C_*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) C)
|
|
||||||
(field (name Value) C))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name ~) (type passive))
|
|
||||||
(pin (num 2) (name ~) (type passive))))
|
|
||||||
(libpart (lib Device) (part Crystal)
|
|
||||||
(description "Two pin crystal")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp Crystal*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) Y)
|
|
||||||
(field (name Value) Crystal))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name 1) (type passive))
|
|
||||||
(pin (num 2) (name 2) (type passive))))
|
|
||||||
(libpart (lib Device) (part LED)
|
|
||||||
(description "Light emitting diode")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp LED*)
|
|
||||||
(fp LED_SMD:*)
|
|
||||||
(fp LED_THT:*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) D)
|
|
||||||
(field (name Value) LED))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name K) (type passive))
|
|
||||||
(pin (num 2) (name A) (type passive))))
|
|
||||||
(libpart (lib Device) (part Q_NPN_BCE)
|
|
||||||
(description "NPN transistor, base/collector/emitter")
|
|
||||||
(docs ~)
|
|
||||||
(fields
|
|
||||||
(field (name Reference) Q)
|
|
||||||
(field (name Value) Q_NPN_BCE))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name B) (type input))
|
|
||||||
(pin (num 2) (name C) (type passive))
|
|
||||||
(pin (num 3) (name E) (type passive))))
|
|
||||||
(libpart (lib Device) (part R)
|
|
||||||
(description Resistor)
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp R_*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) R)
|
|
||||||
(field (name Value) R))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name ~) (type passive))
|
|
||||||
(pin (num 2) (name ~) (type passive))))
|
|
||||||
(libpart (lib Interface_USB) (part CH340C)
|
|
||||||
(description "USB serial converter, UART, SOIC-16")
|
|
||||||
(docs https://datasheet.lcsc.com/szlcsc/Jiangsu-Qin-Heng-CH340C_C84681.pdf)
|
|
||||||
(footprints
|
|
||||||
(fp SOIC*3.9x9.9mm*P1.27mm*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) U)
|
|
||||||
(field (name Value) CH340C)
|
|
||||||
(field (name Footprint) Package_SO:SOIC-16_3.9x9.9mm_P1.27mm))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name GND) (type power_in))
|
|
||||||
(pin (num 2) (name TXD) (type output))
|
|
||||||
(pin (num 3) (name RXD) (type input))
|
|
||||||
(pin (num 4) (name V3) (type passive))
|
|
||||||
(pin (num 5) (name UD+) (type BiDi))
|
|
||||||
(pin (num 6) (name UD-) (type BiDi))
|
|
||||||
(pin (num 7) (name NC) (type NotConnected))
|
|
||||||
(pin (num 8) (name NC) (type NotConnected))
|
|
||||||
(pin (num 9) (name ~CTS) (type input))
|
|
||||||
(pin (num 10) (name ~DSR) (type input))
|
|
||||||
(pin (num 11) (name ~RI) (type input))
|
|
||||||
(pin (num 12) (name ~DCD) (type input))
|
|
||||||
(pin (num 13) (name ~DTR) (type output))
|
|
||||||
(pin (num 14) (name ~RTS) (type output))
|
|
||||||
(pin (num 15) (name R232) (type input))
|
|
||||||
(pin (num 16) (name VCC) (type power_in))))
|
|
||||||
(libpart (lib Jumper) (part SolderJumper_2_Bridged)
|
|
||||||
(description "Solder Jumper, 2-pole, closed/bridged")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp SolderJumper*Bridged*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) JP)
|
|
||||||
(field (name Value) SolderJumper_2_Bridged))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name A) (type passive))
|
|
||||||
(pin (num 2) (name B) (type passive))))
|
|
||||||
(libpart (lib Jumper) (part SolderJumper_2_Open)
|
|
||||||
(description "Solder Jumper, 2-pole, open")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp SolderJumper*Open*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) JP)
|
|
||||||
(field (name Value) SolderJumper_2_Open))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name A) (type passive))
|
|
||||||
(pin (num 2) (name B) (type passive))))
|
|
||||||
(libpart (lib MCU_Microchip_ATmega) (part ATmega48PB-AU)
|
|
||||||
(aliases
|
|
||||||
(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) 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 PE0) (type BiDi))
|
|
||||||
(pin (num 4) (name VCC) (type power_in))
|
|
||||||
(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))
|
|
||||||
(pin (num 10) (name PD6) (type BiDi))
|
|
||||||
(pin (num 11) (name PD7) (type BiDi))
|
|
||||||
(pin (num 12) (name PB0) (type BiDi))
|
|
||||||
(pin (num 13) (name PB1) (type BiDi))
|
|
||||||
(pin (num 14) (name PB2) (type BiDi))
|
|
||||||
(pin (num 15) (name PB3) (type BiDi))
|
|
||||||
(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 PE2) (type BiDi))
|
|
||||||
(pin (num 20) (name AREF) (type passive))
|
|
||||||
(pin (num 21) (name GND) (type passive))
|
|
||||||
(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))
|
|
||||||
(pin (num 26) (name PC3) (type BiDi))
|
|
||||||
(pin (num 27) (name PC4) (type BiDi))
|
|
||||||
(pin (num 28) (name PC5) (type BiDi))
|
|
||||||
(pin (num 29) (name ~RESET~/PC6) (type BiDi))
|
|
||||||
(pin (num 30) (name PD0) (type BiDi))
|
|
||||||
(pin (num 31) (name PD1) (type BiDi))
|
|
||||||
(pin (num 32) (name PD2) (type BiDi))))
|
|
||||||
(libpart (lib Switch) (part SW_Push)
|
|
||||||
(description "Push button switch, generic, two pins")
|
|
||||||
(docs ~)
|
|
||||||
(fields
|
|
||||||
(field (name Reference) SW)
|
|
||||||
(field (name Value) SW_Push))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name 1) (type passive))
|
|
||||||
(pin (num 2) (name 2) (type passive))))
|
|
||||||
(libpart (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12)
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) TYPE-C-31-M-12)
|
|
||||||
(field (name Footprint) HRO_TYPE-C-31-M-12)
|
|
||||||
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
|
|
||||||
(field (name STANDARD) "Manufacturer Recommendations")
|
|
||||||
(field (name PARTREV) A)
|
|
||||||
(field (name MANUFACTURER) "HRO Electronics"))
|
|
||||||
(pins
|
|
||||||
(pin (num A5) (name CC1) (type BiDi))
|
|
||||||
(pin (num A6) (name DP1) (type BiDi))
|
|
||||||
(pin (num A7) (name DN1) (type BiDi))
|
|
||||||
(pin (num A8) (name SBU1) (type BiDi))
|
|
||||||
(pin (num A1B12) (name GND) (type power_in))
|
|
||||||
(pin (num A4B9) (name VBUS) (type power_in))
|
|
||||||
(pin (num B5) (name CC2) (type BiDi))
|
|
||||||
(pin (num B6) (name DP2) (type BiDi))
|
|
||||||
(pin (num B7) (name DN2) (type BiDi))
|
|
||||||
(pin (num B8) (name SBU2) (type BiDi))
|
|
||||||
(pin (num B1A12) (name GND) (type power_in))
|
|
||||||
(pin (num B4A9) (name VBUS) (type power_in))
|
|
||||||
(pin (num S1) (name SHIELD) (type passive))
|
|
||||||
(pin (num S2) (name SHIELD) (type passive))
|
|
||||||
(pin (num S3) (name SHIELD) (type passive))
|
|
||||||
(pin (num S4) (name SHIELD) (type passive)))))
|
|
||||||
(libraries
|
|
||||||
(library (logical CD74HC4053PWR)
|
|
||||||
(uri "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Control\\Hardware\\Circuit/Libraries/CD74HC4053PWR.lib"))
|
|
||||||
(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 Interface_USB)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Interface_USB.lib"))
|
|
||||||
(library (logical Jumper)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Jumper.lib"))
|
|
||||||
(library (logical MCU_Microchip_ATmega)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/MCU_Microchip_ATmega.lib"))
|
|
||||||
(library (logical Switch)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Switch.lib"))
|
|
||||||
(library (logical TYPE-C-31-M-12)
|
|
||||||
(uri "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Control\\Hardware\\Circuit/Libraries/TYPE-C-31-M-12.lib")))
|
|
||||||
(nets
|
|
||||||
(net (code 1) (name MISO)
|
|
||||||
(node (ref U3) (pin 15))
|
|
||||||
(node (ref J6) (pin 1))
|
|
||||||
(node (ref U1) (pin 16)))
|
|
||||||
(net (code 2) (name MOSI)
|
|
||||||
(node (ref U1) (pin 15))
|
|
||||||
(node (ref J6) (pin 4))
|
|
||||||
(node (ref U3) (pin 14)))
|
|
||||||
(net (code 3) (name STOPRST)
|
|
||||||
(node (ref R3) (pin 2))
|
|
||||||
(node (ref U1) (pin 23)))
|
|
||||||
(net (code 4) (name RST)
|
|
||||||
(node (ref U2) (pin 5))
|
|
||||||
(node (ref JP15) (pin 2))
|
|
||||||
(node (ref SW2) (pin 1))
|
|
||||||
(node (ref U1) (pin 29))
|
|
||||||
(node (ref R2) (pin 1))
|
|
||||||
(node (ref J6) (pin 5))
|
|
||||||
(node (ref J3) (pin 4))
|
|
||||||
(node (ref R4) (pin 1)))
|
|
||||||
(net (code 5) (name SCL)
|
|
||||||
(node (ref J5) (pin 3))
|
|
||||||
(node (ref JP8) (pin 1))
|
|
||||||
(node (ref JP3) (pin 1))
|
|
||||||
(node (ref U1) (pin 28))
|
|
||||||
(node (ref R12) (pin 2)))
|
|
||||||
(net (code 6) (name SDA)
|
|
||||||
(node (ref J5) (pin 2))
|
|
||||||
(node (ref JP1) (pin 1))
|
|
||||||
(node (ref JP10) (pin 1))
|
|
||||||
(node (ref R13) (pin 2))
|
|
||||||
(node (ref U1) (pin 27)))
|
|
||||||
(net (code 7) (name RX)
|
|
||||||
(node (ref J3) (pin 3))
|
|
||||||
(node (ref R11) (pin 2))
|
|
||||||
(node (ref U1) (pin 30))
|
|
||||||
(node (ref JP11) (pin 2))
|
|
||||||
(node (ref U2) (pin 2)))
|
|
||||||
(net (code 8) (name VCC)
|
|
||||||
(node (ref R11) (pin 1))
|
|
||||||
(node (ref R9) (pin 1))
|
|
||||||
(node (ref J5) (pin 4))
|
|
||||||
(node (ref U1) (pin 4))
|
|
||||||
(node (ref U3) (pin 16))
|
|
||||||
(node (ref R13) (pin 1))
|
|
||||||
(node (ref R12) (pin 1))
|
|
||||||
(node (ref C9) (pin 1))
|
|
||||||
(node (ref U1) (pin 18))
|
|
||||||
(node (ref C7) (pin 1))
|
|
||||||
(node (ref U2) (pin 16))
|
|
||||||
(node (ref R10) (pin 1))
|
|
||||||
(node (ref J7) (pin B4A9))
|
|
||||||
(node (ref C5) (pin 1))
|
|
||||||
(node (ref R2) (pin 2))
|
|
||||||
(node (ref C2) (pin 1))
|
|
||||||
(node (ref C4) (pin 1))
|
|
||||||
(node (ref U4) (pin 16))
|
|
||||||
(node (ref J7) (pin A4B9))
|
|
||||||
(node (ref J6) (pin 2))
|
|
||||||
(node (ref R6) (pin 2))
|
|
||||||
(node (ref Q1) (pin 2)))
|
|
||||||
(net (code 9) (name "Net-(U1-Pad20)")
|
|
||||||
(node (ref U1) (pin 20)))
|
|
||||||
(net (code 10) (name TX)
|
|
||||||
(node (ref J3) (pin 2))
|
|
||||||
(node (ref U2) (pin 12))
|
|
||||||
(node (ref JP13) (pin 2))
|
|
||||||
(node (ref U1) (pin 31)))
|
|
||||||
(net (code 11) (name XTAL2)
|
|
||||||
(node (ref U1) (pin 8))
|
|
||||||
(node (ref Y1) (pin 2))
|
|
||||||
(node (ref C3) (pin 1)))
|
|
||||||
(net (code 12) (name XTAL1)
|
|
||||||
(node (ref Y1) (pin 1))
|
|
||||||
(node (ref U1) (pin 7))
|
|
||||||
(node (ref C1) (pin 1)))
|
|
||||||
(net (code 13) (name SCK)
|
|
||||||
(node (ref J6) (pin 3))
|
|
||||||
(node (ref U1) (pin 17)))
|
|
||||||
(net (code 14) (name "Net-(U1-Pad12)")
|
|
||||||
(node (ref U1) (pin 12)))
|
|
||||||
(net (code 15) (name GND)
|
|
||||||
(node (ref D2) (pin 1))
|
|
||||||
(node (ref SW2) (pin 2))
|
|
||||||
(node (ref J7) (pin A1B12))
|
|
||||||
(node (ref U2) (pin 7))
|
|
||||||
(node (ref J2) (pin 3))
|
|
||||||
(node (ref J5) (pin 1))
|
|
||||||
(node (ref J3) (pin 1))
|
|
||||||
(node (ref U1) (pin 5))
|
|
||||||
(node (ref U1) (pin 21))
|
|
||||||
(node (ref J6) (pin 6))
|
|
||||||
(node (ref C1) (pin 2))
|
|
||||||
(node (ref R7) (pin 1))
|
|
||||||
(node (ref C3) (pin 2))
|
|
||||||
(node (ref C5) (pin 2))
|
|
||||||
(node (ref C6) (pin 1))
|
|
||||||
(node (ref J1) (pin 3))
|
|
||||||
(node (ref J8) (pin B1A12))
|
|
||||||
(node (ref J8) (pin S1))
|
|
||||||
(node (ref J8) (pin S2))
|
|
||||||
(node (ref J8) (pin S3))
|
|
||||||
(node (ref J8) (pin S4))
|
|
||||||
(node (ref C2) (pin 2))
|
|
||||||
(node (ref C4) (pin 2))
|
|
||||||
(node (ref U4) (pin 1))
|
|
||||||
(node (ref J7) (pin S4))
|
|
||||||
(node (ref J7) (pin S3))
|
|
||||||
(node (ref J7) (pin S1))
|
|
||||||
(node (ref J7) (pin B1A12))
|
|
||||||
(node (ref J7) (pin S2))
|
|
||||||
(node (ref R5) (pin 1))
|
|
||||||
(node (ref R8) (pin 1))
|
|
||||||
(node (ref D1) (pin 1))
|
|
||||||
(node (ref C9) (pin 2))
|
|
||||||
(node (ref U3) (pin 8))
|
|
||||||
(node (ref U3) (pin 7))
|
|
||||||
(node (ref J8) (pin A1B12))
|
|
||||||
(node (ref U2) (pin 8))
|
|
||||||
(node (ref J4) (pin 1))
|
|
||||||
(node (ref C7) (pin 2)))
|
|
||||||
(net (code 16) (name MUX1S2)
|
|
||||||
(node (ref U2) (pin 9))
|
|
||||||
(node (ref U1) (pin 2)))
|
|
||||||
(net (code 17) (name MUX1S0)
|
|
||||||
(node (ref U2) (pin 11))
|
|
||||||
(node (ref U1) (pin 32)))
|
|
||||||
(net (code 18) (name MUX1S1)
|
|
||||||
(node (ref U1) (pin 1))
|
|
||||||
(node (ref U2) (pin 10)))
|
|
||||||
(net (code 19) (name SIG2A)
|
|
||||||
(node (ref J2) (pin 1))
|
|
||||||
(node (ref U1) (pin 9)))
|
|
||||||
(net (code 20) (name SIG2B)
|
|
||||||
(node (ref U1) (pin 10))
|
|
||||||
(node (ref J2) (pin 2)))
|
|
||||||
(net (code 21) (name "Net-(U1-Pad22)")
|
|
||||||
(node (ref U1) (pin 22)))
|
|
||||||
(net (code 22) (name "Net-(U1-Pad25)")
|
|
||||||
(node (ref U1) (pin 25)))
|
|
||||||
(net (code 23) (name "Net-(U1-Pad26)")
|
|
||||||
(node (ref U1) (pin 26)))
|
|
||||||
(net (code 24) (name SIG1B)
|
|
||||||
(node (ref J1) (pin 2))
|
|
||||||
(node (ref U1) (pin 14)))
|
|
||||||
(net (code 25) (name SIG1A)
|
|
||||||
(node (ref J1) (pin 1))
|
|
||||||
(node (ref U1) (pin 13)))
|
|
||||||
(net (code 26) (name EXTRX)
|
|
||||||
(node (ref JP2) (pin 1))
|
|
||||||
(node (ref J4) (pin 3))
|
|
||||||
(node (ref U2) (pin 1))
|
|
||||||
(node (ref JP9) (pin 2))
|
|
||||||
(node (ref U3) (pin 2)))
|
|
||||||
(net (code 27) (name EXTTX)
|
|
||||||
(node (ref U3) (pin 12))
|
|
||||||
(node (ref J4) (pin 2))
|
|
||||||
(node (ref JP4) (pin 1))
|
|
||||||
(node (ref U2) (pin 13))
|
|
||||||
(node (ref JP7) (pin 2)))
|
|
||||||
(net (code 28) (name EXTRST)
|
|
||||||
(node (ref JP5) (pin 1))
|
|
||||||
(node (ref U2) (pin 3))
|
|
||||||
(node (ref J4) (pin 4))
|
|
||||||
(node (ref JP6) (pin 2)))
|
|
||||||
(net (code 29) (name "Net-(Q1-Pad1)")
|
|
||||||
(node (ref R3) (pin 1))
|
|
||||||
(node (ref Q1) (pin 1)))
|
|
||||||
(net (code 30) (name "Net-(Q1-Pad3)")
|
|
||||||
(node (ref SW1) (pin 1))
|
|
||||||
(node (ref R4) (pin 2))
|
|
||||||
(node (ref Q1) (pin 3)))
|
|
||||||
(net (code 31) (name "Net-(R7-Pad2)")
|
|
||||||
(node (ref R7) (pin 2))
|
|
||||||
(node (ref U2) (pin 6)))
|
|
||||||
(net (code 32) (name "Net-(U1-Pad24)")
|
|
||||||
(node (ref U1) (pin 24)))
|
|
||||||
(net (code 33) (name MUX2S1)
|
|
||||||
(node (ref U3) (pin 10))
|
|
||||||
(node (ref U1) (pin 6)))
|
|
||||||
(net (code 34) (name "Net-(J8-PadA4B9)")
|
|
||||||
(node (ref J8) (pin A4B9))
|
|
||||||
(node (ref R9) (pin 2)))
|
|
||||||
(net (code 35) (name "Net-(U3-Pad3)")
|
|
||||||
(node (ref U3) (pin 3)))
|
|
||||||
(net (code 36) (name "Net-(U3-Pad4)")
|
|
||||||
(node (ref U3) (pin 4)))
|
|
||||||
(net (code 37) (name "Net-(U3-Pad5)")
|
|
||||||
(node (ref U3) (pin 5)))
|
|
||||||
(net (code 38) (name MUX2S0)
|
|
||||||
(node (ref U3) (pin 11))
|
|
||||||
(node (ref U1) (pin 3)))
|
|
||||||
(net (code 39) (name MUX2S2)
|
|
||||||
(node (ref U1) (pin 19))
|
|
||||||
(node (ref U3) (pin 9)))
|
|
||||||
(net (code 40) (name "Net-(U3-Pad1)")
|
|
||||||
(node (ref U3) (pin 1)))
|
|
||||||
(net (code 41) (name "Net-(U3-Pad13)")
|
|
||||||
(node (ref U3) (pin 13)))
|
|
||||||
(net (code 42) (name "Net-(R5-Pad2)")
|
|
||||||
(node (ref SW1) (pin 2))
|
|
||||||
(node (ref R5) (pin 2)))
|
|
||||||
(net (code 43) (name "Net-(C8-Pad1)")
|
|
||||||
(node (ref C8) (pin 1))
|
|
||||||
(node (ref JP16) (pin 2))
|
|
||||||
(node (ref JP15) (pin 1)))
|
|
||||||
(net (code 44) (name MUXRX)
|
|
||||||
(node (ref U2) (pin 15))
|
|
||||||
(node (ref JP12) (pin 1)))
|
|
||||||
(net (code 45) (name MUXTX)
|
|
||||||
(node (ref JP14) (pin 1))
|
|
||||||
(node (ref U2) (pin 14)))
|
|
||||||
(net (code 46) (name "Net-(JP13-Pad1)")
|
|
||||||
(node (ref JP14) (pin 2))
|
|
||||||
(node (ref JP13) (pin 1))
|
|
||||||
(node (ref U4) (pin 3)))
|
|
||||||
(net (code 47) (name MUXRST)
|
|
||||||
(node (ref U2) (pin 4))
|
|
||||||
(node (ref JP16) (pin 1)))
|
|
||||||
(net (code 48) (name "Net-(R8-Pad2)")
|
|
||||||
(node (ref R8) (pin 2))
|
|
||||||
(node (ref U3) (pin 6)))
|
|
||||||
(net (code 49) (name LED)
|
|
||||||
(node (ref U1) (pin 11))
|
|
||||||
(node (ref R1) (pin 2)))
|
|
||||||
(net (code 50) (name "Net-(U4-Pad14)")
|
|
||||||
(node (ref U4) (pin 14)))
|
|
||||||
(net (code 51) (name "Net-(D1-Pad2)")
|
|
||||||
(node (ref D1) (pin 2))
|
|
||||||
(node (ref R1) (pin 1)))
|
|
||||||
(net (code 52) (name "Net-(J8-PadB8)")
|
|
||||||
(node (ref JP6) (pin 1))
|
|
||||||
(node (ref J8) (pin B8)))
|
|
||||||
(net (code 53) (name "Net-(J8-PadB5)")
|
|
||||||
(node (ref J8) (pin B5)))
|
|
||||||
(net (code 54) (name "Net-(D2-Pad2)")
|
|
||||||
(node (ref D2) (pin 2))
|
|
||||||
(node (ref R6) (pin 1)))
|
|
||||||
(net (code 55) (name "Net-(J8-PadB4A9)")
|
|
||||||
(node (ref R10) (pin 2))
|
|
||||||
(node (ref J8) (pin B4A9)))
|
|
||||||
(net (code 56) (name "Net-(J8-PadA7)")
|
|
||||||
(node (ref JP3) (pin 2))
|
|
||||||
(node (ref J8) (pin A7))
|
|
||||||
(node (ref JP4) (pin 2)))
|
|
||||||
(net (code 57) (name "Net-(J8-PadA5)")
|
|
||||||
(node (ref J8) (pin A5)))
|
|
||||||
(net (code 58) (name "Net-(J8-PadA6)")
|
|
||||||
(node (ref JP1) (pin 2))
|
|
||||||
(node (ref J8) (pin A6))
|
|
||||||
(node (ref JP2) (pin 2)))
|
|
||||||
(net (code 59) (name "Net-(J8-PadB6)")
|
|
||||||
(node (ref J8) (pin B6))
|
|
||||||
(node (ref JP9) (pin 1))
|
|
||||||
(node (ref JP10) (pin 2)))
|
|
||||||
(net (code 60) (name "Net-(J8-PadB7)")
|
|
||||||
(node (ref J8) (pin B7))
|
|
||||||
(node (ref JP7) (pin 1))
|
|
||||||
(node (ref JP8) (pin 2)))
|
|
||||||
(net (code 61) (name "Net-(J8-PadA8)")
|
|
||||||
(node (ref JP5) (pin 2))
|
|
||||||
(node (ref J8) (pin A8)))
|
|
||||||
(net (code 62) (name "Net-(U4-Pad15)")
|
|
||||||
(node (ref U4) (pin 15)))
|
|
||||||
(net (code 63) (name "Net-(U4-Pad12)")
|
|
||||||
(node (ref U4) (pin 12)))
|
|
||||||
(net (code 64) (name "Net-(C6-Pad2)")
|
|
||||||
(node (ref U4) (pin 4))
|
|
||||||
(node (ref C6) (pin 2)))
|
|
||||||
(net (code 65) (name "Net-(U4-Pad9)")
|
|
||||||
(node (ref U4) (pin 9)))
|
|
||||||
(net (code 66) (name "Net-(U4-Pad10)")
|
|
||||||
(node (ref U4) (pin 10)))
|
|
||||||
(net (code 67) (name "Net-(U4-Pad11)")
|
|
||||||
(node (ref U4) (pin 11)))
|
|
||||||
(net (code 68) (name "Net-(J7-PadB8)")
|
|
||||||
(node (ref J7) (pin B8)))
|
|
||||||
(net (code 69) (name "Net-(J7-PadB5)")
|
|
||||||
(node (ref J7) (pin B5)))
|
|
||||||
(net (code 70) (name "Net-(J7-PadA5)")
|
|
||||||
(node (ref J7) (pin A5)))
|
|
||||||
(net (code 71) (name "Net-(J7-PadA8)")
|
|
||||||
(node (ref J7) (pin A8)))
|
|
||||||
(net (code 72) (name "Net-(C8-Pad2)")
|
|
||||||
(node (ref U4) (pin 13))
|
|
||||||
(node (ref C8) (pin 2)))
|
|
||||||
(net (code 73) (name "Net-(JP11-Pad1)")
|
|
||||||
(node (ref JP12) (pin 2))
|
|
||||||
(node (ref JP11) (pin 1))
|
|
||||||
(node (ref U4) (pin 2)))
|
|
||||||
(net (code 74) (name D+)
|
|
||||||
(node (ref J7) (pin B6))
|
|
||||||
(node (ref J7) (pin A6))
|
|
||||||
(node (ref U4) (pin 5)))
|
|
||||||
(net (code 75) (name D-)
|
|
||||||
(node (ref U4) (pin 6))
|
|
||||||
(node (ref J7) (pin A7))
|
|
||||||
(node (ref J7) (pin B7)))
|
|
||||||
(net (code 76) (name "Net-(U4-Pad7)")
|
|
||||||
(node (ref U4) (pin 7)))
|
|
||||||
(net (code 77) (name "Net-(U4-Pad8)")
|
|
||||||
(node (ref U4) (pin 8)))))
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,77 +0,0 @@
|
||||||
{
|
|
||||||
"board": {
|
|
||||||
"active_layer": 36,
|
|
||||||
"active_layer_preset": "",
|
|
||||||
"auto_track_width": true,
|
|
||||||
"hidden_nets": [],
|
|
||||||
"high_contrast_mode": 0,
|
|
||||||
"net_color_mode": 1,
|
|
||||||
"opacity": {
|
|
||||||
"pads": 1.0,
|
|
||||||
"tracks": 1.0,
|
|
||||||
"vias": 1.0,
|
|
||||||
"zones": 0.6
|
|
||||||
},
|
|
||||||
"ratsnest_display_mode": 0,
|
|
||||||
"selection_filter": {
|
|
||||||
"dimensions": true,
|
|
||||||
"footprints": true,
|
|
||||||
"graphics": true,
|
|
||||||
"keepouts": true,
|
|
||||||
"lockedItems": true,
|
|
||||||
"otherItems": true,
|
|
||||||
"pads": true,
|
|
||||||
"text": true,
|
|
||||||
"tracks": true,
|
|
||||||
"vias": true,
|
|
||||||
"zones": true
|
|
||||||
},
|
|
||||||
"visible_items": [
|
|
||||||
0,
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
3,
|
|
||||||
4,
|
|
||||||
5,
|
|
||||||
6,
|
|
||||||
7,
|
|
||||||
8,
|
|
||||||
9,
|
|
||||||
10,
|
|
||||||
11,
|
|
||||||
12,
|
|
||||||
13,
|
|
||||||
14,
|
|
||||||
15,
|
|
||||||
16,
|
|
||||||
17,
|
|
||||||
18,
|
|
||||||
19,
|
|
||||||
20,
|
|
||||||
21,
|
|
||||||
22,
|
|
||||||
23,
|
|
||||||
24,
|
|
||||||
25,
|
|
||||||
26,
|
|
||||||
27,
|
|
||||||
28,
|
|
||||||
29,
|
|
||||||
30,
|
|
||||||
32,
|
|
||||||
33,
|
|
||||||
34,
|
|
||||||
35,
|
|
||||||
36
|
|
||||||
],
|
|
||||||
"visible_layers": "003ffff_80000001",
|
|
||||||
"zone_display_mode": 0
|
|
||||||
},
|
|
||||||
"meta": {
|
|
||||||
"filename": "Module.kicad_prl",
|
|
||||||
"version": 3
|
|
||||||
},
|
|
||||||
"project": {
|
|
||||||
"files": []
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,208 +0,0 @@
|
||||||
(export (version D)
|
|
||||||
(design
|
|
||||||
(source "C:\\Users\\Philipp\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Module\\Hardware\\Circuit\\Module.sch")
|
|
||||||
(date "20.08.2021 01:29:23")
|
|
||||||
(tool "Eeschema (5.1.10)-1")
|
|
||||||
(sheet (number 1) (name /) (tstamps /)
|
|
||||||
(title_block
|
|
||||||
(title "LED Module")
|
|
||||||
(company)
|
|
||||||
(rev v01)
|
|
||||||
(date 2021-08-19)
|
|
||||||
(source Module.sch)
|
|
||||||
(comment (number 1) (value ""))
|
|
||||||
(comment (number 2) (value ""))
|
|
||||||
(comment (number 3) (value ""))
|
|
||||||
(comment (number 4) (value "Author: GHOSCHT")))))
|
|
||||||
(components
|
|
||||||
(comp (ref J1)
|
|
||||||
(value Screw_Terminal_01x03)
|
|
||||||
(footprint CUI_TB006-508-03BE:CUI_TB006-508-03BE)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector) (part Screw_Terminal_01x03) (description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611C0292))
|
|
||||||
(comp (ref J2)
|
|
||||||
(value Screw_Terminal_01x04)
|
|
||||||
(footprint CUI_TB006-508-04BE:CUI_TB006-508-04BE)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector) (part Screw_Terminal_01x04) (description "Generic screw terminal, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611C148E))
|
|
||||||
(comp (ref Q1)
|
|
||||||
(value Q_NPN_BCE)
|
|
||||||
(footprint Package_TO_SOT_SMD:SOT-23_Handsoldering)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part Q_NPN_BCE) (description "NPN transistor, base/collector/emitter"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611C28DF))
|
|
||||||
(comp (ref Q2)
|
|
||||||
(value Q_NPN_BCE)
|
|
||||||
(footprint Package_TO_SOT_SMD:SOT-23_Handsoldering)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part Q_NPN_BCE) (description "NPN transistor, base/collector/emitter"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611C3B1E))
|
|
||||||
(comp (ref R1)
|
|
||||||
(value 470)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611DFF5B))
|
|
||||||
(comp (ref R2)
|
|
||||||
(value 470)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611E2082))
|
|
||||||
(comp (ref J3)
|
|
||||||
(value Screw_Terminal_01x02)
|
|
||||||
(footprint CUI_TB006-508-02BE:CUI_TB006-508-02BE)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Connector) (part Screw_Terminal_01x02) (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611DE627))
|
|
||||||
(comp (ref JP1)
|
|
||||||
(value Jumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611EF295))
|
|
||||||
(comp (ref JP2)
|
|
||||||
(value Jumper)
|
|
||||||
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611F131A))
|
|
||||||
(comp (ref R3)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611F381A))
|
|
||||||
(comp (ref R4)
|
|
||||||
(value 10k)
|
|
||||||
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
||||||
(datasheet ~)
|
|
||||||
(libsource (lib Device) (part R) (description Resistor))
|
|
||||||
(sheetpath (names /) (tstamps /))
|
|
||||||
(tstamp 611F53B7)))
|
|
||||||
(libparts
|
|
||||||
(libpart (lib Connector) (part Screw_Terminal_01x02)
|
|
||||||
(description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp TerminalBlock*:*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) Screw_Terminal_01x02))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name Pin_1) (type passive))
|
|
||||||
(pin (num 2) (name Pin_2) (type passive))))
|
|
||||||
(libpart (lib Connector) (part Screw_Terminal_01x03)
|
|
||||||
(description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp TerminalBlock*:*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) Screw_Terminal_01x03))
|
|
||||||
(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))))
|
|
||||||
(libpart (lib Connector) (part Screw_Terminal_01x04)
|
|
||||||
(description "Generic screw terminal, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp TerminalBlock*:*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) J)
|
|
||||||
(field (name Value) Screw_Terminal_01x04))
|
|
||||||
(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))))
|
|
||||||
(libpart (lib Device) (part Q_NPN_BCE)
|
|
||||||
(description "NPN transistor, base/collector/emitter")
|
|
||||||
(docs ~)
|
|
||||||
(fields
|
|
||||||
(field (name Reference) Q)
|
|
||||||
(field (name Value) Q_NPN_BCE))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name B) (type input))
|
|
||||||
(pin (num 2) (name C) (type passive))
|
|
||||||
(pin (num 3) (name E) (type passive))))
|
|
||||||
(libpart (lib Device) (part R)
|
|
||||||
(description Resistor)
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp R_*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) R)
|
|
||||||
(field (name Value) R))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name ~) (type passive))
|
|
||||||
(pin (num 2) (name ~) (type passive))))
|
|
||||||
(libpart (lib Jumper) (part SolderJumper_2_Open)
|
|
||||||
(description "Solder Jumper, 2-pole, open")
|
|
||||||
(docs ~)
|
|
||||||
(footprints
|
|
||||||
(fp SolderJumper*Open*))
|
|
||||||
(fields
|
|
||||||
(field (name Reference) JP)
|
|
||||||
(field (name Value) SolderJumper_2_Open))
|
|
||||||
(pins
|
|
||||||
(pin (num 1) (name A) (type passive))
|
|
||||||
(pin (num 2) (name B) (type passive)))))
|
|
||||||
(libraries
|
|
||||||
(library (logical Connector)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector.lib"))
|
|
||||||
(library (logical Device)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
|
|
||||||
(library (logical Jumper)
|
|
||||||
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Jumper.lib")))
|
|
||||||
(nets
|
|
||||||
(net (code 1) (name SIG1)
|
|
||||||
(node (ref R1) (pin 2))
|
|
||||||
(node (ref J1) (pin 1)))
|
|
||||||
(net (code 2) (name "Net-(JP1-Pad2)")
|
|
||||||
(node (ref R3) (pin 1))
|
|
||||||
(node (ref JP1) (pin 2)))
|
|
||||||
(net (code 3) (name LED2N)
|
|
||||||
(node (ref Q2) (pin 2))
|
|
||||||
(node (ref JP2) (pin 1))
|
|
||||||
(node (ref J2) (pin 4)))
|
|
||||||
(net (code 4) (name SIG2)
|
|
||||||
(node (ref R2) (pin 2))
|
|
||||||
(node (ref J1) (pin 2)))
|
|
||||||
(net (code 5) (name LED1N)
|
|
||||||
(node (ref JP1) (pin 1))
|
|
||||||
(node (ref Q1) (pin 2))
|
|
||||||
(node (ref J2) (pin 2)))
|
|
||||||
(net (code 6) (name GND)
|
|
||||||
(node (ref Q2) (pin 3))
|
|
||||||
(node (ref Q1) (pin 3))
|
|
||||||
(node (ref J1) (pin 3))
|
|
||||||
(node (ref J3) (pin 1))
|
|
||||||
(node (ref R3) (pin 2))
|
|
||||||
(node (ref R4) (pin 1)))
|
|
||||||
(net (code 7) (name "Net-(JP2-Pad2)")
|
|
||||||
(node (ref JP2) (pin 2))
|
|
||||||
(node (ref R4) (pin 2)))
|
|
||||||
(net (code 8) (name "Net-(Q2-Pad1)")
|
|
||||||
(node (ref Q2) (pin 1))
|
|
||||||
(node (ref R2) (pin 1)))
|
|
||||||
(net (code 9) (name "Net-(Q1-Pad1)")
|
|
||||||
(node (ref Q1) (pin 1))
|
|
||||||
(node (ref R1) (pin 1)))
|
|
||||||
(net (code 10) (name VCC)
|
|
||||||
(node (ref J3) (pin 2))
|
|
||||||
(node (ref J2) (pin 3))
|
|
||||||
(node (ref J2) (pin 1)))))
|
|
|
@ -20,19 +20,19 @@ Heliox consists of a combination of multiple modules that attacht to or fully re
|
||||||
|
|
||||||
## Modules
|
## Modules
|
||||||
|
|
||||||
### [Switching Module](/Devices/Module/Hardware)
|
### [Switching Module](/modules/switching-module/Hardware)
|
||||||
|
|
||||||
The switching module is the heart of this project. It sits right in the body of each lamp and contains the necessary transistors to control and even dim the light bulbs.
|
The switching module is the heart of this project. It sits right in the body of each lamp and contains the necessary transistors to control and even dim the light bulbs.
|
||||||
|
|
||||||
### [Controller](/Devices/Control)
|
### [Controller](/modules/control)
|
||||||
|
|
||||||
The controller is the centerpiece of communication. It sits between the switching module, console and dashboard. USB C ports allow for easy connection.
|
The controller is the centerpiece of communication. It sits between the switching module, console and dashboard. USB C ports allow for easy connection.
|
||||||
|
|
||||||
### [Console](/Devices/Console) (Optional)
|
### [Console](/modules/console) (Optional)
|
||||||
|
|
||||||
The console is a slim device with rotary encoders and a status led that connects to the control board via USB C.
|
The console is a slim device with rotary encoders and a status led that connects to the control board via USB C.
|
||||||
|
|
||||||
### [Dashboard](/Dashboard) (Optional)
|
### [Dashboard](/modules/dashboard) (Optional)
|
||||||
|
|
||||||
The dashboard is the software counterpart of the console which allows users to control the lights right from the PC.
|
The dashboard is the software counterpart of the console which allows users to control the lights right from the PC.
|
||||||
|
|
||||||
|
|
|
@ -1,39 +1,39 @@
|
||||||
|
|
||||||
This directory is intended for project header files.
|
This directory is intended for project header files.
|
||||||
|
|
||||||
A header file is a file containing C declarations and macro definitions
|
A header file is a file containing C declarations and macro definitions
|
||||||
to be shared between several project source files. You request the use of a
|
to be shared between several project source files. You request the use of a
|
||||||
header file in your project source file (C, C++, etc) located in `src` folder
|
header file in your project source file (C, C++, etc) located in `src` folder
|
||||||
by including it, with the C preprocessing directive `#include'.
|
by including it, with the C preprocessing directive `#include'.
|
||||||
|
|
||||||
```src/main.c
|
```src/main.c
|
||||||
|
|
||||||
#include "header.h"
|
#include "header.h"
|
||||||
|
|
||||||
int main (void)
|
int main (void)
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Including a header file produces the same results as copying the header file
|
Including a header file produces the same results as copying the header file
|
||||||
into each source file that needs it. Such copying would be time-consuming
|
into each source file that needs it. Such copying would be time-consuming
|
||||||
and error-prone. With a header file, the related declarations appear
|
and error-prone. With a header file, the related declarations appear
|
||||||
in only one place. If they need to be changed, they can be changed in one
|
in only one place. If they need to be changed, they can be changed in one
|
||||||
place, and programs that include the header file will automatically use the
|
place, and programs that include the header file will automatically use the
|
||||||
new version when next recompiled. The header file eliminates the labor of
|
new version when next recompiled. The header file eliminates the labor of
|
||||||
finding and changing all the copies as well as the risk that a failure to
|
finding and changing all the copies as well as the risk that a failure to
|
||||||
find one copy will result in inconsistencies within a program.
|
find one copy will result in inconsistencies within a program.
|
||||||
|
|
||||||
In C, the usual convention is to give header files names that end with `.h'.
|
In C, the usual convention is to give header files names that end with `.h'.
|
||||||
It is most portable to use only letters, digits, dashes, and underscores in
|
It is most portable to use only letters, digits, dashes, and underscores in
|
||||||
header file names, and at most one dot.
|
header file names, and at most one dot.
|
||||||
|
|
||||||
Read more about using header files in official GCC documentation:
|
Read more about using header files in official GCC documentation:
|
||||||
|
|
||||||
* Include Syntax
|
* Include Syntax
|
||||||
* Include Operation
|
* Include Operation
|
||||||
* Once-Only Headers
|
* Once-Only Headers
|
||||||
* Computed Includes
|
* Computed Includes
|
||||||
|
|
||||||
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html
|
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html
|
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
This directory is intended for PlatformIO Unit Testing and project tests.
|
This directory is intended for PlatformIO Unit Testing and project tests.
|
||||||
|
|
||||||
Unit Testing is a software testing method by which individual units of
|
Unit Testing is a software testing method by which individual units of
|
||||||
source code, sets of one or more MCU program modules together with associated
|
source code, sets of one or more MCU program modules together with associated
|
||||||
control data, usage procedures, and operating procedures, are tested to
|
control data, usage procedures, and operating procedures, are tested to
|
||||||
determine whether they are fit for use. Unit testing finds problems early
|
determine whether they are fit for use. Unit testing finds problems early
|
||||||
in the development cycle.
|
in the development cycle.
|
||||||
|
|
||||||
More information about PlatformIO Unit Testing:
|
More information about PlatformIO Unit Testing:
|
||||||
- https://docs.platformio.org/page/plus/unit-testing.html
|
- https://docs.platformio.org/page/plus/unit-testing.html
|
|
@ -1,22 +1,22 @@
|
||||||
(module AVR-ISP (layer F.Cu) (tedit 611E649A)
|
(module AVR-ISP (layer F.Cu) (tedit 611E649A)
|
||||||
(fp_text reference REF** (at 0 0) (layer F.SilkS)
|
(fp_text reference REF** (at 0 0) (layer F.SilkS)
|
||||||
(effects (font (size 0.787402 0.787402) (thickness 0.15)))
|
(effects (font (size 0.787402 0.787402) (thickness 0.15)))
|
||||||
)
|
)
|
||||||
(fp_text value AVR-ISP (at 0 0) (layer F.Fab)
|
(fp_text value AVR-ISP (at 0 0) (layer F.Fab)
|
||||||
(effects (font (size 0.787402 0.787402) (thickness 0.15)))
|
(effects (font (size 0.787402 0.787402) (thickness 0.15)))
|
||||||
)
|
)
|
||||||
(fp_line (start -3.81 -2.54) (end 3.81 -2.54) (layer F.SilkS) (width 0.127))
|
(fp_line (start -3.81 -2.54) (end 3.81 -2.54) (layer F.SilkS) (width 0.127))
|
||||||
(fp_line (start 3.81 -2.54) (end 3.81 2.54) (layer F.SilkS) (width 0.127))
|
(fp_line (start 3.81 -2.54) (end 3.81 2.54) (layer F.SilkS) (width 0.127))
|
||||||
(fp_line (start 3.81 2.54) (end -3.81 2.54) (layer F.SilkS) (width 0.127))
|
(fp_line (start 3.81 2.54) (end -3.81 2.54) (layer F.SilkS) (width 0.127))
|
||||||
(fp_line (start -3.81 2.54) (end -3.81 -2.54) (layer F.SilkS) (width 0.127))
|
(fp_line (start -3.81 2.54) (end -3.81 -2.54) (layer F.SilkS) (width 0.127))
|
||||||
(fp_circle (center -4.064 2.794) (end -3.964 2.794) (layer F.SilkS) (width 0.2))
|
(fp_circle (center -4.064 2.794) (end -3.964 2.794) (layer F.SilkS) (width 0.2))
|
||||||
(fp_text user ICSP (at 0 -3.302) (layer F.SilkS)
|
(fp_text user ICSP (at 0 -3.302) (layer F.SilkS)
|
||||||
(effects (font (size 1 1) (thickness 0.15)))
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
)
|
)
|
||||||
(pad 4 thru_hole circle (at 0 -1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
(pad 4 thru_hole circle (at 0 -1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad 3 thru_hole circle (at 0 1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
(pad 3 thru_hole circle (at 0 1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad 2 thru_hole circle (at -2.54 -1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
(pad 2 thru_hole circle (at -2.54 -1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad 1 thru_hole rect (at -2.54 1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
(pad 1 thru_hole rect (at -2.54 1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad 5 thru_hole circle (at 2.54 1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
(pad 5 thru_hole circle (at 2.54 1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad 6 thru_hole circle (at 2.54 -1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
(pad 6 thru_hole circle (at 2.54 -1.27) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
)
|
)
|
File diff suppressed because it is too large
Load diff
|
@ -1,41 +1,41 @@
|
||||||
(module Bourns-PEC11R-4220F-S0012-MFG (layer F.Cu) (tedit 611E52A7)
|
(module Bourns-PEC11R-4220F-S0012-MFG (layer F.Cu) (tedit 611E52A7)
|
||||||
(fp_text reference REF** (at -6.5 -8.65) (layer F.SilkS)
|
(fp_text reference REF** (at -6.5 -8.65) (layer F.SilkS)
|
||||||
(effects (font (size 1 1) (thickness 0.15)) (justify left))
|
(effects (font (size 1 1) (thickness 0.15)) (justify left))
|
||||||
)
|
)
|
||||||
(fp_text value Val** (at 0 0) (layer F.SilkS)
|
(fp_text value Val** (at 0 0) (layer F.SilkS)
|
||||||
(effects (font (size 1.27 1.27) (thickness 0.15)))
|
(effects (font (size 1.27 1.27) (thickness 0.15)))
|
||||||
)
|
)
|
||||||
(fp_line (start -6.5 6.95) (end -6.5 -6.95) (layer F.Fab) (width 0.15))
|
(fp_line (start -6.5 6.95) (end -6.5 -6.95) (layer F.Fab) (width 0.15))
|
||||||
(fp_line (start -6.5 -6.95) (end 6.5 -6.95) (layer F.Fab) (width 0.15))
|
(fp_line (start -6.5 -6.95) (end 6.5 -6.95) (layer F.Fab) (width 0.15))
|
||||||
(fp_line (start 6.5 -6.95) (end 6.5 6.95) (layer F.Fab) (width 0.15))
|
(fp_line (start 6.5 -6.95) (end 6.5 6.95) (layer F.Fab) (width 0.15))
|
||||||
(fp_line (start 6.5 6.95) (end -6.5 6.95) (layer F.Fab) (width 0.15))
|
(fp_line (start 6.5 6.95) (end -6.5 6.95) (layer F.Fab) (width 0.15))
|
||||||
(fp_line (start 6.925 -7.8) (end 6.925 -7.8) (layer F.CrtYd) (width 0.15))
|
(fp_line (start 6.925 -7.8) (end 6.925 -7.8) (layer F.CrtYd) (width 0.15))
|
||||||
(fp_line (start 6.925 -7.8) (end -6.925 -7.8) (layer F.CrtYd) (width 0.15))
|
(fp_line (start 6.925 -7.8) (end -6.925 -7.8) (layer F.CrtYd) (width 0.15))
|
||||||
(fp_line (start -6.925 -7.8) (end -6.925 8.3) (layer F.CrtYd) (width 0.15))
|
(fp_line (start -6.925 -7.8) (end -6.925 8.3) (layer F.CrtYd) (width 0.15))
|
||||||
(fp_line (start -6.925 8.3) (end 6.925 8.3) (layer F.CrtYd) (width 0.15))
|
(fp_line (start -6.925 8.3) (end 6.925 8.3) (layer F.CrtYd) (width 0.15))
|
||||||
(fp_line (start 6.925 8.3) (end 6.925 -7.8) (layer F.CrtYd) (width 0.15))
|
(fp_line (start 6.925 8.3) (end 6.925 -7.8) (layer F.CrtYd) (width 0.15))
|
||||||
(fp_line (start -6.5 -6.95) (end -3.65 -6.95) (layer F.SilkS) (width 0.15))
|
(fp_line (start -6.5 -6.95) (end -3.65 -6.95) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start -1.35 -6.95) (end 1.35 -6.95) (layer F.SilkS) (width 0.15))
|
(fp_line (start -1.35 -6.95) (end 1.35 -6.95) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start 3.65 -6.95) (end 6.5 -6.95) (layer F.SilkS) (width 0.15))
|
(fp_line (start 3.65 -6.95) (end 6.5 -6.95) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start 6.5 6.95) (end 6.5 2.875) (layer F.SilkS) (width 0.15))
|
(fp_line (start 6.5 6.95) (end 6.5 2.875) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start 6.5 -2.875) (end 6.5 -6.95) (layer F.SilkS) (width 0.15))
|
(fp_line (start 6.5 -2.875) (end 6.5 -6.95) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start -6.5 6.95) (end -3.65 6.95) (layer F.SilkS) (width 0.15))
|
(fp_line (start -6.5 6.95) (end -3.65 6.95) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start -1.35 6.95) (end -1.15 6.95) (layer F.SilkS) (width 0.15))
|
(fp_line (start -1.35 6.95) (end -1.15 6.95) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start 1.15 6.95) (end 1.35 6.95) (layer F.SilkS) (width 0.15))
|
(fp_line (start 1.15 6.95) (end 1.35 6.95) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start 3.65 6.95) (end 6.5 6.95) (layer F.SilkS) (width 0.15))
|
(fp_line (start 3.65 6.95) (end 6.5 6.95) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start -6.5 6.95) (end -6.5 2.875) (layer F.SilkS) (width 0.15))
|
(fp_line (start -6.5 6.95) (end -6.5 2.875) (layer F.SilkS) (width 0.15))
|
||||||
(fp_line (start -6.5 -2.875) (end -6.5 -6.95) (layer F.SilkS) (width 0.15))
|
(fp_line (start -6.5 -2.875) (end -6.5 -6.95) (layer F.SilkS) (width 0.15))
|
||||||
(fp_circle (center -2.5 -8.325) (end -2.375 -8.325) (layer F.SilkS) (width 0.25))
|
(fp_circle (center -2.5 -8.325) (end -2.375 -8.325) (layer F.SilkS) (width 0.25))
|
||||||
(pad S1 thru_hole rect (at -2.5 -7) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
(pad S1 thru_hole rect (at -2.5 -7) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad S2 thru_hole circle (at 2.5 -7) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
(pad S2 thru_hole circle (at 2.5 -7) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad A thru_hole circle (at -2.5 7.5) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
(pad A thru_hole circle (at -2.5 7.5) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad C thru_hole circle (at 0 7.5) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
(pad C thru_hole circle (at 0 7.5) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad B thru_hole circle (at 2.5 7.5) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
(pad B thru_hole circle (at 2.5 7.5) (size 1.55 1.55) (drill 1) (layers *.Cu *.Mask))
|
||||||
(pad 3 thru_hole roundrect (at -5.6 0) (size 2.4 5) (drill oval 1.5 2.8) (layers *.Cu *.Mask) (roundrect_rratio 0.5))
|
(pad 3 thru_hole roundrect (at -5.6 0) (size 2.4 5) (drill oval 1.5 2.8) (layers *.Cu *.Mask) (roundrect_rratio 0.5))
|
||||||
(pad 4 thru_hole roundrect (at 5.6 0) (size 2.4 5) (drill oval 1.5 2.8) (layers *.Cu *.Mask) (roundrect_rratio 0.5))
|
(pad 4 thru_hole roundrect (at 5.6 0) (size 2.4 5) (drill oval 1.5 2.8) (layers *.Cu *.Mask) (roundrect_rratio 0.5))
|
||||||
(model eec.models/Bourns_-_PEC11R-4220F-S0012.step
|
(model eec.models/Bourns_-_PEC11R-4220F-S0012.step
|
||||||
(at (xyz 0 0 0))
|
(at (xyz 0 0 0))
|
||||||
(scale (xyz 1 1 1))
|
(scale (xyz 1 1 1))
|
||||||
(rotate (xyz 0 0 0))
|
(rotate (xyz 0 0 0))
|
||||||
)
|
)
|
||||||
)
|
)
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,31 +1,31 @@
|
||||||
(module "SKRKAEE020" (layer F.Cu)
|
(module "SKRKAEE020" (layer F.Cu)
|
||||||
(descr "SKRKAEE020")
|
(descr "SKRKAEE020")
|
||||||
(tags "Switch")
|
(tags "Switch")
|
||||||
(attr smd)
|
(attr smd)
|
||||||
(fp_text reference S** (at 0.000 -0) (layer F.SilkS)
|
(fp_text reference S** (at 0.000 -0) (layer F.SilkS)
|
||||||
(effects (font (size 1.27 1.27) (thickness 0.254)))
|
(effects (font (size 1.27 1.27) (thickness 0.254)))
|
||||||
)
|
)
|
||||||
(fp_text user %R (at 0.000 -0) (layer F.Fab)
|
(fp_text user %R (at 0.000 -0) (layer F.Fab)
|
||||||
(effects (font (size 1.27 1.27) (thickness 0.254)))
|
(effects (font (size 1.27 1.27) (thickness 0.254)))
|
||||||
)
|
)
|
||||||
(fp_text value "SKRKAEE020" (at 0.000 -0) (layer F.SilkS) hide
|
(fp_text value "SKRKAEE020" (at 0.000 -0) (layer F.SilkS) hide
|
||||||
(effects (font (size 1.27 1.27) (thickness 0.254)))
|
(effects (font (size 1.27 1.27) (thickness 0.254)))
|
||||||
)
|
)
|
||||||
(fp_line (start -1.95 -1.45) (end 1.95 -1.45) (layer F.Fab) (width 0.2))
|
(fp_line (start -1.95 -1.45) (end 1.95 -1.45) (layer F.Fab) (width 0.2))
|
||||||
(fp_line (start 1.95 -1.45) (end 1.95 1.45) (layer F.Fab) (width 0.2))
|
(fp_line (start 1.95 -1.45) (end 1.95 1.45) (layer F.Fab) (width 0.2))
|
||||||
(fp_line (start 1.95 1.45) (end -1.95 1.45) (layer F.Fab) (width 0.2))
|
(fp_line (start 1.95 1.45) (end -1.95 1.45) (layer F.Fab) (width 0.2))
|
||||||
(fp_line (start -1.95 1.45) (end -1.95 -1.45) (layer F.Fab) (width 0.2))
|
(fp_line (start -1.95 1.45) (end -1.95 -1.45) (layer F.Fab) (width 0.2))
|
||||||
(fp_line (start -3.5 -2.45) (end 3.5 -2.45) (layer F.CrtYd) (width 0.1))
|
(fp_line (start -3.5 -2.45) (end 3.5 -2.45) (layer F.CrtYd) (width 0.1))
|
||||||
(fp_line (start 3.5 -2.45) (end 3.5 2.45) (layer F.CrtYd) (width 0.1))
|
(fp_line (start 3.5 -2.45) (end 3.5 2.45) (layer F.CrtYd) (width 0.1))
|
||||||
(fp_line (start 3.5 2.45) (end -3.5 2.45) (layer F.CrtYd) (width 0.1))
|
(fp_line (start 3.5 2.45) (end -3.5 2.45) (layer F.CrtYd) (width 0.1))
|
||||||
(fp_line (start -3.5 2.45) (end -3.5 -2.45) (layer F.CrtYd) (width 0.1))
|
(fp_line (start -3.5 2.45) (end -3.5 -2.45) (layer F.CrtYd) (width 0.1))
|
||||||
(fp_line (start -1.95 1.45) (end 1.95 1.45) (layer F.SilkS) (width 0.1))
|
(fp_line (start -1.95 1.45) (end 1.95 1.45) (layer F.SilkS) (width 0.1))
|
||||||
(fp_line (start -1.95 -1.45) (end 1.95 -1.45) (layer F.SilkS) (width 0.1))
|
(fp_line (start -1.95 -1.45) (end 1.95 -1.45) (layer F.SilkS) (width 0.1))
|
||||||
(pad 1 smd rect (at -2.100 -0 0) (size 0.800 2.000) (layers F.Cu F.Paste F.Mask))
|
(pad 1 smd rect (at -2.100 -0 0) (size 0.800 2.000) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad 2 smd rect (at 2.100 -0 0) (size 0.800 2.000) (layers F.Cu F.Paste F.Mask))
|
(pad 2 smd rect (at 2.100 -0 0) (size 0.800 2.000) (layers F.Cu F.Paste F.Mask))
|
||||||
(model SKRKAEE020.stp
|
(model SKRKAEE020.stp
|
||||||
(at (xyz 0 0 0.029527559055118))
|
(at (xyz 0 0 0.029527559055118))
|
||||||
(scale (xyz 1 1 1))
|
(scale (xyz 1 1 1))
|
||||||
(rotate (xyz -90 0 0))
|
(rotate (xyz -90 0 0))
|
||||||
)
|
)
|
||||||
)
|
)
|
|
@ -1,3 +1,3 @@
|
||||||
EESchema-DOCLIB Version 2.0
|
EESchema-DOCLIB Version 2.0
|
||||||
#
|
#
|
||||||
#End Doc Library
|
#End Doc Library
|
|
@ -1,36 +1,36 @@
|
||||||
EESchema-LIBRARY Version 2.4
|
EESchema-LIBRARY Version 2.4
|
||||||
#encoding utf-8
|
#encoding utf-8
|
||||||
#
|
#
|
||||||
# TYPE-C-31-M-12
|
# TYPE-C-31-M-12
|
||||||
#
|
#
|
||||||
DEF TYPE-C-31-M-12 J 0 40 Y Y 1 L N
|
DEF TYPE-C-31-M-12 J 0 40 Y Y 1 L N
|
||||||
F0 "J" -50 600 50 H V L BNN
|
F0 "J" -50 600 50 H V L BNN
|
||||||
F1 "TYPE-C-31-M-12" -400 520 50 H V L BNN
|
F1 "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
|
F2 "HRO_TYPE-C-31-M-12" 0 0 50 H I L BNN
|
||||||
F3 "" 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"
|
F4 "3.31mm" 0 0 50 H I L BNN "MAXIMUM_PACKAGE_HEIGHT"
|
||||||
F5 "Manufacturer Recommendations" 0 0 50 H I L BNN "STANDARD"
|
F5 "Manufacturer Recommendations" 0 0 50 H I L BNN "STANDARD"
|
||||||
F6 "A" 0 0 50 H I L BNN "PARTREV"
|
F6 "A" 0 0 50 H I L BNN "PARTREV"
|
||||||
F7 "HRO Electronics" 0 0 50 H I L BNN "MANUFACTURER"
|
F7 "HRO Electronics" 0 0 50 H I L BNN "MANUFACTURER"
|
||||||
DRAW
|
DRAW
|
||||||
S -500 -500 500 500 0 0 10 f
|
S -500 -500 500 500 0 0 10 f
|
||||||
X GND A1B12 -700 -400 200 R 40 40 0 0 W
|
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 VBUS A4B9 -700 400 200 R 40 40 0 0 W
|
||||||
X CC1 A5 -700 200 200 R 40 40 0 0 B
|
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 DP1 A6 -700 100 200 R 40 40 0 0 B
|
||||||
X DN1 A7 -700 0 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 SBU1 A8 -700 -100 200 R 40 40 0 0 B
|
||||||
X GND B1A12 700 -400 200 L 40 40 0 0 W
|
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 VBUS B4A9 700 400 200 L 40 40 0 0 W
|
||||||
X CC2 B5 700 -100 200 L 40 40 0 0 B
|
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 DP2 B6 700 0 200 L 40 40 0 0 B
|
||||||
X DN2 B7 700 100 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 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 S1 -250 -700 200 U 40 40 0 0 P
|
||||||
X SHIELD S2 -100 -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 S3 100 -700 200 U 40 40 0 0 P
|
||||||
X SHIELD S4 250 -700 200 U 40 40 0 0 P
|
X SHIELD S4 250 -700 200 U 40 40 0 0 P
|
||||||
ENDDRAW
|
ENDDRAW
|
||||||
ENDDEF
|
ENDDEF
|
||||||
#
|
#
|
||||||
#End Library
|
#End Library
|
File diff suppressed because it is too large
Load diff
|
@ -1,38 +1,38 @@
|
||||||
(module XKB_U254-051T-4BH83-F1S (layer F.Cu) (tedit 611255A8)
|
(module XKB_U254-051T-4BH83-F1S (layer F.Cu) (tedit 611255A8)
|
||||||
(fp_text reference REF** (at -0.825 -6.385) (layer F.SilkS)
|
(fp_text reference REF** (at -0.825 -6.385) (layer F.SilkS)
|
||||||
(effects (font (size 1 1) (thickness 0.15)))
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
)
|
)
|
||||||
(fp_text value XKB_U254-051T-4BH83-F1S (at 10.605 -4.885) (layer F.Fab)
|
(fp_text value XKB_U254-051T-4BH83-F1S (at 10.605 -4.885) (layer F.Fab)
|
||||||
(effects (font (size 1 1) (thickness 0.15)))
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
)
|
)
|
||||||
(fp_circle (center -1.3 -3.95) (end -1.2 -3.95) (layer F.SilkS) (width 0.2))
|
(fp_circle (center -1.3 -3.95) (end -1.2 -3.95) (layer F.SilkS) (width 0.2))
|
||||||
(fp_line (start -4.9 1.45) (end 6.2 1.45) (layer F.Fab) (width 0.127))
|
(fp_line (start -4.9 1.45) (end 6.2 1.45) (layer F.Fab) (width 0.127))
|
||||||
(fp_line (start -3.9 1.45) (end 3.9 1.45) (layer F.SilkS) (width 0.127))
|
(fp_line (start -3.9 1.45) (end 3.9 1.45) (layer F.SilkS) (width 0.127))
|
||||||
(fp_line (start 3.98 -1.35) (end 3.98 1.45) (layer F.SilkS) (width 0.127))
|
(fp_line (start 3.98 -1.35) (end 3.98 1.45) (layer F.SilkS) (width 0.127))
|
||||||
(fp_line (start -3.98 -1.35) (end -3.98 1.45) (layer F.SilkS) (width 0.127))
|
(fp_line (start -3.98 -1.35) (end -3.98 1.45) (layer F.SilkS) (width 0.127))
|
||||||
(fp_line (start -4.4 2.4) (end -4.4 -3.6) (layer F.CrtYd) (width 0.05))
|
(fp_line (start -4.4 2.4) (end -4.4 -3.6) (layer F.CrtYd) (width 0.05))
|
||||||
(fp_line (start 4.4 2.4) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05))
|
(fp_line (start 4.4 2.4) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05))
|
||||||
(fp_line (start -4.4 2.4) (end 4.4 2.4) (layer F.CrtYd) (width 0.05))
|
(fp_line (start -4.4 2.4) (end 4.4 2.4) (layer F.CrtYd) (width 0.05))
|
||||||
(fp_line (start -4.4 -3.6) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05))
|
(fp_line (start -4.4 -3.6) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05))
|
||||||
(fp_line (start -3.98 2.15) (end -3.98 -2.85) (layer F.Fab) (width 0.127))
|
(fp_line (start -3.98 2.15) (end -3.98 -2.85) (layer F.Fab) (width 0.127))
|
||||||
(fp_line (start -3.98 2.15) (end 3.98 2.15) (layer F.Fab) (width 0.127))
|
(fp_line (start -3.98 2.15) (end 3.98 2.15) (layer F.Fab) (width 0.127))
|
||||||
(fp_line (start 3.98 2.15) (end 3.98 -2.85) (layer F.Fab) (width 0.127))
|
(fp_line (start 3.98 2.15) (end 3.98 -2.85) (layer F.Fab) (width 0.127))
|
||||||
(fp_line (start -3.98 -2.85) (end 3.98 -2.85) (layer F.Fab) (width 0.127))
|
(fp_line (start -3.98 -2.85) (end 3.98 -2.85) (layer F.Fab) (width 0.127))
|
||||||
(fp_circle (center -1.3 -3.95) (end -1.2 -3.95) (layer F.Fab) (width 0.2))
|
(fp_circle (center -1.3 -3.95) (end -1.2 -3.95) (layer F.Fab) (width 0.2))
|
||||||
(fp_text user PCB-EDGE (at 4.6 1.35) (layer F.Fab)
|
(fp_text user PCB-EDGE (at 4.6 1.35) (layer F.Fab)
|
||||||
(effects (font (size 0.590551 0.590551) (thickness 0.15)))
|
(effects (font (size 0.590551 0.590551) (thickness 0.15)))
|
||||||
)
|
)
|
||||||
(pad 1 smd rect (at -1.3 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
(pad 1 smd rect (at -1.3 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad 2 smd rect (at -0.65 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
(pad 2 smd rect (at -0.65 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad 3 smd rect (at 0 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
(pad 3 smd rect (at 0 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad 4 smd rect (at 0.65 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
(pad 4 smd rect (at 0.65 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad 5 smd rect (at 1.3 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
(pad 5 smd rect (at 1.3 -2.675) (size 0.4 1.35) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad S3 smd rect (at -1.2 0) (size 1.9 1.9) (layers F.Cu F.Paste F.Mask))
|
(pad S3 smd rect (at -1.2 0) (size 1.9 1.9) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad S4 smd rect (at 1.2 0) (size 1.9 1.9) (layers F.Cu F.Paste F.Mask))
|
(pad S4 smd rect (at 1.2 0) (size 1.9 1.9) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad S1 smd rect (at -3.1 -2.55) (size 2.1 1.6) (layers F.Cu F.Paste F.Mask))
|
(pad S1 smd rect (at -3.1 -2.55) (size 2.1 1.6) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad S2 smd rect (at 3.1 -2.55) (size 2.1 1.6) (layers F.Cu F.Paste F.Mask))
|
(pad S2 smd rect (at 3.1 -2.55) (size 2.1 1.6) (layers F.Cu F.Paste F.Mask))
|
||||||
(pad 5 thru_hole oval (at -2.825 0) (size 0.85 1.7) (drill oval 0.5 1.2) (layers *.Cu *.Mask))
|
(pad 5 thru_hole oval (at -2.825 0) (size 0.85 1.7) (drill oval 0.5 1.2) (layers *.Cu *.Mask))
|
||||||
(pad 6 thru_hole oval (at 2.825 0) (size 0.85 1.7) (drill oval 0.5 1.2) (layers *.Cu *.Mask))
|
(pad 6 thru_hole oval (at 2.825 0) (size 0.85 1.7) (drill oval 0.5 1.2) (layers *.Cu *.Mask))
|
||||||
(pad None np_thru_hole circle (at -2 -2.35) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
|
(pad None np_thru_hole circle (at -2 -2.35) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
|
||||||
(pad None np_thru_hole circle (at 2 -2.35) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
|
(pad None np_thru_hole circle (at 2 -2.35) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
|
||||||
)
|
)
|
|
@ -1,39 +1,39 @@
|
||||||
|
|
||||||
This directory is intended for project header files.
|
This directory is intended for project header files.
|
||||||
|
|
||||||
A header file is a file containing C declarations and macro definitions
|
A header file is a file containing C declarations and macro definitions
|
||||||
to be shared between several project source files. You request the use of a
|
to be shared between several project source files. You request the use of a
|
||||||
header file in your project source file (C, C++, etc) located in `src` folder
|
header file in your project source file (C, C++, etc) located in `src` folder
|
||||||
by including it, with the C preprocessing directive `#include'.
|
by including it, with the C preprocessing directive `#include'.
|
||||||
|
|
||||||
```src/main.c
|
```src/main.c
|
||||||
|
|
||||||
#include "header.h"
|
#include "header.h"
|
||||||
|
|
||||||
int main (void)
|
int main (void)
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Including a header file produces the same results as copying the header file
|
Including a header file produces the same results as copying the header file
|
||||||
into each source file that needs it. Such copying would be time-consuming
|
into each source file that needs it. Such copying would be time-consuming
|
||||||
and error-prone. With a header file, the related declarations appear
|
and error-prone. With a header file, the related declarations appear
|
||||||
in only one place. If they need to be changed, they can be changed in one
|
in only one place. If they need to be changed, they can be changed in one
|
||||||
place, and programs that include the header file will automatically use the
|
place, and programs that include the header file will automatically use the
|
||||||
new version when next recompiled. The header file eliminates the labor of
|
new version when next recompiled. The header file eliminates the labor of
|
||||||
finding and changing all the copies as well as the risk that a failure to
|
finding and changing all the copies as well as the risk that a failure to
|
||||||
find one copy will result in inconsistencies within a program.
|
find one copy will result in inconsistencies within a program.
|
||||||
|
|
||||||
In C, the usual convention is to give header files names that end with `.h'.
|
In C, the usual convention is to give header files names that end with `.h'.
|
||||||
It is most portable to use only letters, digits, dashes, and underscores in
|
It is most portable to use only letters, digits, dashes, and underscores in
|
||||||
header file names, and at most one dot.
|
header file names, and at most one dot.
|
||||||
|
|
||||||
Read more about using header files in official GCC documentation:
|
Read more about using header files in official GCC documentation:
|
||||||
|
|
||||||
* Include Syntax
|
* Include Syntax
|
||||||
* Include Operation
|
* Include Operation
|
||||||
* Once-Only Headers
|
* Once-Only Headers
|
||||||
* Computed Includes
|
* Computed Includes
|
||||||
|
|
||||||
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html
|
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html
|
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
This directory is intended for PlatformIO Unit Testing and project tests.
|
This directory is intended for PlatformIO Unit Testing and project tests.
|
||||||
|
|
||||||
Unit Testing is a software testing method by which individual units of
|
Unit Testing is a software testing method by which individual units of
|
||||||
source code, sets of one or more MCU program modules together with associated
|
source code, sets of one or more MCU program modules together with associated
|
||||||
control data, usage procedures, and operating procedures, are tested to
|
control data, usage procedures, and operating procedures, are tested to
|
||||||
determine whether they are fit for use. Unit testing finds problems early
|
determine whether they are fit for use. Unit testing finds problems early
|
||||||
in the development cycle.
|
in the development cycle.
|
||||||
|
|
||||||
More information about PlatformIO Unit Testing:
|
More information about PlatformIO Unit Testing:
|
||||||
- https://docs.platformio.org/page/plus/unit-testing.html
|
- https://docs.platformio.org/page/plus/unit-testing.html
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue