An Adafruit GFX compatible driver for the AS1100 bus station dot matrix display.
- Display dimensions: 192 × 9
- Number of displays: 2
- Operating voltage: 3.3V
- Power voltage: 5V
See the KiCad project for the full schematic.
Add the following to your platformio.ini:
lib_deps =
adafruit/Adafruit BusIO
adafruit/Adafruit GFX Library
https://github.com/sheffieldhackspace/AS1100- Adafruit BusIO
- Adafruit GFX Library
- ESP32 with FreeRTOS (required for the keepalive task)
#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.
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 movingwordsInspired 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.


