Skip to content

achilikin/mk-52

Repository files navigation

Elektronika MK-52 (Электроника MK-52) VFD Scanner for OLED display

MK-52 Elektronika VFD Scanner for OLED Display

Used components

  • Elektronika MK-52, 1990, bad display
  • Elektronika MK-52, 1993, working display for tests
  • SMT32F103C8T6 (Robodyn Bluepill) to scan MK-52 VFD
  • 256x64 SH1122 based OLED to replace MK-52 VFD
  • B0505S-1W Isolating DC-DC

So we can go from this (the minus sign and the first digit '1' are almost invisible in real life):

vfd-failing

to this:

mk-52-oled

and finaly to this:

mk-52-oled-green

Command line

Serial terminal can be connected at 38400 baud, the following commands are supported:

> help
UID: 066FFF38-3739574D-FFFFFFFF
Running at: 72000000
Version: 2021-06-26
Commands:
    reset
    info
    print scan on|off
    print hex on|off
    print key on|off
    oled on|off
    oled reset
    oled clear [$color]
    oled font $color_value
    oled print $str
    oled line $start_line
    oled rotate on|off

Image size:

   text    data     bss     dec     hex filename
  20660     120    7408   28188    6e1c build/mk-52.elf

Pinouts, wiring and output

Original HAL code generated by STM32Cume-MX in some cases was replaced with simple CMSIS registers manipulation.

STM32CubeMX Pinout View:

mx-cube-pinout

Robodyn Bluepill Pinout View:

blue-pill-pinout

ИЛЦ2-12/8Л VFD Pinout:

ilc2-12-8l-pinout

Wiring used for debugging:

mk-52-stm-wiring

VFD Multiplexing Scan Cycle:

mk-52-vfd-scan

Serial Port output for 12 x 4 = 48; 0 / 0 = ЕГГОГ; BП; Е.ГГОГ; B↑; .:

mk-52-terminal

Font sketchup:

mk-52-oled-font

Remember not to divide by zero, or you get:

mk-52-error

Reference

Making Elektronika MK-52 VFD scanner

Making OLED Display for Elektronika MK-52

Infiltration into the Elektronika MK-52 Architecture

MK-61 Emulation

Some experiments with hacking the ЭЛЕКТРОНИКА МК-61

Elektronika MK-52 by Guillaume Tello

About

OLED display for Elektronika MK-52

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages