# [2-layer] JLCPCB Constraints
## Description
Use this template if you're planning to get your 1 to 2-layer board manufactured in JLCPCB. It has the via min/max and trace width constraints already baked as global rules. #project-template #template #manufacturer-design-rules
## Project Details
- **Owner:** sebastianoh
- **Created:** 4/1/2025
- **Last Updated:** 4/1/2025
- **Visibility:** Public
## Key Components
### D1 — [1N4148-1](https://www.flux.ai/gaby27/1n4148-1~89.md)
- Manufacturer Name: Microchip
- License: https://creativecommons.org/licenses/by/4.0/
- Part Type: Diode
- Datasheet URL: https://www.mouser.com/datasheet/2/308/1N914_D-1801484.pdf
- Quantity: 24
- Function: Ghosting prevention in key matrix
- Manufacturer Part Number: 1N4148-1
**Pins:**
- A [pin 2]
- K [pin 1]
### J1 — [USB-C 2.0 Receptacle](https://www.flux.ai/corynrobinson/usb-c-20-receptacle~cf.md)
- Manufacturer Name: GTC
- Part Type: USB C
- Manufacturer Part Number: USB4105-GF-A
- Datasheet URL: https://gct.co/files/drawings/usb4105.pdf
- Purchase Url: https://www.digikey.com/en/products/detail/gct/USB4105-GF-A/11198441
- Function: USB D+ and D– interface to ATmega32U4
**Pins:**
- CC1 [pin 6]
- CC2 [pin 12]
- D- [pin 7]
- D- [pin 9]
- D+ [pin 8]
- D+ [pin 10]
- GND [pin 15]
- GND [pin 1]
- GND [pin 16]
- GND [pin 2]
- SBU1 [pin 11]
- SBU2 [pin 5]
- VBUS [pin 3]
- VBUS [pin 14]
- VBUS [pin 13]
- VBUS [pin 4]
### SW1 — [Cherry MX Orange MX2A-LC3W](https://www.flux.ai/vasy_skral/cherry-mx-orange-mx2a-lc3w~c9.md)
- Arrangement: 4 rows x 6 columns
- Part Type: Switch
- Manufacturer Name: Cherry Americas LLC
- Quantity: 24
- Datasheet URL: https://drive.google.com/file/d/1uagNdBKprnwU-krNzypMUNpVQe_gN72c/view
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: MX2A-LC3W
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### U1 — [ATMEGA32U4-AU](https://www.flux.ai/vasy_skral/atmega32u4-au~12w.md)
- Symbol Style: Parametric
- Manufacturer Name: Microchip
- Part Type: Microcontroller
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Summary.pdf
- Manufacturer Part Number: ATMEGA32U4-AU
**Pins:**
- ~HWB~/PE2 [pin 33]
- ~RESET [pin 13]
- AREF [pin 42]
- AVCC [pin 24]
- AVCC [pin 44]
- D- [pin 3]
- D+ [pin 4]
- GND [pin 43]
- GND [pin 23]
- GND [pin 15]
- GND [pin 35]
- PB0 [pin 8]
- PB1 [pin 9]
- PB2 [pin 10]
- PB3 [pin 11]
- PB4 [pin 28]
- PB5 [pin 29]
- PB6 [pin 30]
- PB7 [pin 12]
- PC6 [pin 31]
- PC7 [pin 32]
- PD0 [pin 18]
- PD1 [pin 19]
- PD2 [pin 20]
- PD3 [pin 21]
- PD4 [pin 25]
- PD5 [pin 22]
- PD6 [pin 26]
- PD7 [pin 27]
- PE6 [pin 1]
- PF0 [pin 41]
- PF1 [pin 40]
- PF4 [pin 39]
- PF5 [pin 38]
- PF6 [pin 37]
- PF7 [pin 36]
- UCAP [pin 6]
- UGND [pin 5]
- UVCC [pin 2]
- VBUS [pin 7]
- VCC [pin 14]
- VCC [pin 34]
- XTAL1 [pin 17]
- XTAL2 [pin 16]
### X1 — [XSHEELNANF-16MHZ](https://www.flux.ai/lcsc/xsheelnanf-16mhz~fkfw.md)
- Manufacturer Part Number: XSHEELNANF-16MHZ
- Product Info Url: https://lcsc.com/product-detail/Others_TAITIEN-Elec-SMD-5032-2P_C242221.html
- LCSC Part Number: C242221
- Package or Case Code: OSC-SMD_2P-L5.0-W3.2
- Part Type: Crystals
- Manufacturer Name: TAITIEN(泰艺电子)
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/1811052123_TAITIEN-Elec-XSHEELNANF-16MHZ_C242221.pdf
- JLCPCB Part Class: Extended Part
- Frequency: 16MHz
**Pins:**
- OSC1 [pin 1]
- OSC2 [pin 2]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/sebastianoh/2-layer-jlcpcb-constraints~qg](https://www.flux.ai/sebastianoh/2-layer-jlcpcb-constraints~qg).*
---
*Generated from [https://www.flux.ai/sebastianoh/2-layer-jlcpcb-constraints~qg](https://www.flux.ai/sebastianoh/2-layer-jlcpcb-constraints~qg)*