DISTRICTCON Year 1

BADGE SITE

Download Latest Firmware (v1.2) Download starter firmware
(In case you want to write your own)

Firmware Changelog

Baron

Baron

So, you want to upgrade your badge? About time. The old code was... insufficient.

Lumi

Be nice, Baron! They're just excited to see the new features! Like the high score fix, and the new SNOWPOCALYPSE mode!

Lumi
Baron

Baron

Functionality over form, Lumi. First, they need to download the file above. Don't engage the "sparkles" until the protocol is complete.

Lumi

Okay, okay! Step 1: Download the file! Step 2: Plug your badge into your computer with a USB-C cable!

Lumi Excited
Baron

Baron

Correct. It should appear as a drive named "RP2350". If it doesn't, hold the DFU button while plugging it in/powering it on. Do not fail this simple physical task.

Lumi

Then just extract the .7z, and drag and drop the `.uf2` file onto that drive! The badge will reboot and do a little dance!

Lumi
Baron

Baron

It reboots. It does not "dance". It initializes the new firmware. And then... we cotinue to steal the light from DistrictCon.

Lumi

No! I will stop you BARON!

(Scroll up to download if you missed it!)

Lumi

Hardware Specifications

Core System

RP2350 MCU

4MB Flash Storage

Display

240x240px

(GC9A01 Driver)

Buttons & Bling

12x WS2812b LEDs
(GPIO 24)

6x Tactile buttons
(Push to GND)

Sensors

IR Receiver
(IRM-H638T/TR2)

Microphone
(LMA3722T421-OA5)

Battery

18650 Lipo

Charging circuit

Pin Definitions

// Display
#define TFT_DC 0
#define TFT_CS 5
#define TFT_SDA 3
#define TFT_SCL 2
#define TFT_RST 4
#define TFT_BL 1

// Button pins
#define BTN_RIGHT 20
#define BTN_DOWN 21
#define BTN_UP 22
#define BTN_LEFT 23
#define BTN_A 7
#define BTN_B 6

// Hardware pins
#define PIN_IR_RECV 16
#define PIN_SNIFFY 19
#define PIN_LEDS 24
#define PIN_MIC A1
#define PIN_DIVIDE_1 28
#define PIN_DIVIDE_2 29

// SAO Pins
#define SAO_I2C_SDA 8
#define SAO_I2C_SCL 9
#define SAO_GPIO1 10
#define SAO_GPIO2 11