Skip to the content
2 layers27 × 65.3 mmOcn ePaper, the printed circuit board in 3D

CR123A elapsed-time counter with a 2.13-inch e-paper display and a magnetic off switch (MSP430FR2111, KiCad 10, CERN-OHL-P v2)

Size
27 × 65.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
36
Nets
34
Pads
113
Tracks, vias
179, 114
Pours
7
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
4 Oct 2026
Updated
8 Nov 2026

Overview

Ocn ePaper is an open-source printed circuit board by z2amiller, from the z2amiller/ocn-ePaper repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 2-layer board of 27 × 65.3 mm with 36 parts on 34 nets, routed with 179 tracks and 114 vias.

It is built around the MSP430FR2422IPW16, 5819WS and SI1308EDL. Its parts include 18 capacitors, 4 resistors, 4 diodes, 1 IC and 1 transistor. It belongs with the lEDs and displays boards and the MSP430 boards of this library.

Main components

3

README

README.md

ocn-ePaper

A battery-powered elapsed-time counter with a 2.13-inch e-paper display and a magnetic off switch. While a magnet sits at the marked end, the board is switched off. Take the magnet away and it powers up and counts elapsed time in hours and minutes, up to 99:59 (about 100 hours). Put the magnet back and it powers down several seconds later, leaving the last count on the display; the next time the magnet comes off, counting starts again from 00:00.

It is the e-paper version of ocn-LCD, which uses a segment LCD.

Front, 3D render Isometric, 3D render

The renders leave out the e-paper panel (it lies over the front), its socket, the reed switch and the CR123A holder (on the back), which have no 3D models. They show a header in J1, which stays empty on a finished board.

Status: revision 0.1, not yet built. Firmware will be added to this repository. The folded tail's pin order has not yet been checked against a real panel.

