Skip to the content
PCBKitNew board
2 layers120 × 141.1 mmCharliedistance, the printed circuit board in 3D

Charliedistance

bornhack/badge202012

BornHack Badge 2020

Size
120 × 141.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
362
Nets
101
Pads
880
Tracks, vias
2,990, 459
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
12 Aug 2020
Updated
21 Aug 2020

Overview

Charliedistance is an open-source printed circuit board by bornhack, from the bornhack/badge2020 repository on GitHub, published under the CC-BY-SA-4.0 licence. It is a 2-layer board of 120 × 141.1 mm with 362 parts on 101 nets, routed with 2,990 tracks and 459 vias.

It is built around the PA16, GD25Q32C and HX9193-33GB, with the BC817, CJ2302 and CJ2305 among its other parts. Its parts include 290 diodes, 18 capacitors, 16 resistors, 7 ICs and 6 switches. It belongs with the lEDs and displays boards and the SAM D and SAM boards of this library.

Main components

7

README

README.md

Bornhack Badge 2020

About the hardware

Similar to the last couple of years, this badge has an ARM cortex M0+ as the main controller, but on this badge it's the SAMD21 from Microchip, with 4 times as much flash and RAM compared to the chips from the previous badges.

This makes it possible to run Adafruit CircuitPython on this badge, which lowers the bar for how easy it is to get started hacking on the badge, since all you need is a USB cable to connect it to your computer and an editor (vi, nano, VSCode, notepad, you name it) to change the code.py file on the badge. No need to have a tool chain installed on your computer, it's all happening on the badge when you save the file.

Features

  • The main feature of the badge is a 9x32 pixel LED matrix controlled by 2 IS31FL3731 LED controllers, that control the LEDs via charlieplexing
  • The other primary feature is an infrared LED to transmit and an infrared receiver and decoder to receive badge to badge communication
  • There are also 4 navigation/game buttons and a reset button
  • The badge is either powered by 2xAA batteries, that have the voltage boosted to 3.3v or via USB, where the voltage is regulated down to 3.3v
  • The main controller is a SAMD21G18A with a GD25Q32C (4MB SPI flash) connected for libraries, graphics, etc.
  • There is also an unpopulated header for Shitty Add On v.1.69bis
  • On the back of the badge, all i/o pins that are not used on the microcontroller is pull out to small SMD pads for optional soldering on add-ons or similar.

Getting started

To start making your badge your own, you can connect it via USB and a mass storage device should show up with a code.py file in the root directory.

If you open that file in your favorite text editor you will find a few lines first that loads some libraries, then some initialisation of the LED drivers and on line 20 you will find an assignment of a string variable with the scrolling text shown on the LED matrix. To put eg. your name on the badge, you can change this text and save the file, and after a few seconds, the badge will restart the code and your text should be slowly scrolling across the "screen".

If you have gotten this far you are up and running with your first "hack" of the 2020 BornHack badge and you can continue with more elaborate hacking.

Parts

