Skip to content

salkinium/checkirona

Repository files navigation

Checkirona: iPhone Connector Short-Circuit Tester

Corona uses the 30pin iPhone connector to communicate with everything.

This simple project uses an STM32F4 Discovery with a custom connector PCB board to test all 30 connections for a short circuit and displays it as an adjacency matrix and as a flattened connector view.

You must connect a USB-to-Serial connector and open a terminal using picocom:

$ picocom --imap lfcrlf -b 115200 /dev/tty.usbserial-*

The output for a functioning connector looks like this:

image

The output for a broken connector looks like this:

image

This project was designed and manufactured at The Media Computing Group.

Organization

This repository is organized as follows:

  • pcb contains the PCB schematics and layouts,
  • src contains the application code for the tester, and
  • xpcc contains the git submodule for the xpcc.io microcontroller framework.

All hardware and embedded software was designed by Niklas Hauser.

Building from source

The sources are compiled using the xpcc C++ Microcontroller Framework.

Setup your environment

xpcc is provided as a git submodule, to use it run this in the root checkirona/ directory:

$ git submodule init
$ git submodule update

We configured a headless virtual machine for VirtualBox (size: ~1.2GB), which is managed using Vagrant and contains all software required for compiling xpcc.

Install VirtualBox and Vagrant and use the VM like this:

$ vagrant up
$ vagrant ssh

Compile and Program

Enter the src directory

$ cd /vagrant/src

To compile, execute:

$ scons

To flash the binary onto the microcontroller, execute:

$ scons program

About

Checkirona: iPhone Connector Short-Circuit Tester

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published