Skip to the content
4 layers75 × 60.6 mmOp6-jig, the printed circuit board in 3D

KiCad design for OnePlus 6 (and potentially other) phone test jigs.

Size
75 × 60.6 mm
Copper layers
4
Thickness
1.6 mm
Parts
32
Nets
61
Pads
187
Tracks, vias
612, 75
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
31 Aug 2021
Updated
14 Feb 2022

Overview

Op6-jig is an open-source printed circuit board by kcxt, from the kcxt/phone-test-jig repository on GitHub, published under the GPL-3.0 licence. It is a 4-layer board of 75 × 60.6 mm with 32 parts on 61 nets, routed with 612 tracks and 75 vias.

It is built around the AP2192SG, ATMEGA32U4 and LSF0102YZTR, with the TYPE-C-31-M-12 among its other parts. Its parts include 11 resistors, 7 capacitors, 6 connectors, 3 ICs and 3 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

OnePlus 6 Test Jig

The OnePlus 6 test jig is a proof of concept designed to turn the OnePlus 6 into a device which can be used in a board farm!

OnePlus 6 Jig 3D view screenshot

The PCB contains a header at the top for soldering wires onto test points on the phone, it features an Atmega32u4 which can act as a UART<->USB adapter, an LSF0102 bidirectional logic level voltage translator to convert the UART from the 5v of the Atmega down to the 1.8v of the phone (and vice versa).

The Atmega is also used to simulate button presses on the phone, the volume and power button test pads are normally high and pressed when low. Both of these features can be (though as yet untested) exposed via the same USB port, saving a port on the host and allowing for dirt simple control of the device, to test the inputs as well as perform a hard reset.

Being able to hard reset the board is a requirement for consideration in an automated board farm, this carried some complications on the OnePlus 6 as if you perform a hard reset combination (pressing volume up and power at the same time for 10 seconds) whilst VBUS (USB power) is high it will boot into EDL mode instead, so without a way to control VBUS the device would just be stuck in EDL. This is resolved by using a high-side FQP27P06 MOSFET.

NOTE: Currently waiting for PCB shipment, expect this design to contain bugs.

TODO

  • Create a list of minimum hard requirements for a given device to be used as part of the farm
  • Add a 12v connector and buck regulator to produce VBAT for devices which support it so that the batteries can be removed.
  • Add PHONE_USB passthrough port so that devices without USB test points can still have VBUS be controlled by the atmega

Parts

32
QtyValueFootprintReferences
3100nFCapacitor_SMD:C_0805_2012MetricC5, C6, C7
3220Resistor_SMD:R_0805_2012MetricR9, R10, R11
210kResistor_SMD:R_0805_2012MetricR4, R7
21uFCapacitor_SMD:C_0805_2012MetricC1, C4
222Resistor_SMD:R_0805_2012MetricR5, R6
222pFCapacitor_SMD:C_0805_2012MetricC2, C3
25.1kResistor_SMD:R_0805_2012MetricR1, R2
2TYPE-C-31-M-12Local:HRO_TYPE-C-31-M-12J4, J5
116MHzCrystal:Crystal_HC18-U_VerticalY1
13.3kResistor_SMD:R_0805_2012MetricR3
15.6kResistor_SMD:R_0805_2012MetricR8
1AP2192Package_SO:SO-8_3.9x4.9mm_P1.27mmU3
1ATMEGA32U4ATmega32U4:ATmega32U4U1
1CONN_PHONE_DATAConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ3
1CONN_PHONE_POWERConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ6
1JTAG_ATMEGAConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ2
1LED_BLED_SMD:LED_1206_3216MetricD3
1LED_GLED_SMD:LED_1206_3216MetricD2
1LED_RLED_SMD:LED_1206_3216MetricD1
1LSF0102YZTRPackage_SO:VSSOP-8_2.4x2.1mm_P0.5mmU2
1PHONE_TP_BREAKOUTConnector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_VerticalJ1
1SW_RESETButton_Switch_THT:SW_PUSH_6mmSW1

Similar boards

  • 2 layers16 × 43 mmNrf24 remote, the printed circuit board in 3D

    Nrf24 remote

    dragonlock2/kicadboards

    Offsite backup for the miscellaneous KiCad boards that don't fit elsewhere

    72 parts14Apache-2.0
  • 2 layers21.3 × 33.9 mmGoldfish, the printed circuit board in 3D

    Goldfish

    JeremyJStarcher/Goldfish-clone-JLCPCB

    Arduino Pro Micro / GoldFish compatible AtMega32U4 for JLCPCB assembly

    25 parts21
  • 2 layers89 × 100 mmHub16, the printed circuit board in 3D

    Hub16

    joshajohnson/Hub16

    A macro pad with 16 keys, two rotary encoders, a four port USB hub, and plenty of LEDs!

    132 parts388
  • 2 layers22.9 × 36.7 mmUsb2usb, the printed circuit board in 3D

    Usb2usb

    tmk/USB2USB_Converter

    USB to USB keyboard protocol converter supported by TMK keyboard firmware

    26 parts152
  • 2 layers303.6 × 96.1 mmKyuu, the printed circuit board in 3D

    Kyuu

    Quantrik/Kyuu

    Kyuu Keyboard Design

    154 parts127
  • 2 layers114.9 × 77 mmTestProject, the printed circuit board in 3D

    TestProject

    Quarren42/SPIN

    12 key, 3 encoder USB-C Macro Pad

    117 parts104CC-BY-SA-4.0
  • 2 layers444.1 × 151.2 mmGh80-3003, the printed circuit board in 3D

    Gh80-3003

    evyd13/gh80-series

    GH80-1800, GH80-3700 and GH80-3003 by Evy (aka anykeys.eu)

    287 parts69CC-BY-SA-4.0
  • 2 layers232.2 × 76.7 mmCpm43, the printed circuit board in 3D

    Cpm43

    Gtrx0/cpm43

    40% mechanical keyboard with rgb underglow and single color backlight

    188 parts59

Questions

How big is the Op6-jig PCB?

It measures 75 × 60.6 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Op6-jig use?

32 parts, built around the AP2192SG, ATMEGA32U4, LSF0102YZTR and TYPE-C-31-M-12. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Op6-jig KiCad files?

From the kcxt/phone-test-jig repository on GitHub, at the commit this page was made from: the board is op6-jig.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Op6-jig design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).