Skip to the content
2 layers100 × 90 mmMcu board, the printed circuit board in 3D

STM32 Nixie clock project.

Size
100 × 90 mm
Copper layers
2
Thickness
1.6 mm
Parts
66
Nets
79
Pads
285
Tracks, vias
398, 0
Pours
4
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
28 Dec 2022
Updated
31 Jul 2025

Overview

Mcu board is an open-source printed circuit board by Kononenko-K, from the Kononenko-K/IN12-STM32-Nixie-Clock repository on GitHub. It is a 2-layer board of 100 × 90 mm with 66 parts on 79 nets, routed with 398 tracks and 0 vias.

It is built around the TC7660M/TR, NSG4427 and CGA0603X5R105K160JT, with the HCZZ0015-5, SMTSO3080MTJ and WS2812B among its other parts. Its parts include 21 capacitors, 11 diodes, 10 resistors, 5 connectors and 4 ICs. It belongs with the lEDs and displays and microcontroller boards boards and the STM32 boards of this library.

Main components

12

README

README.md

IN12-STM32-Nixie-Clock

STM32 Nixie clock project with four Soviet IN-12 indicators.


Overview


This project provides a complete solution for building an STM32-powered Nixie clock with Soviet IN-12 tubes. It operates on a 5V power supply via a Type-C connector and features an internal high voltage generator.

Hardware


Display Module

  • Utilizes the K155ID1 (equivalent to SN74141N) as a high-voltage BCD-to-decimal decoder.
  • Drives four Nixie tubes using dynamic scanning with TLP627 optocouplers.

Controller Module

  • Based on the STM32F103C8Tx microcontroller, featuring:
    • Internal RTC peripheral for timekeeping;
    • Battery input for maintaining time during power off;
    • Boost converter for high-voltage generation using a PWM signal from one of the MCU's timers;
    • Four WS2812B addressable RGB LEDs for tube illumination.

Connection Guide

Display ModuleController Module
A1PA4
A2PA6
A3PB0
A4PB2
-------------------------------------------
D0PA5
D1PB1
D2PB10
D3PA7
-------------------------------------------
NEPA10
-------------------------------------------
+180VHV
-------------------------------------------
+5V+5V

Connect all respective GNDs together.

Firmware

The firmware is developed as a Makefile project, generated with STM32CubeMX. It can be built using:

sh
make clean && make

To upload the firmware, use ST-LINK/V2 and OpenOCD with the following command:

sh
openocd -f interface/stlink.cfg \
          -f target/stm32f1x.cfg \
          -c "init; reset halt; flash write_image erase ./build/new_nixie.bin 0x08000000; reset halt; exit"

The code implements firmware protection and it can be removed with:

sh
openocd -f interface/stlink.cfg \
          -f target/stm32f1x.cfg \
          -c "init; reset halt; stm32f1x unlock 0; reset halt; exit"

For convenience, you can use the provided scripts:

The boost converter's duty cycle may require adjustment based on component type. Additionally, delay settings can be fine-tuned for optimal tube switching. The firmware includes a feature to prevent cathode poisoning by cycling through all tubes every 5 minutes. Also, there are 15 different modes of illumination using addressable LEDs.

License

  • The Firmware in this project is licensed under the MIT License, with the exception of portions of the firmware code that are copyrighted by STMicroelectronics; such portions are subject to the original licensing terms provided by STMicroelectronics.
  • The Hardware in this project is licensed under the CERN Open Hardware Licence Permissive (CERN OHL-P).

Parts

