Skip to content

Arduino support for Joey 4-digit LED display from Gooligum Electronics.

License

Notifications You must be signed in to change notification settings

alw1746/Joey_LED_Backpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino support for Joey 4-digit LED display.

The Joey board from Gooligum Electronics is a nifty 4-digit LED display that is designed to press-fit onto the first 26 pins of a Raspberry Pi. The holes on the PCB are slightly offset from a standard 2.54mm grid so that the pin-to-hole friction maintains the contact. Besides LEDs, there are 3 pairs of male headers which can be used for switch input. A Holtek HT16K33 controller handles all the 7 segment interfacing requirements. See this Kickstarter page for background information.

RPi Joey

Python code support is available from their github site and I have created a C++ class library here for Arduino. For this project, an ESP-32 was connected to Joey but the code should work on any microcontroller supported by the Arduino framework eg ATmega328, STM32, etc.

ESP32 Joey

Header pins

Note: Adafruit LED Backpack library which also supports the Holtek HT16K33 chip does not play well with this board. The library uses 8 contiguous bits in the display buffer for each digit whereas Joey uses 16 bits to map the segments. As a result, the Adafruit's sevenseg test program show digits with missing segments.

Wiring diagram

ESP32-Joey wiring

Pin Connections

Joey Pin Name
1 3.3V
2 5V
3 SDA
4
5 SCL
6 GND

Software

Sample applications which uses the Joey_LEDBackpack class library are found under the examples directory. Clone this repository and and unzip to your .../Arduino/libraries folder.

  1. RandomNumbers.ino - Display various patterns on the 4-digit LEDs depending on jumper settings.
    RandomNumDisplay output

  2. ShowAll.ino - Light up every segment on the Joey board in a loop and show corresponding pin-to-segment mappings in the serial monitor. Very useful debug tool.
    ShowAll output

  3. ReadKeys.ino - Read the state of the jumpers (JP1-JP3) and light up a dot. The jumpers are the functional equivalent of a DIP switch.
    ReadKeys

  4. sevenseg.ino - Adafruit LED Backpack sevenseg example modified to instantiate Joey_7segment class instead of Adafruit_7segment. No other changes required.
    ReadKeys

About

Arduino support for Joey 4-digit LED display from Gooligum Electronics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages