0% found this document useful (0 votes)
249 views

10×8 LED Matrix + Arduino PDF

This document provides a tutorial for building an 8x10 LED matrix display using an Arduino board. It describes how to construct the LED matrix by soldering the cathode and anode leads in rows and columns. A 4017 decade counter IC is used to multiplex the rows to reduce the number of pins needed from the Arduino. The 4017 outputs are connected to transistor circuits to sink current to ground from the LED rows. The Arduino code scans through the rows rapidly to display scrolling text or other images on the matrix. Instructions and files for programming the Arduino board are also included.

Uploaded by

kostas2428
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
249 views

10×8 LED Matrix + Arduino PDF

This document provides a tutorial for building an 8x10 LED matrix display using an Arduino board. It describes how to construct the LED matrix by soldering the cathode and anode leads in rows and columns. A 4017 decade counter IC is used to multiplex the rows to reduce the number of pins needed from the Arduino. The 4017 outputs are connected to transistor circuits to sink current to ground from the LED rows. The Arduino code scans through the rows rapidly to display scrolling text or other images on the matrix. Instructions and files for programming the Arduino board are also included.

Uploaded by

kostas2428
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

7.12.

2014

GoogleErgebnisfrhttp://4.bp.blogspot.com/oAesiXkofYU/TpXFlTdiJSI/AAAAAAAAAFA/oh5pi0dGl5Q/s1600/FNAOI34FWMO2YY6.jpg

Tutorial:108LEDMatrix+Arduino
BysohilpatelinArduino,Tutorial

October12,2011

18Comments

In this tutorial I will show you how to build a quite fancy 8 by 10 L.E.D matrix(with scrolling text and
animations)usingtheArduinoand4017decadecounter.Thistypeofmatrixiseasytomakeandprogramand
itisagoodwaylearnaboutmultiplexing.

Components:
1.80L.E.D.s
2.8resistors(ThevalueisdetermentbythetypeofL.E.D.s)
3.4017decadecounter
4.101KOhmresistors
5.102N3904transistors
6.Somesinglecorewire
7.GCB
8.Arduino

Step1:HowtochooseLEDs
Thisisoneofthemostimportantpartofthisproject,becauseitbasedonLEDsitsverycriticaltochoosethe
rightones.Irecommendusing5mmdiffusedLEDsbecausetheygiveagoodamountoflightandmakeaclear
image.
Step2:SolderingtheMatrix
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20marginbottom%3A%2020p

SolderingtheLEDmatrixisaverytrickything,therearealotofwaystodoitandIwillgiveyoumine.

1/4

7.12.2014

GoogleErgebnisfrhttp://4.bp.blogspot.com/oAesiXkofYU/TpXFlTdiJSI/AAAAAAAAAFA/oh5pi0dGl5Q/s1600/FNAOI34FWMO2YY6.jpg

YouneedtoconnectallthepositiveleadsoftheLEDsincolumnsandthenegativeleadinrows.
NowyoudothisbytakingthepositiveleadofthefirstLEDandbenditdowntotheotherLEDs,solderthe
pinswhichtoucheachother,fromheretakethelastleadthat
yousolderedandbenditagaindownandrepeattillyouhaveallthepositiveleadsconnectedinthecolumn.
sniptheleadsthatyoudidntuse.
Nowthetrickypartisconnectingthenegativepinsinarowbecauseyoucantbendthemandsolderlikeyou
didwiththepositiveleads.Mymethodsaveslotsoftimeandisalotsimpler.Thetrickistoputsometapeor
simpleadhesivetapeonthecolumnsconnectionstoisolatethemfromthenegativepinsandifyoudothatyou
canbendthenegativeleadstooandconnectthemlikeyoudidwiththepositiveones.
Circuit:

Connections:
Viaaresistoryouconnecteachcolumntothearduino(pins07).
Theresetpinofthe4017goestopin8onthearduinoandtheclockpingoestopin9onthearduino.
Step3:Multiplexing?
Sowhatismultiplexing:
Itisbasicallyawaytosplitinformationintolittlepeacesandsenditonebyone.
thiswayyoucansavealotofpinsontheArduinoandkeepyourprogramquitesimple.
Inourcasewesplittheimagethatwewanttodisplayto10peaces(10rows),Wewanttoscantherowsofthe
matrix(lightuponerowatatime)andsendinfofromthe
Arduinotothecolumns.
AllthecolumnsarepositivesoftheLEDsandtherowsarenegativessoifthefirstrowisconnectedtoground
andwesendinformationtothecolumnswewillonlylight
thefirstrow.
Togetagooddisplayweneedtoscantherowsveryfast,sofastthethehumaneyethinksthatalloftherows
areconnectedatthesametime.
WhyIC4017:
ForthisLEDmatrixIwantedtousethisusefulIC.
HeresagoodsitetolearnthebasicsofthisIC:http://www.doctronics.co.uk/4017.htm
The4017decadecounterisusedtoallowmultiplexing.

data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20marginbottom%3A%2020p

2/4

7.12.2014

GoogleErgebnisfrhttp://4.bp.blogspot.com/oAesiXkofYU/TpXFlTdiJSI/AAAAAAAAAFA/oh5pi0dGl5Q/s1600/FNAOI34FWMO2YY6.jpg

ThisICbasicallyscanstherowsofthematrix(lightsuponerowatatime).
Inourcasewewanttoconnecttherowstogroundbutthe4017doesntbuildtosinkcurrent,sotosolvethis
littleproblemweneedtouseatransistorwitharesistor.
The 4017 has 10 output pins so we need 10 resistors and 10 transistors, we connect the 1K resistors to the
outputsofthe4017andthebaseofthetransistortotheother
endoftheresistor.
Thenweconnectthecollectorsofthetransistortotherowsandtheemittertotheground.
(YoucanalsouseBC547npntransistor)

Step4:Programming>
havewrittenalittleprogramtomakescrollingtextandaddedallthelettersandnumber
(lotsofwork),Iusedportsformyprogrambecauseitsavesspaceandeasiertohandle.
IfyoudontknowhowtoworkwithportsonthearduinoIrecommendtogoonthearduiowebsitealearn
beforeyoustart.
herealink:http://arduino.cc/en/Reference/PortManipulation
If you want to make your own images I have made a little excel tool that will make writing images a lot
easier.whichyoucanfindinthezipfolderwhichIattachedattheend.
Andthelastthingsistonotforgettounplugpins0and1whenyouuploadyourprogrambecausethispins
alsousedascommunicationpinsandmaycausesomeerrorswiththeprogram.

TheBisforArduino
Language,sodontworry
aboutit.
data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20marginbottom%3A%2020p

3/4

7.12.2014

GoogleErgebnisfrhttp://4.bp.blogspot.com/oAesiXkofYU/TpXFlTdiJSI/AAAAAAAAAFA/oh5pi0dGl5Q/s1600/FNAOI34FWMO2YY6.jpg

DownloadProjectfilesfromHere
Yupiii!!!Itsdone.
Iwillhappyifyoumakethisanddontforgettopostyourvideohere.
Youcancheckmyvideo.

data:text/htmlcharset=utf8,%3Cheader%20class%3D%22entryheader%22%20style%3D%22display%3A%20block%3B%20marginbottom%3A%2020p

4/4

You might also like