How it works

  • Counting. An MSP430FR2111 keeps time from a 32.768 kHz crystal. It spends almost all its time in its deepest sleep mode with only the clock running, and wakes to update the display.
  • Display. The panel is a Good Display GDEY0213B74: 2.13 inches, 250 × 122 pixels, black and white. E-paper holds its image with no power at all, so the panel sleeps between updates, and the last count stays on the screen after the board powers down. Updating it takes higher positive and negative voltages. The panel's own controller makes them with a small boost converter on the board (L1, Q2, D1–D3), which runs only during an update.
  • Mounting. The panel lies display-up over the front of the board, 3 mm above it, with its tail folded under it into a socket (DS2) on the board. Every part on the front fits under it; the tallest, L1, is 2.6 mm.
  • Power. A CR123A lithium cell (3 V, about 1,500 mAh) in a holder on the back.
  • Magnet switch. The magnet closes a normally open reed switch (SW1). That pulls the gate of a P-channel MOSFET (Q1) up to the cell voltage and cuts power to everything after it. With the magnet away, a 10 MΩ resistor pulls the gate low and the board runs. While switched off, the only drain on the cell is that resistor, about 0.3 µA.
  • Reset on purpose, not by accident. About 20 µF of capacitance after the switch keeps the board running for several seconds after the magnet arrives (roughly 5–15 s, depending on the panel's sleep current), so a brief knock or switch bounce does not reset the count. Leaving the magnet in place longer than that powers the board down. If the magnet arrives during a display update, which draws about 3.5 mA, the board stops within milliseconds and the image may be left half-updated until the next power-up.

Power budget

Estimates at 3.0 V and 25 °C, from the TI datasheet (SLASE78) and Good Display's spec for the panel. They will be replaced by measurements once the firmware is in.

ItemCounting (magnet away)Off (magnet in place)Basis
MCU asleep (LPM3.5), with the 32 kHz crystal and RTC running0.44 µA0Datasheet 0.66 µA typical with the supervisor (SVS) on; turning it off saves about 0.22 µA
Panel controller in deep sleep between updates1 µA (5 µA max)0Good Display spec
Display updates, once a minute~50 µA03.5 mA while updating, 0.42 s for a partial update and 3 s for a full one, with a full refresh after every five partial ones as Good Display recommends
MCU awake for each update (writing the image, waiting on BUSY)~0.2 µA0~10 ms at ~1 mA per update, then light sleep while the panel updates
Gate pull-down R3 (10 MΩ across the cell while the reed is closed)00.3 µA3.0 V / 10 MΩ
Q1 MOSFET leakage while off–a few nATypical; the datasheet maximum is specified at 30 V
Hold-up capacitors, leakage~1 nA0MLCC insulation resistance
Reset pull-up, reed switch, unused pins (driven low)00No DC path
Totalabout 52 µAabout 0.3 µA

The display updates dominate. One partial update uses as much charge as about 17 minutes of sleep, and a full refresh as about 2 hours, so the update rate sets the battery life.

Estimated runtime on one CR123A (1,500 mAh nominal), allowing about 1 %/year for the cell's own self-discharge:

ModeAverage drawEstimated runtime
Counting, display updated once a minuteabout 52 µAabout 3 years
Counting, display updated every 10 minutesabout 6–10 µAover 10 years
Off (magnet in place)about 0.3 µAdecades

The last two are longer than a CR123A's rated shelf life of about 10 years, so in practice the cell's age sets the limit, not this circuit. Cold reduces the cell's usable capacity, and the panel is specified to update only between 0 and 50 °C.

Firmware choices that keep it there:

  • Update the count once a minute at most; slower updates last much longer.
  • Use partial updates, with a full refresh after every five to keep ghosting down.
  • Put the panel in deep sleep after each update, and sleep in LPM3 while BUSY is high. Check BUSY again after its falling edge wakes the MCU, before sending the next command.
  • Leave the voltage supervisor (SVS) off in LPM3.5; it costs about 0.2 µA. The brownout reset stays on regardless.
  • Keep the panel's RES line driven while the panel is in use, and drive every unused pin low.

Placing the magnet

The reed switch is at the end marked MAGNET DISABLE and runs along the length of the board. It responds to field along its own length, so use a magnet magnetized through its flat faces (a neodymium cylinder or disc), at that end, with its axis along the board and its face toward the board's end. SW1's axis is 3.2 mm from the board's centreline, so a magnet centred on the board's end lines up with it closely. A model of a typical 10 × 8 mm N42 cylinder (no nearby steel) gives several times the switch's ~2–3 mT pull-in out to about 20 mm, even 9 mm off the switch's axis.

Steel nearby. The CR123A's case is steel, and it sits on the back directly behind the switch. That changes the field around the switch, and its effect hasn't been measured yet. Check the switching distance on the bench with a cell fitted.

The switch lets go only once the magnet is a few centimeters away (the same model puts it at about 35–40 mm in line), so move the magnet well clear to start counting.

Key parts

RefPartLCSC
U1TI MSP430FR2111IPW, TSSOP-16C2052845
DS2Good Display GDEY0213B74 2.13" e-paper panel, in a Hirose FH34SRJ-24S-0.5SH socketC324726 (the socket)
BT1MYOUNG BH-123A-A1CJ002 CR123A holder, through-holeC5290177
SW1Littelfuse 59170-1-S-00-D reed switch, normally open, 10–15 ATC315909
Q1AO3401A P-channel MOSFET, SOT-23 (power switch)C15127
Q2Vishay Si1308EDL N-channel MOSFET, SOT-323 (display booster)C469327
L1Changjiang FNR4030S470MT 47 µH inductor, 4 × 4 mmC167888
D1–D31N5819WS Schottky diode, SOD-323C191023
Y132.768 kHz crystal, 3215, 12.5 pFC32346

Every part in the BOM carries its LCSC number. The panel itself comes from Good Display; DS2's BOM line is its socket. J1 and TP3 are left out of the BOM and the placement file, and so are BT1 and SW1, which are fitted by hand. The passives are 0603 and 1206.

Assembly

  1. Surface-mount parts, all on the front. A stencil helps with the 0.65 mm pitch MCU. The reed switch is rated for reflow and can go on with the rest.
  2. CR123A holder on the back, by hand. Trim its two pins close on the front afterwards. Untrimmed, they stand about 2.5 mm proud, under a panel that sits 3 mm up.
  3. Program the MCU (see below). J1 ends up under the panel, so do this before the panel goes on.
  4. Panel. Open the socket's latch and slide the tail in, with the panel lying face down beyond the end of the board nearest the socket, then close the latch. Fold the panel over onto a 3 mm spacer on the front, so it lies display-up over the board. Double-sided foam tape works as the spacer and keeps pressure off the glass.
  5. Battery. Fit the CR123A last, matching the + and − marks on the back.

Programming

The MCU is programmed over Spy-Bi-Wire from the eZ-FET programmer on a TI MSP-EXP430FR4133 LaunchPad. Any MSP430 LaunchPad with an eZ-FET should also work. J1, on the board's long edge, carries the four programming signals plus the MCU's serial port. It is a row of six 0.1-inch holes that stays empty: the panel covers it once fitted.

  1. Take the cell out. The LaunchPad powers the board at 3.3 V. With the magnet away, Q1 is on and would pass that straight back into the cell, and a CR123A must never be charged. The silkscreen beside J1 says so too.

  2. Pull every jumper off the LaunchPad's J101 isolation block. That disconnects the LaunchPad's own MCU, so the eZ-FET talks only to this board.

  3. Connect J1. Push a straight 6-pin header into J1's holes without soldering it, holding it tilted slightly so the pins press against the hole walls. Wire it to J101 with dupont jumpers, using the J101 pins on the eZ-FET (emulator) side, not the side that runs to the LaunchPad's own MCU:

    ocn-ePaper J1LaunchPad J101, eZ-FET side
    3V3V3
    RSBW RST
    TSBW TST
    GNDGND
    RX (optional, serial)RXD
    TX (optional, serial)TXD

    The serial names match straight across. J101 labels its pins from the target MCU's point of view, so its RXD carries data into this board's RX.

  4. Flash the firmware with TI UniFlash or Code Composer Studio. Select the MSP430FR2111 and the LaunchPad's eZ-FET as the connection. A command-line recipe will come with the firmware.

  5. Unplug the LaunchPad before measuring current or fitting the cell. The programming and serial lines draw current of their own.

Serial port. RX and TX are on P1.2 and P1.3. They share the MCU's only serial block with the panel's SPI, so firmware switches the block between the two.

Measuring battery current. R2 (1 Ω, 1206) sits in series with the cell. Lift it and connect a current meter across its pads. TP3 is a test pad on the switched 3 V supply.

Files

  • ocn-ePaper.kicad_pro, .kicad_sch and .kicad_pcb: the KiCad 10 project. The board is 27 × 65.3 mm, two layers.
  • lib/: the board's own symbols and footprints: the MSP430FR2111, the GDEY0213B74 and its folded-tail footprint (the socket, plus the panel's outline on the User.Drawings layer), the CR123A holder and the reed switch. The project's library tables point at this folder, so the project opens without any other library installed.

