Fundamentals 5 min read

How to Flash Hackaday Badge 2018

ai.rs Jun 19, 2018
How to Flash Hackaday Badge 2018 illustration

Hackaday Belgrade 2018

Hackaday organized a wonderful conference in Belgrade in May 2018. Traditionally, each participant received a special badge — this time a small computer based on a 32-bit Microchip PIC32 CPU that supports writing in customized BASIC. It's ideal as a small serial terminal with keyboard and display.

Hackaday Belgrade 2018 Badge

The Problem

The badge shipped with firmware v1.00 where the kin BASIC function (keyboard input) didn't work. To use the badge as a serial terminal, you need to flash a newer firmware. But because the badge uses a Microchip PIC controller (old school!), a simple USB-to-serial cable isn't enough — you need a PICkit3 programmer.

What You Need

  • PICkit3 USB programmer
  • MPLAB X IDE (v4.15 or newer)
  • Badge firmware v1.04 (badge1.X.production.hex)

Flashing Steps

1. Install MPLAB X IDE

Download and install from Microchip's website.

2. Connect PICkit3 to Badge

PICkit3 connection to Hackaday Badge

Important: the left pin is unconnected!

3. Flash the Firmware

Open MPLAB IDE, choose 32-bit MCU, device PIC32MX370F512H. Select the firmware hex file and click "Program".

4. Verify

After success, you'll see v1.04 in the bottom right corner of the badge display:

Hackaday Badge running firmware v1.04

Using the Badge as a Serial Terminal

Wiring

Badge Pin Serial Cable
GND Ground
TX (C14) RX (white)
RX (C13) TX (green)
Leave voltage disconnected Red wire — do not connect

Connect

screen /dev/tty.XXXYYY 19200

BASIC Program

Write this on the badge to transmit typed keys over serial:

10 cls
15 wait 500
20 PRINT MyTerminal
30 k = kin 1
40 out k
50 goto 10

Everything typed on the badge will appear in your terminal!

From PIC to AI

The Hackaday community in Belgrade has always been at the intersection of hardware and software — from flashing PIC microcontrollers to building custom AI systems. The same curiosity that drives you to flash a conference badge is what drives us to fine-tune language models.


This article is from the ai.rs archive (originally published on the old ai.rs tech blog). Today, ai.rs builds custom AI assistants for businesses.

Explore what we do now:

Ready to put this into practice?

Understanding the fundamentals is one thing — building something for your business is another. See where you stand.

Take the AI Readiness Check
Share: Post Share

Read next

Research

DeepSeek V4.1 Flash on Two DGX Sparks: 2.9-Bit, 1.9× Faster Than V4 Flash, and What the Bits Cost

In September we said V4.1-Flash could not fit two DGX Sparks and a 2 or 3-bit re-quantisation would decode no faster than V4-Flash. We ran the 1017 retrain at 2.9 bits per weight on the same pair with a native engine: 1.6 to 1.9× faster per token, every quality harness tied, hard code ahead of V4, needle found at 976K tokens. The bits cost hard code only; the price is memory headroom, concurrency, and about 1.6× the power under load. It reads documents too.

13 min read
AI News

Muse Spark Open 816B: How Much VRAM, and Does It Beat DeepSeek V4 Flash?

Meta's Muse Spark Open is 816B parameters, open weights, free on Together AI for three days. Its own NVFP4 build is 496 GiB, 2.4× what two DGX Sparks can give a model, and the bf16 release is 1.5 TB. We ran it through the four harnesses DeepSeek-V4-Flash passed on our pair: same scores on everything pass or fail, a little tighter prose, three times the decode speed, from a rack.

10 min read
AI News

Axera AX8860 vs DGX Spark: Sipeed's MaixStation Claims, Checked

Sipeed says its MaixStation, built on Axera's new AX8860, beats the DGX Spark on Qwen 27B by 25% on prefill and 30% on decode at 40 W and half the price. The chip copies the GB10's memory bus to the digit, so we checked the claim against the bus: the low end is plausible, the high end is the bus at 100%, and nothing ships before a Kickstarter at year end.

8 min read