Author: Nishil Patel
Platform: RISC-V (Vega Aries V3 – C-DAC)
Project Type: Academic & Experimental
Status: Stable / Actively Maintained
AriesDMD is a modular display driver library designed specifically for P10 and HUB75 LED matrix panels on RISC-V based Vega Aries V3 boards. It supports:
- 🟢 Monochrome P10 panels (32×16, 1/4 scan)
- 🌈 RGB HUB75 panels (32×16, 1/8 scan and beyond)
Most existing LED matrix libraries were written for AVR-based Arduino boards like Arduino UNO. Unlike traditional Arduino libraries designed for AVR microcontrollers, AriesDMD is built specifically for the Vega Aries architecture to provide:
- Stable scanning
- Correct pixel mapping
- Flicker-free refresh
- Multi-panel support
- Clean framebuffer rendering
- Deterministic and timing-safe scanning
- RISC-V friendly architecture
- Clean pixel mapping independent of wiring
- Modular RGB / Mono architecture
- Large multi-panel scalability
- Future-ready for IoT text streaming
🟢 Supported Hardware: Microcontroller Vega Aries V3 (C-DAC)
| Description | Interface | Pixels | Scan | Code module |
|---|---|---|---|---|
| Monochrome P10 panels | HUB12 | 32x16 | 1/4 | AriesDMD.h, AriesDMD.cpp |
| Indoor RGB | HUB75 | 32x16 | 1/8 | AriesRGB32x16.h, AriesRGB32x16.cpp |
| 80x40 | 1/20 | AriesRGB.h, AriesRGB.cpp |
Features:
- Multi-panel cascading
- Text rendering
- 8 colour options
- Pixel drawing
- Single Panel:
(0,0) -----------------> X
|
|
|
v
Y
- Top left corner: (0,0)
- Bottom right corner: (W-1,H-1)
- Multi Panel: Multiple panels are treated as one continuous display canvas.
- Example: AriesDMD dmd(4,1,...);
- Creates: 128 × 16 display
Open Arduino IDE / Download and install Arduino IDE 1.8.19
Open File->Preferences, Add below JSON in "Additional Boards Manager URL", Press OK
https://gitlab.com/riscv-vega/vega-arduino/-/raw/main/package_vega_index.json
Open Tools->Boards->Board manager, Search for "vega"
Install "VEGA ARIES Boards" with latest version from the link provided
Select Tools->Board->VEGA Processor: ARIES Boards->ARIES v3

Check your ARIES board whether the BOOT SEL pin is shorted using a jumper or not.

Important:
If
BOOT-SEL jumper (J12) is shorted :
a) Select Flash Mode -> Enabled
b) Select Tools -> Programmer -> VEGA FLASHERElse
a) Select Flash Mode -> Disabled
b) Select Tools -> Programmer -> VEGA XMODEMHere the BOOT SEL pin is shorted, so we have enabled the flash mode and selected VEGA FLASHER from programmer option.
Connect the ARIES board to PC
Select Tools -> Port -> COM* (ARIES Board)
|
|
|
|
RGB library supports 8 basic colors using ON/OFF RGB channels.
Format: AriesDrawString(display,1,0,"HELLO",R,G,B);
Example: AriesDrawString(display,1,0,"HELLO",1,1,0);
↑
Change color from here
| R | G | B | Color |
|---|---|---|---|
| 0 | 0 | 0 | Black |
| 1 | 0 | 0 | Red |
| 0 | 1 | 0 | Green |
| 0 | 0 | 1 | Blue |
| 1 | 1 | 0 | Yellow |
| 1 | 0 | 1 | Magenta |
| 0 | 1 | 1 | Cyan |
| 1 | 1 | 1 | White |
|
|