License

Licensed under the CERN Open Hardware Licence Version 2 – Permissive (CERN-OHL-P v2). See LICENSE and NOTICE.

You may make, modify, and sell boards from these files, with no obligation to publish your changes.

Parts

36
QtyValueFootprintReferences
101uCapacitor_SMD:C_0603_1608MetricC4, C5, C6, C7, C8, C12, C13, C14, C15, C18
54.7uCapacitor_SMD:C_1206_3216MetricC1, C2, C3, C16, C17
45819WSDiode_SMD:D_SOD-323FD1, D2, D3, D4
220pCapacitor_SMD:C_0603_1608MetricC9, C10
110MResistor_SMD:R_0603_1608MetricR3
11MResistor_SMD:R_0603_1608MetricR4
11nCapacitor_SMD:C_0603_1608MetricC11
12R2Resistor_SMD:R_0603_1608MetricR5
132.768kCrystal:Crystal_SMD_3215-2Pin_3.2x1.5mmY1
13VTestPoint:TestPoint_Pad_1.5x1.5mmTP3
147KResistor_SMD:R_0603_1608MetricR1
147uInductor_SMD:L_Changjiang_FNR4030SL1
1CR123LowPower:BatteryHolder_MYOUNG_BH-123A-A1CJ002_1xCR123ABT1
1Current MeasureJumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mmJP1
1GDEY0213B74LowPower:EPD_GDEY0213B74_FoldedUnder_Hirose_FH34SRJ-24S-0.5SHDS2
1MSP430FR2422IPWPackage_SO:TSSOP-16_4.4x5mm_P0.65mmU2
1PROGConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1REED (NO)LowPower:SW_SPST_REED_Littelfuse_59170_GullWingSW1
1SI1308EDLPackage_TO_SOT_SMD:SOT-323_SC-70Q2

