Skip to content

LED dot matrix experiment

Hummingbird based LED dot matrix experiment

Project name:Hummingbird-based LED dot matrix experiment

Specific requirements:to achieve the LED dot matrix cycle through Hummingbird to display the name of this development board.

Introduction of the LED dot matrix:

LED dot matrix screen is composed of LED (light emitting diode), the light beads light up and down to display text, pictures, animation, video, etc., is modular display components, usually by the display module, control system and power supply system. LED dot matrix display is simple to produce, easy to install, is widely used in various public places, such as car annunciators, advertising screens and bulletin boards, etc.

Take a simple 8X8 dot matrix for example, it consists of 64 light-emitting diodes, and each light-emitting diode is placed on the intersection of the line and column lines, when the corresponding line set 1 level, a column set 0 level, the corresponding diode will light; such as the first point to light up, then the 9 pin to high level 13 pin to low level, then the first point will light up; if the first line to light up, then the 9 pin to connect high, and (13, 3, 4, 10, 6, 11, 15, 16) these pins to low, then the first line will be lit; such as to light the first column, then the 13 pin to low, and (9, 14, 8, 12, 1, 7, 2, 5) to high, then the first column will be lit.

Experimental procedure:

Burn the Hummingbird IP core into the fpga.

Put the fpga project file into a non-Chinese directory.

1、Connect: jtag port to xilinx jtag. user jtag port to connect.

3、Download the ip core of Hummingbird e200 to the development board.

As shown in the figure.

Compile and download the c program.

Select demo

Open the configured virtual machine, and open the directory

/home/a/desktop/1/sirv-e-sdk/software/demo_gpio

Copy demo_gpio. from the file "led dot matrix cyclic display board name" to the above directory.

As shown in the figure below

Compile and download the demo

Connect userjtag to the virtual machine

As shown in the figure:/home/a/desktop/1/sirv-e-sdk/bsp/env/sirv-e203-arty

Open the directory /home/a/desktop/1/sirv-e-sdk

Compile the target file: open a terminal in the directory and type make upload PROGRAM=demo_gpio BOARD=sirv-e203-arty

As shown in the figure.

Download the target file: Open a terminal and type make upload PROGRAM=demo_gpio BOARD=sirv-e203-arty

As shown in the figure.

If the following message appears during the process, the download is successful:

If there is an error in the download and the device is not found, as shown in the figure.

then it may be that the device name needs to be changed. Open the directory

/home/a/desktop/1/sirv-e-sdk/bsp/env/sirv-e203-arty

and open the file shown in the following figure.

Open the file and change the information in the figure to the corresponding device name.

The display effect is PERF-V The cyclic display part of the picture is as follows.

The 8*8 dot matrix schematic diagram is as follows

The wiring of the board is as follows

If you want to modify the display content, use the mold taking software and put the mold taking data into the table array of the program, as shown in the figure: