The Bit Banged Banner

View Code here: https://github.com/emdarcher/bit_banged_banner

Hardware Information:

The whole circuit is powered by a 5V DC supply. I used a small homemade board with a 7805 5V regulator connected to a 12V DC wall-plug transformer, but really any 5V DC source that can supply over 1A current should be safe.

Schematic Diagram:

Full Size PDF here.

Schematic of the Circuit

Noritake Itron GU20X8:

This is a nice 20x8 pixel Blue/Red Vacuum Fluorescent Display that is controlled through a Parallel type interface. You can find these for pretty cheap from China for around $16 USD on Ebay or Aliexpress.

Some example links:

There is not a lot of documentation that I could find for these displays. But cawapy, a kind user on GitHub created a repository that documents interfacing with this device in great detail, including an Arduino Example. If you want to try these displays out, I highly recommend reading their docs.

The repository can be found here: https://github.com/cawapy/GU20X8

Another awesome example using this display was done by user natalie on hackaday.io doing video and audio output for the Classic Japanese "Bad Apple!!" animated music video.

Link to the project: https://hackaday.io/project/164433-bad-apple-color-vfd-ver

Futaba T202MD15AA:

This is your typical Serial interface 20x2 Character VFD salvaged from an old Point of Sale (POS) machine.

Notes on interfacing with the serial character VFD:

8051 Microcontroller:

I used an AT89C51 which is one of many 8051 clones out there, but really any 8051 compatible chip should work, with a possible few minor modifications.

I've been learning to use 8051 MCUs just for fun recently, so decided to use one in this project because I already had one ready to go. It's an old MCU type, but I have been enjoying it so far.

LEDs:

I have two LEDs attached to pins on the MCU for debugging purposes. Feel free to remove them and the code for them if you don't want the LEDs. One is a Timer interrupt driven blinker, just to show that the MCU is alive. The other debug LED will start blinking only after all the display write instructions have finished, to verify that nothing is getting stuck, like waiting for the display "BUSY" signal to go LOW, or something else.

Programming Information:

For the Code, I used the Open Source Small Device C Compiler (sdcc) for compilation. I used a Mac this time, but it should work on Linux as well. Don't know much for Windows, but it's probably similar. On Mac this can be installed using HomeBrew with brew install sdcc. On Linux, you can use your package manager, or just install from source.

Compilation:

To compile the code simply use sdcc like so:

sdcc main.c

After compilation you need to convert the Intel Hex *.ihx output to a regular hex file *.hex. You can do this using the packihx tool that comes with SDCC.

To convert the main.ihx file and write the output to the new file main.hex:

packihx main.ihx > main.hex

The compiled firmware will be around 1KiB in size when flashed to the microcontroller.

Flashing the Microcontroller:

To Flash the Microcontroller I used the TL866CS MiniPro Programmer, which seems to be able to flash almost any MCU or EPROM I've found. Any TL866 version should work. I use this programmer because it has a great Open Source tool available for it called minipro which you can find here: https://gitlab.com/DavidGriffith/minipro/

To flash we use the tool miniprohex from minipro, as it can flash using a *.hex file. The programming command I used is below. NOTE: If you are using a different 8051 clone instead of the at89c51 then make sure to change that part of the command.

miniprohex -p at89c51 -w main.hex -s