Similar boards

  • 6 layers49.3 × 39.3 mmVoronToolheadPCB, the printed circuit board in 3D

    VoronToolheadPCB

    shxshxshxshx/VoronToolheadPCB

    USB Toolhead Board for Voron Stealthburner

    99 parts2GPL-3.0
  • 4 layers45 × 32 mmTemplog mainboard, the printed circuit board in 3D

    Templog mainboard

    Michael-Manning/E-Paper-Climate-Logger

    Firmware, PCB, and enclosure for the Weathergotchi E-Paper climate logger.

    68 parts457MIT
  • 2 layers83.2 × 40 mmSmartdisplay, the printed circuit board in 3D

    Smartdisplay

    BearLaboratory/smartdisplay-hardware

    2.9寸墨水屏个人显示终端硬件显示

    46 parts175GPL-3.0
  • 4 layers25 × 20 mmRP2040-Decoder, the printed circuit board in 3D

    RP2040-Decoder

    gab-k/RP2040-Decoder

    Cost effective DIY DCC Decoder for model railroad locomotives

    68 parts131
  • 2 layers45 × 45 mmAeroq Hardware v3, the printed circuit board in 3D

    Aeroq Hardware v3

    EnriqueNeyra/Aeroq

    An Indoor Air Quality Monitor Powered by ESP32, SCD40, and SEN54

    56 parts130
  • 2 layers35 × 45 mmAether, the printed circuit board in 3D

    Aether

    EnriqueNeyra/aether

    All-in-one home air quality monitor measuring Temp, Humidity, CO2, VOCs, Particulate Matter, and NOx. Powered by ESP32-C3 running esphome, and built with Home Assistant integration

    57 parts129
  • 2 layers69.4 × 113 mmEpaper reader hw, the printed circuit board in 3D

    Epaper reader hw

    mathias4833/epaper-reader-hw

    An open-source e-paper reader

    126 parts75CERN-OHL-W-2.0
  • 4 layers36.5 × 69 mmStorm tracker, the printed circuit board in 3D

    Storm tracker

    solderable/storm-tracker-hardware

    Open-source-ready Storm Tracker hardware design, documentation, BOM, and manufacturing package

    102 parts58

Questions

How big is the Ocn ePaper PCB?

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

What parts does the Ocn ePaper use?

36 parts, built around the MSP430FR2422IPW16, 5819WS and SI1308EDL. 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 Ocn ePaper KiCad files?

From the z2amiller/ocn-ePaper repository on GitHub, at the commit this page was made from: the board is ocn-ePaper.kicad_pcb and its schematic ocn-ePaper.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ocn ePaper design in my own project?

Its repository publishes it under the CERN-OHL-P-2.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).