Three sheets, simplified symbols, with the parts of each sheet; the same Sheet 1, 2, 3 as on the BOM and Wiring pages. Draw the real schematic in EasyEDA.
Jump to: U1 ATmega8A pin guide · U4 / U5 level-shifter pins · J1 USB-C pins
Nets leaving this page: +5V, +3V3, VTGT, GND, USB_DP, USB_DN.
Zener orientation: the bar (cathode) on the data line. The USB-C shell must go to GND.
| Ref | Qty | Function | Part | LCSC |
|---|---|---|---|---|
| J1 | 1 | USB-C 16-pin receptacle (USB 2.0) | TYPE-C-31-M-12 | C165948 |
| R1, R2 | 2 | 5.1 k 1206 | 1206W4F5101T5E | C26033 |
| U2 | 1 | USBLC6-2SC6 ESD on D+ / D- | USBLC6-2SC6 | C7519 |
| F1 | 1 | PTC 500 mA 1206, VBUS to +5V | 1206L050YR | C163512 |
| C2 | 1 | 100 nF 1206 on VBUS | CL31B104KBCNNNC | C24497 |
| R3, R4 | 2 | 68 R 1206 | 1206W4F680JT5E | C17976 |
| D1, D2 | 2 | 3.6 V zener | BZT52C3V6-TP | C725453 |
| R5 | 1 | 2.2 k 1206, D- pull-up (low speed) | 1206W4F2201T5E | C17948 |
| C1, C8, C9 | 3 | 10 uF 1206 | CL31A106KAHNNNE | C9807 |
| U3 | 1 | AP2112K-3.3 LDO, SOT-25 | AP2112K-3.3TRG1 | C51118 |
| JP1 | 1 | 1x3 header: target supply 5 V (1-2) / 3.3 V (2-3) / off | PZ254V-11-03P | C492402 |
| F2 | 1 | PTC 200 mA 1206, target supply limit | 1206L020YR | C207035 |
| LED3 | 1 | Yellow LED: powering the target | XL-1608UYC-04 | C965803 |
| R9 | 1 | 1 k 1206, LED3 series | 1206W4F1001T5E | C4410 |
Every _M net here appears again on sheet 3 (U4 / U5). BUSY_N is used three times: PC1, LED1 cathode, U4 OE# (+ R10).
Pin numbers are TQFP-32 numbers, not the DIP-28 numbers of the old v4 / v5 boards.
| Ref | Qty | Function | Part | LCSC |
|---|---|---|---|---|
| U1 | 1 | ATmega8A-AU, TQFP-32 | ATMEGA8A-AU | C16190 |
| Y1 | 1 | 12 MHz crystal 3225 | X322512MSB4SI | C9002 |
| C3, C4 | 2 | 22 pF 0805 | CL21C220JBANNNC | C1804 |
| C5, C6, C7 | 3 | 100 nF 1206 | CL31B104KBCNNNC | C24497 |
| R6 | 1 | 10 k 1206, RESET pull-up | 1206W4F1002T5E | C17902 |
| LED1 | 1 | Red LED: programming (PC1 low) | XL-1608SURC-04 | C965798 |
| R7, R8 | 2 | 1 k 1206 | 1206W4F1001T5E | C4410 |
| LED2 | 1 | Green LED: USB ready (PC0 low) | 19-217/GHC-YR1S2/6T | C2986059 |
| J4 | 1 | 2x3 header: flash THIS ATmega8A (self-programming port) | 2.54-2*3P | C65114 |
| JP2 | 1 | 1x2 header: slow SCK jumper (PC2 to GND) | PZ254V-11-02P | C492401 |
Target-side nets end in _T. VTGT is both the target supply (when JP1 is fitted) and the level-shifter supply: no voltage on ISP pin 2 = outputs off.
Both VCC pins of U4 (23, 24) must be connected.
| Ref | Qty | Function | Part | LCSC |
|---|---|---|---|---|
| U4 | 1 | 74LVC8T245PW 8-bit dual-supply transceiver, TSSOP-24 | 74LVC8T245PW | C458788 |
| U5 | 1 | 74LVC1T45GW 1-bit dual-supply transceiver (MISO back), SC-88 | 74LVC1T45GW,125 | C478004 |
| C10, C11, C12, C13 | 4 | 100 nF 1206 | CL31B104KBCNNNC | C24497 |
| R10 | 1 | 10 k 1206, OE# pull-up (outputs off while the ATmega8A is in reset) | 1206W4F1002T5E | C17902 |
| R11, R12, R13 | 3 | 100 k 1206 | 1206W4F1003T5E | C17900 |
| J2 | 1 | 2x5 box header: standard AVR 10-pin ISP | 2.54-2*5P | C5665 |
| J3 | 1 | 2x3 header: standard AVR 6-pin ISP | 2.54-2*3P | C65114 |
Top view as the footprint sits on the PCB: dot = pin 1 corner, pins 1-8 down the left, 9-16 along the bottom, 17-24 up the right, 25-32 along the top. Pin names and numbers from the Microchip ATmega8A datasheet, figure 1-1. Red X = place a No-Connect flag.
| Pin | Net | Also on this net |
|---|---|---|
| 1 PD3 | No-Connect flag | |
| 2 PD4 | No-Connect flag | |
| 3 GND | GND | rail |
| 4 VCC | +5V | rail |
| 5 GND | GND | rail |
| 6 VCC | +5V | rail |
| 7 PB6 XTAL1 | XTAL1 | Y1.1, C3.1 |
| 8 PB7 XTAL2 | XTAL2 | Y1.3, C4.1 |
| 9 PD5 | No-Connect flag | |
| 10 PD6 | No-Connect flag | |
| 11 PD7 | No-Connect flag | |
| 12 PB0 | USB_DN | R4.2, D2.K, R5.2 |
| 13 PB1 | USB_DP | R3.2, D1.K |
| 14 PB2 | RST_M | U4.5, R13.1 |
| 15 PB3 MOSI | MOSI_M | J4.4, U4.3, R11.1 |
| 16 PB4 MISO | MISO_M | J4.1, U5.3 |
| 17 PB5 SCK | SCK_M | J4.3, U4.4, R12.1 |
| 18 AVCC | +5V | rail |
| 19 ADC6 | No-Connect flag | |
| 20 AREF | No-Connect flag | |
| 21 GND | GND | rail |
| 22 ADC7 | No-Connect flag | |
| 23 PC0 | LED_G_K | LED2.K |
| 24 PC1 | BUSY_N | LED1.K, U4.22, R10.2 |
| 25 PC2 | SLOW_SCK | JP2.1 |
| 26 PC3 | No-Connect flag | |
| 27 PC4 | No-Connect flag | |
| 28 PC5 | No-Connect flag | |
| 29 PC6 RESET | MCU_RST | R6.2, J4.5 |
| 30 PD0 | No-Connect flag | |
| 31 PD1 | No-Connect flag | |
| 32 PD2 INT0 | USB_DP | R3.2, D1.K |
From the Nexperia datasheets (pin description and function tables): U4 DIR high = A to B, OE# high = all outputs Hi-Z; U5 DIR low = B to A. If either supply is 0 V, both parts go to suspend mode (all pins Hi-Z).
| Pin | Net | Also on this net |
|---|---|---|
| 1 VCCA | +5V | rail |
| 2 DIR | +5V | rail |
| 3 A1 | MOSI_M | U1.15, J4.4, R11.1 |
| 4 A2 | SCK_M | U1.17, J4.3, R12.1 |
| 5 A3 | RST_M | U1.14, R13.1 |
| 6 A4 | GND | rail |
| 7 A5 | GND | rail |
| 8 A6 | GND | rail |
| 9 A7 | GND | rail |
| 10 A8 | GND | rail |
| 11 GND | GND | rail |
| 12 GND | GND | rail |
| 13 GND | GND | rail |
| 14 B8 | No-Connect flag | |
| 15 B7 | No-Connect flag | |
| 16 B6 | No-Connect flag | |
| 17 B5 | No-Connect flag | |
| 18 B4 | No-Connect flag | |
| 19 B3 | RST_T | J2.5, J3.5 |
| 20 B2 | SCK_T | J2.7, J3.3 |
| 21 B1 | MOSI_T | J2.1, J3.4 |
| 22 OE# | BUSY_N | U1.24, LED1.K, R10.2 |
| 23 VCCB | VTGT | F2.2, U5.6, C11.1, C13.1, J2.2, J3.2 |
| 24 VCCB | VTGT | F2.2, U5.6, C11.1, C13.1, J2.2, J3.2 |
| Pin | Net | Also on this net |
|---|---|---|
| 1 VCCA | +5V | rail |
| 2 GND | GND | rail |
| 3 A | MISO_M | U1.16, J4.1 |
| 4 B | MISO_T | J2.9, J3.1 |
| 5 DIR | GND | rail |
| 6 VCCB | VTGT | F2.2, U4.23, U4.24, C11.1, C13.1, J2.2, J3.2 |
| Pin | Net | Also on this net |
|---|---|---|
| A4B9 VBUS | VBUS | U2.5, F1.1, C2.1 |
| B4A9 VBUS | VBUS | U2.5, F1.1, C2.1 |
| A1B12 GND | GND | rail |
| B1A12 GND | GND | rail |
| A5 CC1 | CC1 | R1.1 |
| B5 CC2 | CC2 | R2.1 |
| A6 DP1 | USB_DP_J | U2.1, U2.6, R3.1 |
| B6 DP2 | USB_DP_J | U2.1, U2.6, R3.1 |
| A7 DN1 | USB_DN_J | U2.3, U2.4, R4.1 |
| B7 DN2 | USB_DN_J | U2.3, U2.4, R4.1 |
| A8 SBU1 | No-Connect flag | |
| B8 SBU2 | No-Connect flag | |
| EH1-4 shell | GND | rail |