Skip to content
/ DeskCube Public

Display scrolling text and icons on an 8x8 LED matrix using a serial protocoll

License

Notifications You must be signed in to change notification settings

sgdw/DeskCube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeskCube

Display scrolling text and icons on an 8x8 LED matrix using a serial protocoll.

Hardware

  • Board: Arduino Nano
  • Processor: ATmega328
  • a 8x8 LED matrix (MAX7219 or MAX7221 driver)

Wiring

A.+5v <-> LCD.VCC
A.GND <-> LCD.GND
A.D12 <-> LCD.DIN
A.D11 <-> LCD.CLK  ! crossed vvv
A.D10 <-> LCD.CS   ! crossed ^^^

Serial Commands

0                  Idle
s<text>            Scroll text
l<slot><bytes>     Load 8 bytes into slot
h<slot><char>      Load character into slot
i<action><icon*>   Show/hide icon(s) (action can be '+' or '-';
                     icon can be number or '*' for all)
f<bytes>           Show frame using 8 byte values
F<char>...<char>   Show frame using 8x8 chars ('x' is on ' ' is off)
C<char>            Show character
c                  Clear display
b<action>          Turn blinking on or off (action '+' is on; '-' is off)

External Libraries

LedControl: http://wayoda.github.io/LedControl/

font8x8: https://github.com/dhepper/font8x8/blob/master/font8x8_basic.h

Example Graphics

Balloon

...........
 xxxxxx
x    xxx
xx  xxxx
 xxxxx  
   x    
    x    
  x     
   x    
...........

F xxxxxx x    xxxxx  xxxx xxxxxx    x        x      x        x   
-1234567812345678123456781234567812345678123456781234567812345678
-        +       +       +       +       +       +       +

About

Display scrolling text and icons on an 8x8 LED matrix using a serial protocoll

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages