/gu3000

Library for Noritake Itron GU3000 series (GU3100 and GU3900) dot matrix VFD module using parallel interface graphic DMA mode for Raspberry Pi

Primary LanguageCMIT LicenseMIT

gu3000

日本語での説明は下記を参照して下さい.

Library for Noritake Itron GU3000 series (GU3100 and GU3900) VFD module parallel interface graphic DMA mode for Raspberry Pi

See documents in docs for further information. (Most of them are in Japanese, but Google or DeepL will translate them.)

Hardware configuration

Raspberry Pi 4/ Zero/ Zero W
GPIO
18  19  20...27
^  
|   |   | ...|  3.3V
 Level converter 
|   |   | ...|  5.0V
    v   v    v
RDY WR_ D0...D7
VFD module

How to build

git clone https://github.com/ryomuk/gu3000.git
cd gu3000/src
make
cd examples
make (or cd to subdirectory and make)

Examples

test

Test and benchmark of basic drawing methods.

cd gu3000/src/examples/test
make
./test

fonttest

Show installed fonts.

cd gu3000/src/examples/fonttest
make
./fonttest

MICR(Magnetic Ink Character Recognition) like font.

Hitachi H68/TR 7-segment LED console font.

showwire

Show wire frame model. Many object models are available from https://people.sc.fsu.edu/~jburkardt/data/obj/obj.html

cd gu3000/src/examples/showwire
make
./showwire teapot.obj

click image to play movie

lifegame

Conway's Game of Life.

cd gu3000/src/examples/lifegame
make
./lifegame

playbmp

Play bitmap video data (rawvideo of ffmpeg).

cd gu3000/src/examples/playbmp
make
ffmpeg -i sample.mp4 -s 128x256 -pix_fmt monob -c:v rawvideo -f rawvideo -vf transpose=0 -an - | ./playbmp
or
./play.sh

Make rawvideo file and play. (for raspberry pi zero (low CPU power))

ffmpeg -i sample.mp4 -s 128x256 -pix_fmt monob -c:v rawvideo -f rawvideo -vf transpose=0 -an - > sample.bmp
or
./makebmp.sh
./playbmp sample.bmp

Click to play movie

showbmp

Show bmp file.

cd gu3000/src/examples/showbmp
make
./showbmp 256128sample.bmp

viewtxt

View text file. Several fonts are available.

cd gu3000/src/examples/viewtxt
make
./viewtxt sample.txt

console

View console by copying /dev/fb0 to VFD.

Xwindow

Xwindow on the VFD module.

click image to play movie