日本語での説明は下記を参照して下さい.
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.)
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
You need wringPi 2.52 or later for Raspberry Pi 4B.
http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/
git clone https://github.com/ryomuk/gu3000.git
cd gu3000/src
make
cd examples
make (or cd to subdirectory and make)
Test and benchmark of basic drawing methods.
cd gu3000/src/examples/test
make
./test
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.
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
Conway's Game of Life.
cd gu3000/src/examples/lifegame
make
./lifegame
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
Show bmp file.
cd gu3000/src/examples/showbmp
make
./showbmp 256128sample.bmp
View text file. Several fonts are available.
cd gu3000/src/examples/viewtxt
make
./viewtxt sample.txt
View console by copying /dev/fb0 to VFD.
Xwindow on the VFD module.