These are brief notes on an IR test transmitter designed for use in my To the Birdhouse geocache1.

[The Emitter] 2

Desiderata

Hardware

At the time I designed it, it was cheaper to buy Blue Pill STM32 dev boards than the bare processors, so I designed a daughter board with a couple of LEDs (one IR, one visible), a current limiting resistor, and a push button.

The daughter board fits over the progamming header on the Blue Pill. A little finesse is needed to avoid blocking the header.

Schematic

As you'll see the schematic is almost trivial:

[The Schematic] 3

PCB

The PCB is simple too. The two unplated holes allow the user to see the status LEDs on the Blue Pill.

[The PCB] 4

Firmware

The STM32F103 on the Blue Pill is perfectly fast enough to drive the LED with simple bit-banging. There is nothing clever about the code.

Design Files

The firmware and PCB design can be downloaded from GitHub7. The electronics was designed with KiCad, the firmware is written in C and uses libopencm38. Random bits of Haskell and python were used too.