Skip to content

Arduino driver for VFDs based on the Mitsubishi M66004 controller IC

License

Notifications You must be signed in to change notification settings

mlaux/mitsubishi-vfd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mitsubishi-vfd

This is an Arduino library that allows the board to control vacuum fluorescent displays based on the Mitsubishi M66004.

Example

Connect the display's serial data input to the MOSI output of your Arduino, and connect the display's clock input to the Arduino's SCK. For the Arduino Uno, these pins are 11 and 13 respectively.

Finally, connect the display's Chip Select input to any available digital I/O pin on the Arduino. I used pin 2 in the following example.

#include <SPI.h>
#include "mitsubishi_vfd.h"

#define CS_PIN 2
#define DISPLAY_WIDTH 16

vfd_t vfd;

void setup(void)
{
  SPI.begin();
  vfd_init(&vfd, CS_PIN, DISPLAY_WIDTH);

  vfd_set_position(&vfd, 0);
  vfd_write_string(&vfd, "helloooo!");
}

Custom Character Generator

chargen.html is a simple JavaScript app for generating custom characters in M66004 format. Toggle the pixels and the page will generate an array for use with vfd_define_custom_char().

Further documentation is available in mitsubishi_vfd.h.

About

Arduino driver for VFDs based on the Mitsubishi M66004 controller IC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published