362
QtyValueFootprintReferences
288LED_Small_ALTOpto:LED_0603_CleanD1, D10, D11, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112 +272
5100nFCapacitors_SMD:C_0603C2, C3, C5, C6, C9
510uFCapacitors_SMD:C_0603C10, C12, C13, C14, C15
51uFCapacitors_SMD:C_0603C1, C4, C7, C8, C11
54.7kResistors_SMD:R_0603R3, R9, R11, R12, R13
2100Resistors_SMD:R_0603R8, R16
2100uFCapacitors_SMD:C_1206C16, C17
21kResistors_SMD:R_0603R7, R15
220kResistors_SMD:R_0603R1, R2
25.1kResistors_SMD:R_0603R5, R6
2AAPower:Single_AABT1, BT2
2IS31FL3731-QFHousings_DFN_QFN:QFN-28-1EP_4x4mm_Pitch0.4mmU1, U2
1100kResistors_SMD:R_0603R14
110kResistors_SMD:R_0603R10
12.2uFCapacitors_SMD:C_0603C18
147uHInductors_SMD:L_1210L1
16.8kResistors_SMD:R_0603R4
1AButtons:SW_SPST_TS3625A-HTSW2
1BButtons:SW_SPST_TS3625A-HTSW3
1BC817TO_SOT_Packages_SMD:SOT-23Q3
1Badgelife_sao_connector_v169bisbadgelife_sao_v169bis:Badgelife-SAOv169-BADGE-2x3X1
1CJ2302TO_SOT_Packages_SMD:SOT-23Q1
1CJ2305TO_SOT_Packages_SMD:SOT-23Q2
1DEBUGPin_Headers:Pin_Header_Straight_1x06_Pitch2.54mmJ2
1GD25Q32CHousings_SOIC:SOIC-8-1EP_3.9x4.9mm_Pitch1.27mmU4
1HX9193-33GBTO_SOT_Packages_SMD:SOT-23-5U3
1IR19-21C/TR8(AQL)Opto:LED_0603_CleanD290
1IRM-H6xxTOpto:IRM-H6xxTU6
1LEDOpto:LED_0603_CleanD289
1LOGOAesthetics:bh2020_make_clean_silkG***
1LOGOAesthetics:bh2020_logo_2_silkG***
1PA0Connectors:TestPoint_LargeTP1
1PA1Connectors:TestPoint_LargeTP2
1PA16Connectors:TestPoint_LargeTP14
1PA17Connectors:TestPoint_LargeTP13
1PA18Connectors:TestPoint_LargeTP12
1PA19Connectors:TestPoint_LargeTP11
1PA2Connectors:TestPoint_LargeTP3
1PA28Connectors:TestPoint_LargeTP10
1PA3Connectors:TestPoint_LargeTP4
1PA6Connectors:TestPoint_LargeTP6
1PA7Connectors:TestPoint_LargeTP7
1PB2Connectors:TestPoint_LargeTP9
1PB3Connectors:TestPoint_LargeTP8
1PB9Connectors:TestPoint_LargeTP5
1POWERButtons_Switches_SMD:SW_SPDT_PCM12SW6
1QX2304TO_SOT_Packages_SMD:SOT-23U5
1RESETButtons_Switches_SMD:SW_SPST_TL3342SW1
1SAMD21G18AHousings_DFN_QFN:QFN-48-1EP_7x7mm_Pitch0.5mmIC1
1USB_CConnectors:USB_C_Receptacle_U262-161N-4BVC11J1
1XButtons:SW_SPST_TS3625A-HTSW4
1YButtons:SW_SPST_TS3625A-HTSW5

Questions

How big is the Charliedistance PCB?

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

What parts does the Charliedistance use?

362 parts, built around the PA16, GD25Q32C, HX9193-33GB and BC817. 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 Charliedistance KiCad files?

From the bornhack/badge2020 repository on GitHub, at the commit this page was made from: the board is charliedistance.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Charliedistance design in my own project?

Its repository publishes it under the CC-BY-SA-4.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).

Similar boards

  • 2 layers126.3 × 71.1 mmGame on, the printed circuit board in 3D

    Game on

    bornhack/badge2022

    BornHack Badge 2022

    346 parts12CC-BY-SA-4.0
  • 2 layers178 × 80 mmPanel 1x5, the printed circuit board in 3D

    Panel 1x5

    flummer/dmm-sao

    A small digital multimeter specifically for measuring SAO related stuff

    326 parts28CC-BY-SA-4.0
  • 2 layers100 × 140 mmCircle badge, the printed circuit board in 3D

    Circle badge

    bornhack/badge2025

    This badge focuses on LoRa and wireless communication in general, as there are also WiFi and Bluetooth Low Energy included in the ESP32-C3 module.

    45 parts3CC-BY-SA-4.0
  • 2 layers79 × 16 mmEB1, the printed circuit board in 3D

    EB1

    robojay/EB1

    EB1 电脑一号:A self-contained learning platform.

    62 parts
  • 4 layers42 × 42 mmDynossat edu obc, the printed circuit board in 3D

    Dynossat edu obc

    BHDynamics/dynossat-edu-obc

    DynOSSAT-EDU, educational PocketQube satellite On-Board Computer files

    60 parts14
  • 2 layers33 × 91.4 mmEsp32, the printed circuit board in 3D

    Esp32

    Ledger-Donjon/scaffold

    Donjon hardware tool for circuits security evaluation

    54 parts125LGPL-3.0