Skip to content

sheffieldhackspace/display-infotec-bay-indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

display-infotec-bay-indicator

An Adafruit GFX compatible driver for the Infotec bay indicator AS1100-based dot matrix display.

Picture of the bay indicator display removed from the enclosure

Hardware

  • Display dimensions: 192 × 9
  • Number of displays: 2
  • Operating voltage: 3.3V
  • Power voltage: 5V

Schematic

Screenshot of a schematic presenting the pinout

See the KiCad project for the full schematic.

PCB Design

Screenshot of a PCB design from KiCAD

Prototype

Photo of the prototyped circuit board

Installation

Add the following to your platformio.ini:

lib_deps =
    adafruit/Adafruit BusIO
    adafruit/Adafruit GFX Library
    https://github.com/sheffieldhackspace/display-infotec-bay-indicator

Dependencies

Usage

#include <BayIndicator.h>

BayIndicator display1 = BayIndicator(D5, D6, D4);
BayIndicator display2 = BayIndicator(D8, D7, D9);

void setup() {
    delay(1000); // Give the display a moment to power up before configuring it

    display1.begin();
    display1.fillScreen(0);
    display1.setCursor(1, 1);
    display1.print("Sheffield");
    display1.display();

    display2.begin();
    display2.fillScreen(0);
    display2.setCursor(1, 1);
    display2.print("Hackspace");
    display2.display();
}

void loop() {
    // update displays as needed
    display1.display();
    display2.display();
}

Since BayIndicator inherits from GFXcanvas1, the full Adafruit GFX API is available for drawing text, shapes, and bitmaps. Call display.display() to flush the canvas to the hardware.

Examples

Three examples are included in the examples/ directory. To build and flash them, clone the repository and run:

# Show a hardware test pattern
pio run -t upload -e test

# Show a checkerboard pattern
pio run -t upload -e checkerboard

# Scroll two lines of text around the display
pio run -t upload -e movingwords

Acknowledgements

Inspired by the works of alifeee and ConnectedHumber. The reverse engineering work of the display's segment layout and SPI protocol was instrumental in the development of this library.

About

An Adafruit GFX compatible driver for the AS1100 bus station dot matrix display.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages