{"id":20041517,"url":"https://github.com/calebccff/phone-test-jig","last_synced_at":"2025-03-02T07:13:39.070Z","repository":{"id":110397660,"uuid":"401531687","full_name":"calebccff/phone-test-jig","owner":"calebccff","description":"KiCad design for OnePlus 6 (and potentially other) phone test jigs.","archived":false,"fork":false,"pushed_at":"2022-02-14T22:05:27.000Z","size":826,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T19:27:06.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebccff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-31T01:08:43.000Z","updated_at":"2022-01-06T04:50:19.000Z","dependencies_parsed_at":"2023-03-13T13:54:53.204Z","dependency_job_id":null,"html_url":"https://github.com/calebccff/phone-test-jig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2Fphone-test-jig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2Fphone-test-jig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2Fphone-test-jig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2Fphone-test-jig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebccff","download_url":"https://codeload.github.com/calebccff/phone-test-jig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241470401,"owners_count":19968041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T10:46:50.286Z","updated_at":"2025-03-02T07:13:39.036Z","avatar_url":"https://github.com/calebccff.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# OnePlus 6 Test Jig\n\nThe 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!\n\n\u003cimg src=\"https://git.sr.ht/~calebccff/rptr-pcb/blob/main/images/pcb-screenshot.png\" width=\"50%\" alt=\"OnePlus 6 Jig 3D view screenshot\"/\u003e\n\nThe 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\nUART\u003c-\u003eUSB adapter, an LSF0102 bidirectional logic level voltage translator to convert the UART from the 5v of the Atmega down to the\n1.8v of the phone (and vice versa).\n\nThe 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.\nBoth 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 \ncontrol of the device, to test the inputs as well as perform a hard reset.\n\nBeing able to hard reset the board is a requirement for consideration in an automated board farm, this carried some complications on the OnePlus 6\nas 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 \nboot 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\nMOSFET.\n\n\u003e **NOTE:** Currently waiting for PCB shipment, expect this design to contain bugs.\n\n## TODO\n\n* Create a list of minimum hard requirements for a given device to be used as part of the farm\n* Add a 12v connector and buck regulator to produce VBAT for devices which support it so that the batteries can be removed.\n* Add PHONE_USB passthrough port so that devices without USB test points can still have VBUS be controlled by the atmega\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebccff%2Fphone-test-jig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebccff%2Fphone-test-jig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebccff%2Fphone-test-jig/lists"}