Skip to content

sheffieldhackspace/AS1100

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AS1100

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

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/AS1100

Dependencies

Usage

#include <AS1100.h>

AS1100 display1 = AS1100(D5, D6, D4);
AS1100 display2 = AS1100(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("Sheffield");
    display2.display();
}

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

Since AS1100 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