Making 8×10 LED matrix with Arduino

Posted by: Transporter  • Information section:Home appliance

The LED matrix is some of the most popular projects built using Arduino s. Using LEDs is very interesting, and the output from them is fascinating. You can use these matrices for a variety of applications to create signboards with scrolling text and animations. Building it is really cheap and simple, it can be easily reprogrammed using Arduino. You can even customize it to work with the output of your music system, so we can get cool, synchronized visuals.

In this tutorial, I will show you how to build a fancy 8×10 Arduino LED matrix (with scrolling text and animation) using the Arduino and 4017 decade counters. You can also purchase assembled LED matrices online. This type of matrix is ​​easy to create and program, and is a good way to learn to multiplex.

Making 8×10 LED matrix with Arduino

How does the LED matrix work? The entire Arduino LED Matrix project works on multiplexing. Here, the Arduino connects to the 4017 decade counter IC and sends data through two lines. The multiplexed data from the Arduino is then decoded by the 4017 IC into a separate signal for the LED. It then drives the corresponding LEDs in each row. The selection of the right LED for the soldering matrix is ​​one of the most important parts of the project. Because choosing the right project is critical to the execution of the project. I recommend using 5mm diffused LEDs because they provide considerable brightness and provide a clear image.

Making 8×10 LED matrix with Arduino


5mm diffused LED soldering Arduino LED matrix is ​​a tricky part, there are many ways to do this, and I will share my approach with you. You need to connect all the positive leads of the LEDs in the IC column and connect the negative leads in the row. You can solder the LEDs on it using the solder joint prototyping board. Push the LED through the adjacent hole on the board. Use the Circuit diagram below to connect the Arduino LED matrices together. Then, take the positive lead of the first LED and bend it down to the other LEDs and solder the pins that touch each other. Next, remove the last wire you soldered and bend it down again and repeat until you have connected all the positive wires in the column. Cut off extra length leads that you haven't used.

Now there is a new dilemma. That is to say: the negative pins are connected because they cannot be bent and soldered like the positive leads because they are shorted to each other. My approach saves a lot of time and is simpler. The trick is to place some tapes on the column connections and isolate them from the negative pins. If you do this, you can also bend the negative leads and connect them like the front. They won't break each other because they will be isolated. The circuit of the Arduino LED matrix is ​​shown below:
 

 

 

 

The Arduino LED matrix is ​​connected via resistors and you must connect each column to the Arduino (pins 0-7). The reset pin of the 4017 is connected to pin 8 on the Arduino, and the clock pin is connected to pin 9 on the Arduino.

Arduino LED matrix multiplexing

What is multiplexing?

It is basically a way to divide information into small chunks and send them one by one. This way you can save a lot of pins on the Arduino and keep your program simple. In our example, we split the image to be displayed into 10 (10 rows). We want to scan the rows of the matrix (lighting one row at a time) and send the information from the Arduino to the column. All columns are positive for the LED and the rows are negative. Therefore, if the first row is grounded and we send a signal to the first column, it will only illuminate the first LED in the row. In order to get a good display, we need to scan the lines very quickly, so that the human eye thinks that all the lines are connected at the same time.

Why choose IC 4017?

In order to control this Arduino LED matrix, the 4017 IC is the best method. This is a good website to learn the basics of the IC: 4017 IC. The 4017 decade counter helped us achieve multiplexing. The IC basically scans the rows of the matrix (one row at a time). In our semiconductor example, we want to connect the row to ground, but the 4017 provides a signal output and cannot ground the LED. In order to solve this small problem, we need to use a transistor with a resistor .

Through the resistor, you must connect each column to the reset pin of the Arduino (pins 0-7).4017 to pin 8 on the Arduino, and the clock pin to pin 9 on the Arduino. 4017 has 10 outputs Pin, so we need 10 resistors and 10 transistors. We connect the 1K resistor to the output of the 4017 and the other end to the base of the transistor, as shown in the circuit diagram at the top of this page. Next, we connect the collector of the transistor to the LED row and the emitter to ground. You can also use the BC547 NPN transistor.

Programming Arduino LED Matrix

I wrote a small program that scrolls through the text and adds all the letters and numbers. I used a port for my program because it saves space and is easier to handle.

If you don't know how to use the port on the Arduino, I suggest you visit the Arduino website to get some basic knowledge before you start. This is the link: Arduino port operation.

Port Control Example Port Control is very simple, please see the above figure as an example. The red dot indicates that the LED is ON and the white is OFF. In the first line of the matrix, to open the 2nd and 7th LEDs, we give the Arduino port command: B01000010. Here the 2nd and 7th bits are "1", which in turn turns the LED on. "B" indicates that the Arduino port is an output port. We do this exercise for all the lines, and finally, we will get a smile in the light, as shown above.

If you want to make your own images, I made an Excel tool that makes it easier to write images. You can find it in the zip folder I attached last.

Finally, don't forget to unplug pins 0 and 1 when uploading the program. These pins are also used as communication pins and may cause some errors in the program.



Tagged:

read ()  •  Sep 19, 2019  •  Edit


YOU MAY ALSO LIKE:

12v led circuit diagram-HV9910 circuit

Date: Sep 21, 2019  | Click 3 times

image

12v led circuit diagram
The LED driver module uses the HV991

benefits of led lighting

Date: Sep 21, 2019  | Click 6 times

image

benefits of led lighting
In the past two years, LED-related

12V LED driver circuit

Date: Sep 20, 2019  | Click 1 times

image

12V LED driver circuit

The buck/boost converter must be use

LED driver application and driving method

Date: Sep 20, 2019  | Click 1 times

image

At present, LED is developing rapidly, technology is becomin

What is a wireless LED control card

Date: Sep 20, 2019  | Click 10 times

image

What is a wireless LED control card
The wireless LED control

LED series and parallel drive circuit characteristics

Date: Sep 19, 2019  | Click 23 times

image

LED series and parallel drive circuit characteristics 1. LED

What is the cause of the LED flashing?

Date: Sep 19, 2019  | Click 10 times

image

The use of LEDs is the choice of every household. However, s

image

LED lighting has many advantages over traditional incandesce

Positive and negative judgment method of led lamp

Date: Sep 18, 2019  | Click 20 times

image

The principle of LED lights  LEDs are light-emitting diode

image

Is the led fluorescent lamp UV?  Fluorescent lamps are exc

How to wire the led sensor light

Date: Sep 18, 2019  | Click 21 times

image

 LED sensor light overview  LED sensor light is a new typ

image

Electronically controlled engine working principle  The bi

image

USB charger kit, also known as MP3/MP4 charger, input AC160-

12V High Efficiency White Light LED Driver

Date: Jun 28, 2019  | Click 22 times

image

12V High Efficiency White Light LED Driver







The memory is organized a paper detailed 51 MCU

Date: Mar 11, 2019  | Click 55 times

image

Program memory:The procedures used to store (binary image fi

Uled TV and Quantum Dot TV which is better

Date: Jan 06, 2019  | Click 44 times

image

Uled TV.ULED TV is to enhance the effect of television to op

Basic knowledge of inverter power supply design

Date: Nov 30, 2018  | Click 31 times

image

The power supply, as commonly understood, is a conversion de

copyright

© 2018-2019 www.loveelectronics.net Corp.All Rights Reserved.