Skip to the content
2 layers76.2 × 76.2 mmSaintcon2020Front, the printed circuit board in 3D

This year's badge was created by compukidmike, ProfessorPlum, and SodiumHydrogen. It's styled after a combination lock and the shackle actually opens!

Size
76.2 × 76.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
5
Pads
11
Tracks, vias
21, 3
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
15 Aug 2021
Updated
6 Apr 2023

Overview

Saintcon2020Front is an open-source printed circuit board by compukidmike, from the compukidmike/Saintcon2021 repository on GitHub. It is a 2-layer board of 76.2 × 76.2 mm with 7 parts on 5 nets, routed with 21 tracks and 3 vias.

README

README.md

Saintcon2021

BadgeFrontUnlocked

This year's badge was created by compukidmike, Professor_Plum, and Sodium_Hydrogen. It's styled after a combination lock and the shackle actually opens!

BadgeFrontLocked

We tried something different for the front PCB. We used pcbbuy.com because they can do 2-color soldermask. It didn't turn out exactly like planned, but it was still a cool option that we'll probably use in the future.

One of the major features of the badge is NFC. The badge can read and write NFC tags, as well as emulate cards. This is used for sharing contact information, reading unlock tags, and trading items.

The main microcontroller is an ATSAME53J18A. The NFC controller is an ST25R95 and the LCD is actually round. The badge is composed of a stack of PCBs (4 boards thick, 5 boards total). Here's an exploded view of the badge:

Exploded Inside

One of the big challenges was fitting parts under the screen. We've got the thickness of 2 boards (3.2mm) to fit everything. The LCD is 2.2mm thick, so that leaves 1mm for components. This made it extremely difficult to find parts, especially with the chip shortages this year.

Firmware

Compiling

You'll need to install Atmel Microchip Studio to compile the firmware. Once it's compiled, you can flash it to the badge with an SWD programmer, or follow the directions below to use the USB bootloader.

Making a UF2 File

When you've compiled the firmware, Microchip Studio will create a bunch of files (likely in the Debug folder inside your project folder). You want the .hex file. You'll need to use a tool called uf2conv.py from https://github.com/microsoft/uf2 (it's in the utils folder). This python script will convert your hex file into a UF2 file that you can use to program your badge. Here's an example command: python .\uf2conv.py .\flash.bin -c -o .\flash.uf2

Flashing

To re-flash your badge there is a USB bootloader. To activate it, move the power switch to USB and hold the button on the right side of the badge when you connect it to your computer. The screen should show some hardware tests and then it will connect to your computer as a mass storage device. Simply copy the new UF2 firmware file to the badge.

External SPI Flash

The badge has an 8MB SPI flash chip that stores all the images. It can be reprogrammed via the bootloader, but it's a bit cumbersome. You'll need to use the makeFlash.py script in the ExternalFlash folder to create a binary file from the images. NOTE: The images will be placed in the binary one after the other aligned to 1024 byte boundaries. If you change the images, you'll need to update the list of image locations in flash.h

Once you've got the binary file, you need to convert it to a hex file. This can be done with with bin2hex.py script in the ExternalFlash folder. Here's an example command: python .\bin2hex.py .\flash.bin .\flash.hex

Finally, you need to convert this hex file into a UF2 file that the bootloader can use to reprogram the SPI flash. When using the uf2conv.py script, you'll need to add an offset parameter so that the bootloader knows this data is for the SPI flash. Here's an example command: python .\uf2conv.py .\flash.bin -c -b 0x4000000 -o .\flash.uf2

NOTE: When copying a UF2 file that reprograms the SPI flash, the badge will send an erase command to the SPI flash. This can take a while (30-60 seconds) and you will see an activity indicator on the screen. If this process takes too long, your computer may timeout on copying the file (the badge will change from "erasing" to "writing", but the LED will be pulsing slowly instead of blinking rapidly). If this happens, simply reset the badge into bootloader mode and copy the file again. This time the SPI flash will be empty and the erase command will be quick.

Parts

7
QtyValueFootprintReferences
5TestPointSaintcon2020Front:SPRING-120220-0315ANT1, ANT2, TP1, TP2, TP3
1Antenna_LoopSaintcon2020Front:SpiralAnt3_254000_508000AE1
1Val**BoardFront3-YellowRef**

More from compukidmike/Saintcon2021

2
  • 2 layers76.2 × 76.2 mmSaintcon2020, the printed circuit board in 3D

    Saintcon2020

    compukidmike/Saintcon2021

    This year's badge was created by compukidmike, ProfessorPlum, and SodiumHydrogen. It's styled after a combination lock and the shackle actually opens!

    77 parts3
  • 2 layers94 × 61 mmSaintconMinibadgeHolder8, the printed circuit board in 3D

    SaintconMinibadgeHolder8

    compukidmike/Saintcon2021

    This year's badge was created by compukidmike, ProfessorPlum, and SodiumHydrogen. It's styled after a combination lock and the shackle actually opens!

    16 parts3

Similar boards

  • 2 layersEncoder, the printed circuit board in 3D

    Encoder

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    7 parts4.3kMIT
  • 2 layers40 × 20 mmSensor smd, the printed circuit board in 3D

    Sensor smd

    scottbez1/splitflap

    DIY split-flap display

    7 parts4.2k
  • 2 layers19.8 × 30 mmZ limit, the printed circuit board in 3D

    Z limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    7 parts3.7k
  • 2 layers35.6 × 58.2 mmDisplay Carrier, the printed circuit board in 3D

    Display Carrier

    AxxAxx/AxxSolder

    STM32 Based soldering station for JBC cartridges, 9-24 VDC and USB-PD power

    7 parts1.7kGPL-3.0
  • 2 layers20.3 × 16.3 mmMap MPX, the printed circuit board in 3D

    Map MPX

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    7 parts1.2k
  • 2 layers26 × 44 mmCompact carrier board, the printed circuit board in 3D

    Compact carrier board

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    7 parts1.1k
  • 2 layers26.4 × 53.8 mmAtari pickup, the printed circuit board in 3D

    Atari pickup

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    7 parts1kGPL-3.0
  • 2 layersRj45 breakout, the printed circuit board in 3D

    Rj45 breakout

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    7 parts990GPL-3.0

Questions

How big is the Saintcon2020Front PCB?

It measures 76.2 × 76.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Saintcon2020Front use?

7 parts. 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 Saintcon2020Front KiCad files?

From the compukidmike/Saintcon2021 repository on GitHub, at the commit this page was made from: the board is Hardware/Saintcon2021Front/Saintcon2020Front.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Saintcon2020Front design in my own project?

Its repository states no licence, so its author keeps all rights: ask compukidmike before reusing the design.