66
QtyValueFootprintReferences
11CGA0603X5R105K160JTCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC5, C6, C7, C8, C9, C10, C11, C18, C19, C20, C21
65k1Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR1, R2, R4, R5, R7, R11
41N5819Diode_SMD:D_SOD-123D2, D3, D10, D11
422pCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC1, C2, C3, C4
4HCZZ0015-5Connector_Molex:Molex_PicoBlade_53398-0571_1x05-1MP_P1.25mm_VerticalJ1, J4, J7, J8
4SMTSO3080MTJMounting_Wuerth:Mounting_Wuerth_WA-SMSI-M3_H8mm_9774080360H1, H2, H3, H4
4WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD6, D7, D8, D9
310RResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR6, R9, R10
310uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC14, C15, C16
3XKB5858-W-F-75nixie:XKB5858-W-F-75SW2, SW3, SW4
2189RV165Capacitor_SMD:CP_Elec_8x10C12, C13
11MResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR8
1AP1117-33Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1Battery_CellBattery:BatteryHolder_Seiko_MS621FBT1
1CYH127-220UHInductor_SMD:L_Wuerth_WE-PD-Typ-LS_HandsolderingL1
1GVE1C477M0810CNVCCapacitor_SMD:CP_Elec_8x10C17
1JK-MSMD050-30Fuse:Fuse_1812_4532Metric_Pad1.30x3.40mm_HandSolderF1
1NSG4427Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU3
1SMAJ250ADiode_SMD:D_SMAD5
1SMAJ5.0ADiode_SMD:D_SMAD4
1STD4NK60ZT4Package_TO_SOT_SMD:TO-252-2Q1
1STM32F103C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU2
1SYM_Flash_Largecustom:HighVoltageSYM1
1TAXM8M4RFDCET2TCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1TC7660M/TRPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU4
1TS-1101-C-WButton_Switch_SMD:SW_SPST_CK_RS282G05A3SW1
1US1MDiode_SMD:D_SMAD1
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_Palconn_UTC16-GJ5
1XKXGI-SUA-32.768KCrystal:Crystal_SMD_G8-2Pin_3.2x1.5mm_HandSolderingY2

More from Kononenko-K/IN12-STM32-Nixie-Clock

1
  • 2 layers96.6 × 50.1 mmNixie display, the printed circuit board in 3D

    Nixie display

    Kononenko-K/IN12-STM32-Nixie-Clock

    STM32 Nixie clock project.

    30 parts3

Similar boards

  • 4 layers142 × 119.7 mmQMTech MiSTeX, the printed circuit board in 3D

    QMTech MiSTeX

    MiSTeX-devel/MiSTeX-hardware

    Hardware for MiSTeX

    247 parts73
  • 4 layers95.9 × 46 mmDragon 4L R02, the printed circuit board in 3D

    Dragon 4L R02

    CyberSaiyanIT/why2025-badge

    Cyber Saiyan community has designed and developed a special gadget for WHY2025. The badge was designed to recall the dragon spheres, and is an updated version of RomHack Camp 2022 badge, both in term of design and…

    127 parts10MIT
  • 2 layers37 × 70.9 mmOpendiag, the printed circuit board in 3D

    Opendiag

    maximus64/opendiag-hardware

    OpenDIAG - Open Source OBD2 Interface (Hardware)

    148 parts5CERN-OHL-S-2.0
  • 4 layers60.1 × 105.8 mmMini boat pcb, the printed circuit board in 3D

    Mini boat pcb

    PUT-POWERTRAIN/mini-boat-pcb

    63 parts
  • 2 layers251.6 × 177.8 mmMelbourneTrainTracker, the printed circuit board in 3D

    MelbourneTrainTracker

    itsmevjnk/MelbourneTrainTracker

    Melbourne Train Tracker project repository (SIT210, T1/2025)

    1,071 parts40
  • 2 layers285 × 94.6 mmPH60 Rev3, the printed circuit board in 3D

    PH60 Rev3

    ph-design/PH60

    A printable 60% multi-layout wireless keyboard suite.

    264 parts163

Questions

How big is the Mcu board PCB?

It measures 100 × 90 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Mcu board use?

66 parts, built around the TC7660M/TR, NSG4427, CGA0603X5R105K160JT and HCZZ0015-5. 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 Mcu board KiCad files?

From the Kononenko-K/IN12-STM32-Nixie-Clock repository on GitHub, at the commit this page was made from: the board is Hardware/mcu board/mcu board.kicad_pcb and its schematic Hardware/back/back.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mcu board design in my own project?

Its repository states no licence, so its author keeps all rights: ask Kononenko-K before reusing the design.