E. Matt Armstrong
Published © GPL3+

LED Matrix Scrolling Marque Badge

I wanted to make a conversation starter for meeting people at the Southeast Linuxfest, since I am not good at meeting new people.

IntermediateFull instructions provided10 hours366
LED Matrix Scrolling Marque Badge

Things used in this project

Hardware components

16wms137 2500mha slim battery
×1
MAX7219 Dot Matrix MCU LED Display
×2
ESP32 Development Board
×1

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

LED Matrix Scrolling Marque Badge Case

This is the badge case, other pieces slide down into this.

2 8x8 LED Matrix holder

Holds the 2 MAX7219 8x8 LED matrix and slides down into case so LEDs face out through big hole in case

Rear Badge cover esp32 chip holder

This piece holds the esp32 chip and slides down into the last slot of the case.

ESP32 chip cover

Cover for rear of badge to cover the esp32 chip

Schematics

LED Matrix Scrolling Marque Badge

Connect ESP32 spi pins to dot matrix and connect battery to ESP32

Code

Badge Code

Arduino
Add the text to say what you want and load it into the esp32 chip, also install the LedMatrix.h library.
#include <SPI.h>
#include "LedMatrix.h"
#define NUMBER_OF_DEVICES 2 //number of led matrix connect in series
#define CS_PIN 15
#define CLK_PIN 14
#define MISO_PIN 2 //we do not use this pin just fill to match constructor
#define MOSI_PIN 13

LedMatrix ledMatrix = LedMatrix(NUMBER_OF_DEVICES, CLK_PIN, MISO_PIN, MOSI_PIN, CS_PIN);
  
void setup() {
  ledMatrix.init();
  ledMatrix.setText("Scrolling Text Goes Here");
  
}

void loop() {
  ledMatrix.clear();
  ledMatrix.scrollTextLeft();
  ledMatrix.drawText();
  ledMatrix.commit();
  delay(50);
  }

Credits

E. Matt Armstrong

E. Matt Armstrong

1 project • 0 followers
I have been into electronic since a kid. I have been tinkering with Arduino and RaspberryPi since they came out.

Comments