Skip to content

meadiode/vin_display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vintage display module

A series of RP2040 based display modules for 3d-printers using dot-matrix, or 16-segment vintage display ICs. Intended to be used with Klipper firmware.

Currently the following displays were built and tested:

VinDisplay mdl2416c_x10

Display module features ten MDL2416C which are 4-character 16-segment LED displays. VinDisplay mdl2416c_x10

VinDisplay hdsp2112_x6

Display module features six HDSP-2112 which are 8-character 5x7 LED dot-matrix displays. VinDisplay hdsp2112_x6

DemoBoard 1

Simplistic demo-board to evaluate MDL2416C(16-segment LED display), 8 of them are driven by a pico_w. The board just displays current time and date and also prints custom message through a web-interface. DemoBoard1

Building Firmware

Prerequisites

Generally, refer to the official Getting started guide

You'll need to have:

  • ARM embedded gcc toolchain
  • GDB (gdb-multiarch)
  • Pico SDK
  • Pico probe
  • FreeRTOS
  • Pico OpenOCD

The following environment constants should be defined:

PICO_SDK_PATH=/* Path to the root of pico-sdk directory */
FREERTOS_KERNEL_PATH=/* Path to the root of FreeRTOS kernel directory */

Configuring and building

cd src
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..

make

Running and debugging

Connect the picoprobe to the target pico_w board according to the "getting started guide", then run the following:

cd [Pico OpenOCD source directory]
sudo src/openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -s tcl

It should start a GDB server on the default port 3333.

To flash and run/debug the firmware navigate to the project's directory and run the following:

cd build
gdb-multiarch ./<binary name>.elf

Once GDB started:

target remote :3333
load
monitor init reset
cont

About

Vintage display module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published