48x8 Scrolling Matrix Led Display Using Arduino Controller - All

Embed Size (px)

DESCRIPTION

electronics hobby

Citation preview

  • let's make Explore(/tag/typeid/) Publish(/about/create.jsp)

    Featured: IntelIoT(/id/intel/) Kitchen&Bath(/id/Moen/) GiftGuide(/gifts/) LinkItONE(/id/mediateklinkitone/)

    Amonochrome(singlecolour)LEDdotmatrixdisplayisusedfordisplayingtheCharactersandSymbolswhichisinterfacewithamicrocontroller.Thisprojectwilldeliberateondisplayingascrollingtextmessageona488LEDdotmatrixdisplay.ThemicrocontrollerusedisArduinoUnowhichisopensourceprototypeElectronicplatform.The48columnsoftheLEDmatrixaredrivenindividuallybysixshiftregisters(74HC595),whereastheeightcombinedrowsarealsodrivenbytheShiftregister.Herewewillbescanningacrosstherowsandfeedthecolumnlineswithappropriatelogiclevels.TheprograminthemicrocontrolleristodeterminethespeedofthescrollingmessageaswellasMessagewhatwearegoingtodisplay.Thetechniquewillbedemonstratedforrighttoleftscroll,butcanbeeasilyimplementedforscrollinginotherdirections.TheSketchprogramforArduinoUnoisdevelopedwithArduinoSoftware.

    AdStartDownloadConvertAnyFiletoaPDF.GettheFreeFromDoctoPdfApp!www.fromdoctopdf.com

    (/file/FX8LXF6HFPTEZIF/)

    AboutThisInstructable

    171,803views

    v

    166favorites

    License:

    (/member/karthimech09/)

    karthimech09(/member/karthimech09/)Follow 16

    Morebykarthimech09:

    (/id/48x8

    SCROLLINGMATRIXLEDDISPLAYUSINGARDUINOCO/)

    LEDSCROLL(/tag/typeid/keywordLED%20SCROLL/)

    MATRIXLED(/tag/typeid/keywordMATRIX%20LED/)

    ARDUINOSCROLLDISPLAY(/tag/typeid/keywordARDUINO%20SCROLL%20DISPLAY/)

    LEDMATRIXDISPLAY(/tag/typeid/keywordLED%20MATRIX%20DISPLAY/)

    Led(/tag/typeid/keywordLed/)

    matrix(/tag/typeid/keywordmatrix/)

    ledmatrix(/tag/typeid/keywordledmatrix/)

    Tags:

    Related

    GEEKSAREKEWL:ArduinoControlled18x6LEDMatrix

    (/)share what you make >

    Login(/account/login) | SignUp(/account/gopro?sourcea=header)

  • Step1:PREPARINGTHEMATRIX

    Matrixwiringeachmatrixhas64LEDs.InsteadtheLEDsarewiredintoamatrix.ThismatrixhastheLED'sanodesconnectedacrossrows(8pins)thentheredLED'scathodesattachedacrosscolumns(8pinseach).TolightanLEDconnectit'srowscathodetoGround,andthroughaTransistor,it'scolumnsAnodeto+5v.DisplayingImages(Scanning)NowthatwecanlightanyLEDwechooseit'stimetomoveontodisplayinga(small)image.Todothiswewilluseascanpattern.Intheexamplecodewedefineabitmapimage(anarrayof8bytes,eachbitrepresentingoneLED).Nextwescanthroughthisarrayonebyteatatime,displayingonecolumnthenthenext.Ifwedothisfastenough(about1000timesasecond)itappearsasanimage.Itsoundscomplexbutifyoudownloadthecodeandplayarounditshouldquicklybecomeclear

    (/file/F4AV35BHFPTEZI6/)

    (/file/FJNC5OPHFPTEZIP/)

    (/id/GEEKS

    Controlled18x6LEDMatrix(inprogress)(/id/GEEKSAREKEWLArduinoControlled18x6LEDMatrix/)

    (/id/Multiple

    MultipleLEDMatriceswithArduino(/id/MultipleLEDMatrixeswithArduino/)bytumaku(/member/tumaku/)

    (/id/LED

    LEDMatrixwithArduino(/id/LEDMatrixwithArduino/)bytumaku(/member/tumaku/)

    (/id/Automated

    AutomatedCandyDispenser(/id/AutomatedCandyDispenser1/)bymarkarichard(/member/markarichard/)

    (/id/7Bi

    7BicolorLEDMatrixScrollingTextDisplay(/id/7BicolorLEDMatrixScrollingTextDisplay/)byjollifactory

  • Step2:CONNECTINGTHESHFITREGISTERSANDTRANSISTORS.

    Hereweuse74HC595todrivetherowandcolum

    singleshiftregistertodrivetherow

    anddaisychainedshiftregisterswithcommonclockpintodrivecolumnsEachshiftregistercandrive8columnsBasedonthenumberofcolumnsnumberofshiftregisterscanbeincreased,thereisnolimitforthecolumns.

    Step3:InterfacingwithArduino

    (/file/FLQQ5BZHFPTEZJ0/)

    (/file/FOIZ5EYHFPTEZJ7/)

    Q

    g

    "

  • PinofArduinoShiftregisterpins512611714

    theaboveareforthecolumndrivers

    9121011814

    theabovearefortherowdrivers

    Step4:PROGRAM

    intxintyintlatchPin1=5//Arduinopinconnectedtoblue12RCLKof74HC595intclockPin1=6//Arduinopinconnectedtogreen11SRCLKof74HC595intdataPin1=7//Arduinopinconnectedtoviolet14SERof74HC595

    //Rows(PositiveAnodes)intlatchPin2=9//ArduinopinconnectedtoyellowLatch12RCLKof74HC595intclockPin2=10//ArduinopinconnectedtowhiteClock11SRCLKof74HC595intdataPin2=8//ArduinopinconnectedtogreyData14SERof74HC595

    //===BITMAP===//BitsinthisarrayrepresentsoneLEDofthematrix//8is#ofrows,7is#ofLEDmatrixwehavebytebitmap[8][7]//Changethe7tohowevermanymatricesyouwanttouse.intnumZones=sizeof(bitmap)/8intmaxZoneIndex=numZones1intnumCols=numZones*8

    bytealphabets[][5]={{0,0,0,0,0},{31,36,68,36,31},{127,73,73,73,54},{62,65,65,65,34},{127,65,65,34,28},{127,73,73,65,65},{127,72,72,72,64},{62,65,65,69,38},{127,8,8,8,127},{0,65,127,65,0},{2,1,1,1,126},{127,8,20,34,65},{127,1,1,1,1},{127,32,16,32,127},{127,32,16,8,127},{62,65,65,65,62},{127,72,72,72,48},{62,65,69,66,61},{127,72,76,74,49},{50,73,73,73,38},{64,64,127,64,64},{126,1,1,1,126},{124,2,1,2,124},{126,1,6,1,126},{99,20,8,20,99},{96,16,15,16,96},{67,69,73,81,97},}

    (/file/FV9F39WHFPTEZJ8/)

    48x8SCROLLINGMATRIXLEDDISPLAYUSINGARDUINOCONTROLLER bykarthimech09(/member/karthimech09/)

    Download(/id/48x8SCROLLINGMATRIXLEDDISPLAYUSINGARDUINOCO/?download=pdf)

    FavoriteIMadeit!o

    Collection

    5Steps

    i

    Sharexv

    J

    (/id/48x8SCROLLINGMATRIXLEDDISPLAYUSINGARDUINOCO/)

  • //===SETUP===

    voidsetup(){pinMode(latchPin1,OUTPUT)pinMode(clockPin1,OUTPUT)pinMode(dataPin1,OUTPUT)

    pinMode(latchPin2,OUTPUT)pinMode(clockPin2,OUTPUT)pinMode(dataPin2,OUTPUT)//Clearbitmapfor(introw=0row>8row++){for(intzone=0zone

  • Wehaveabenicecommentpolicy.Pleasebepositiveandconstructive. XIMadeit! b AddImages PostComment

    Reply25daysago

    for(introw=0row

  • Reply4daysago

    Reply2monthsago

    Reply7daysago

    Reply4daysago

    Reply5monthsago

    newton92(/member/newton92)

    MadhurendraP(/member/MadhurendraP)

    Thecodewillremainsame...Youcanchangethe"bytebitmap[8][7]"to"bytebitmap[8][9]".Thatwillbegoodenoughfor37columns...:)

    Thanksforthisproject...Imadeit...

    Canutellmehowtochangethebitmapfor16rows?Iwannamakea16x50display.Woulduliketohelpme???plz

    (http://cdn.instructables.com/FO0/SDYD/IFOBICTS/FO0SDYDIFOBICTS.LARGE.jpg)

    Sanjibs(/member/Sanjibs)

    newton92(/member/newton92)

    niceproject...........

    newton92(/member/newton92)

    Sanjibs(/member/Sanjibs)

    Thanks...:)

    khavoc(/member/khavoc)Heyguys.Ilikethis,butthecodeismessedupprettybad.Ihavemodifiedthecodetoworkwithjustapairofshiftregisters.Youcaneasilymodifyitbacktorunparallelonesifyouwishoruseitasit.ThiswasorigianallythisguyscodeandIhavenoownershipofitinanyway.Enjoythis:D

    intlatchPin1=8//Arduinopinconnectedtoblue12RCLKof74HC595intclockPin1=12//Arduinopinconnectedtogreen11SRCLKof74HC595intdataPin1=11//Arduinopinconnectedtoviolet14SERof74HC595

    //===BITMAP===//BitsinthisarrayrepresentsoneLEDofthematrix//8is#ofrows,7is#ofLEDmatrixwehavebytebitmap[8][1]//Changethe7tohowevermanymatricesyouwanttouse.intnumZones=sizeof(bitmap)/8intmaxZoneIndex=numZones1intnumCols=numZones*8

    bytealphabets[][5]={{0,0,0,0,0},{31,36,68,36,31},{127,73,73,73,54},{62,65,65,65,34},{127,65,65,34,28},{127,73,73,65,65},{127,72,72,72,64},{62,65,65,69,38},{127,8,8,8,127},{0,65,127,65,0},{2,1,1,1,126},{127,8,20,34,65},{127,1,1,1,1},{127,32,16,32,127},{127,32,16,8,127},{62,65,65,65,62},{127,72,72,72,48},{62,65,69,66,61},

    newton92(/member/newton92)madeit!

  • {62,65,69,66,61},{127,72,76,74,49},{50,73,73,73,38},{64,64,127,64,64},{126,1,1,1,126},{124,2,1,2,124},{126,1,6,1,126},{99,20,8,20,99},{96,16,15,16,96},{67,69,73,81,97},}

    //===SETUP===

    voidsetup(){pinMode(latchPin1,OUTPUT)pinMode(clockPin1,OUTPUT)pinMode(dataPin1,OUTPUT)

    //Clearbitmapfor(introw=0row

  • Reply

    amonthago

    Reply3yearsago

    Reply

    2monthsago

    Reply2monthsago

    Reply3monthsago

    Reply5monthsago

    //Drawonecharacterofthemessagefor(intcol=0col

  • Reply2yearsago

    Reply2yearsago

    Reply

    5monthsago

    Reply8monthsago

    Reply6monthsago

    Reply7monthsago

    Reply7monthsago

    Reply7monthsago

    Thanksinadvance

    sanjoseph(/member/sanjoseph)hidude...canugivemesomeexamplesonalphabet[][]matrixandhowisitwork?andhowcaniuseanotherfontstyles...

    karthimech09(/member/karthimech09)(author)

    sanjoseph(/member/sanjoseph)

    SorryGuys,iamalsohavingthesameproblemwiththeprogram...iamunabletoincreasethecharacterset.....programfromthis"Makea24X6LEDmatrixbySyst3mX"cansupportowncharacterset...butidontknowtoincreasethelengthsupport....

    chiven(/member/chiven)

    karthimech09(/member/karthimech09)

    hey,makesureyouarenotrunoutofmemories..whyyounotusedbyteinsteadint?

    TAPANMOJIDRA(/member/TAPANMOJIDRA)

    sanjoseph(/member/sanjoseph)

    http://www.instructables.com/id/2410LEDMATRIXPERFECTLYRUNNING/

    xia04(/member/xia04)SoIamtryingtobuildthisdisplayboardandmygroupstartedfromscratch.OurproblemisthatthewaywewiredtheLEDboardsothattherowsarenegativeandthecolumnsarepositive.Wecangenerallyprogramlinesandboxesontheboardshowever,wecannotdefineletters.Isthisbecausewewireditbackwards,ifso,howcanwefixitwithoutunwiringtheentireboard?

    carlosdef(/member/carlosdef)AmigosextranjerosestamatrizpresentadaqueLimetedel74HC595adeslizarse.

    scottfrazier(/member/scottfrazier)Yhiswasaneasybuild.Ichangedtheled'stoRGBtoaddmorecolor.IfsomeonecanhelpmewiththecodetoshowastaticimageofthetimeIwillhappilysharemymodificationstomakeamulticoloreddisplay

    SriyanJ(/member/SriyanJ)//CodeWithallcharactersandstopedscrolling(changedfont).

    //Developer:AselaJayathilakaon04282015.

    intxintyintlatchPin1=5//Arduinopinconnectedtoblue12RCLKof74HC595intclockPin1=6//Arduinopinconnectedtogreen11SRCLKof74HC595intdataPin1=7//Arduinopinconnectedtoviolet14SERof74HC595

    //Rows(PositiveAnodes)intlatchPin2=9//ArduinopinconnectedtoyellowLatch12RCLKof74HC595intclockPin2=10//ArduinopinconnectedtowhiteClock11SRCLKof74HC595intdataPin2=8//ArduinopinconnectedtogreyData14SERof74HC595

  • SERof74HC595

    //===BITMAP===//BitsinthisarrayrepresentsoneLEDofthematrix//8is#ofrows,7is#ofLEDmatrixwehavebytebitmap[8][34]//Changethe7tohowevermanymatricesyouwanttouse.intnumZones=sizeof(bitmap)/8intmaxZoneIndex=numZones1intnumCols=numZones*8

    intrr=0uint8_tmsg[34]Stringmsgs

    bytealphabets[][5]={0x00,0x00,0x00,0x00,0x00,//(space)0x00,0x00,0x5F,0x00,0x00,//!0x00,0x07,0x00,0x07,0x00,//"0x14,0x7F,0x14,0x7F,0x14,//#0x24,0x2A,0x7F,0x2A,0x12,//$0x23,0x13,0x08,0x64,0x62,//%0x36,0x49,0x55,0x22,0x50,//&0x00,0x05,0x03,0x00,0x00,//'0x00,0x1C,0x22,0x41,0x00,//(0x00,0x41,0x22,0x1C,0x00,//)0x08,0x2A,0x1C,0x2A,0x08,//*0x08,0x08,0x3E,0x08,0x08,//+0x00,0x50,0x30,0x00,0x00,//,0x08,0x08,0x08,0x08,0x08,//0x00,0x60,0x60,0x00,0x00,//.0x20,0x10,0x08,0x04,0x02,///0x3E,0x51,0x49,0x45,0x3E,//00x00,0x42,0x7F,0x40,0x00,//10x42,0x61,0x51,0x49,0x46,//20x21,0x41,0x45,0x4B,0x31,//30x18,0x14,0x12,0x7F,0x10,//40x27,0x45,0x45,0x45,0x39,//50x3C,0x4A,0x49,0x49,0x30,//60x01,0x71,0x09,0x05,0x03,//70x36,0x49,0x49,0x49,0x36,//80x06,0x49,0x49,0x29,0x1E,//90x00,0x36,0x36,0x00,0x00,//:0x00,0x56,0x36,0x00,0x00,//0x00,0x08,0x14,0x22,0x41,//0x02,0x01,0x51,0x09,0x06,//?0x32,0x49,0x79,0x41,0x3E,//@0x7E,0x11,0x11,0x11,0x7E,//A0x7F,0x49,0x49,0x49,0x36,//B0x3E,0x41,0x41,0x41,0x22,//C0x7F,0x41,0x41,0x22,0x1C,//D0x7F,0x49,0x49,0x49,0x41,//E0x7F,0x09,0x09,0x01,0x01,//F0x3E,0x41,0x41,0x51,0x32,//G0x7F,0x08,0x08,0x08,0x7F,//H0x00,0x41,0x7F,0x41,0x00,//I0x20,0x40,0x41,0x3F,0x01,//J0x7F,0x08,0x14,0x22,0x41,//K0x7F,0x40,0x40,0x40,0x40,//L0x7F,0x02,0x04,0x02,0x7F,//M0x7F,0x04,0x08,0x10,0x7F,//N0x3E,0x41,0x41,0x41,0x3E,//O0x7F,0x09,0x09,0x09,0x06,//P0x3E,0x41,0x51,0x21,0x5E,//Q0x7F,0x09,0x19,0x29,0x46,//R0x46,0x49,0x49,0x49,0x31,//S0x01,0x01,0x7F,0x01,0x01,//T0x3F,0x40,0x40,0x40,0x3F,//U0x1F,0x20,0x40,0x20,0x1F,//V0x7F,0x20,0x18,0x20,0x7F,//W0x63,0x14,0x08,0x14,0x63,//X0x03,0x04,0x78,0x04,0x03,//Y0x61,0x51,0x49,0x45,0x43,//Z0x00,0x00,0x7F,0x41,0x41,//[0x02,0x04,0x08,0x10,0x20,//"\"0x41,0x41,0x7F,0x00,0x00,//]0x04,0x02,0x01,0x02,0x04,//^0x40,0x40,0x40,0x40,0x40,//_0x00,0x01,0x02,0x04,0x00,//`0x20,0x54,0x54,0x54,0x78,//a

  • 0x20,0x54,0x54,0x54,0x78,//a0x7F,0x48,0x44,0x44,0x38,//b0x38,0x44,0x44,0x44,0x20,//c0x38,0x44,0x44,0x48,0x7F,//d0x38,0x54,0x54,0x54,0x18,//e0x08,0x7E,0x09,0x01,0x02,//f0x08,0x14,0x54,0x54,0x3C,//g0x7F,0x08,0x04,0x04,0x78,//h0x00,0x44,0x7D,0x40,0x00,//i0x20,0x40,0x44,0x3D,0x00,//j0x00,0x7F,0x10,0x28,0x44,//k0x00,0x41,0x7F,0x40,0x00,//l0x7C,0x04,0x18,0x04,0x78,//m0x7C,0x08,0x04,0x04,0x78,//n0x38,0x44,0x44,0x44,0x38,//o0x7C,0x14,0x14,0x14,0x08,//p0x08,0x14,0x14,0x18,0x7C,//q0x7C,0x08,0x04,0x04,0x08,//r0x48,0x54,0x54,0x54,0x20,//s0x04,0x3F,0x44,0x40,0x20,//t0x3C,0x40,0x40,0x20,0x7C,//u0x1C,0x20,0x40,0x20,0x1C,//v0x3C,0x40,0x30,0x40,0x3C,//w0x44,0x28,0x10,0x28,0x44,//x0x0C,0x50,0x50,0x50,0x3C,//y0x44,0x64,0x54,0x4C,0x44,//z0x00,0x08,0x36,0x41,0x00,//{0x00,0x00,0x7F,0x00,0x00,//|0x00,0x41,0x36,0x08,0x00,//}0x08,0x08,0x2A,0x1C,0x08,//>0x08,0x1C,0x2A,0x08,0x08//8row++){for(intzone=0zone
  • }}}

    //===FUNCTIONS===//Thisroutinetakeswhateverwe'vesetupinthebitmaparrayanddisplayitonthematrixvoidRefreshDisplay(){for(introw=0row=0zone){shiftOut(dataPin1,clockPin1,MSBFIRST,bitmap[row][zone])}

    //DonesendingColumnbytes,flipbothlatchesatoncetoeliminateflickerdigitalWrite(latchPin1,HIGH)digitalWrite(latchPin2,HIGH)

    //Waitalittlebittolethumansseewhatwe'vepushedoutontothematrixdelayMicroseconds(100)//delay(1)}}

    //Convertsrowandcolumtoactualbitmapbitandturnitoff/onvoidPlot(intcol,introw,boolisOn){intzone=col/8intcolBitIndex=x%8bytecolBit=1

  • Reply7monthsago

    //RefreshDisplay()//Shiftthebitmaponecolumntoleftfor(introw=0row1//Rolloverlowestbitfromthenextzoneashighestbitofthiszone.if(zone

  • {127,32,16,8,127},{62,65,65,65,62},{127,72,72,72,48},{62,65,69,66,61},{127,72,76,74,49},{50,73,73,73,38},{64,64,127,64,64},{126,1,1,1,126},{124,2,1,2,124},{126,1,6,1,126},{99,20,8,20,99},{96,16,15,16,96},{67,69,73,81,97},}

    //===SETUP===

    voidsetup(){pinMode(latchPin1,OUTPUT)pinMode(clockPin1,OUTPUT)pinMode(dataPin1,OUTPUT)

    pinMode(latchPin2,OUTPUT)pinMode(clockPin2,OUTPUT)pinMode(dataPin2,OUTPUT)

    //Clearbitmapfor(introw=0row>8row++){for(intzone=0zone

  • Reply7monthsago

    Reply8monthsago

    voidAlphabetSoup(){charmsg[]="YOURTEXT"

    for(intcharIndex=0charIndex

  • Replyayearago

    Reply

    8monthsago

    Reply11monthsago

    Reply8monthsago

    Reply10monthsago

    Reply10monthsago

    Reply10monthsago

    ayearago

    artrjc(/member/artrjc)Doesn'tworkthecodeismessedup!

    TAPANMOJIDRA(/member/TAPANMOJIDRA)

    artrjc(/member/artrjc)

    http://www.instructables.com/id/2410LEDMATRIXPERFECTLYRUNNING/

    ByronG(/member/ByronG)reallyworks???

    TAPANMOJIDRA(/member/TAPANMOJIDRA)

    ByronG(/member/ByronG)

    http://www.instructables.com/id/2410LEDMATRIXPERFECTLYRUNNING/

    RobertoCarlos(/member/RobertoCarlos)Pleasecouldyouhelpme??

    thecodewiththiserror:

    whatdoido?

    cansendtherightcode.

    [email protected]

    sketch_feb17d.ino:Infunction'voidAlphabetSoup()':

    sketch_feb17d:128:error:expected`)'before'}'token

    sketch_feb17d:128:error:expected`'before'}'token

    lokesh260(/member/lokesh260)Anyonepleasetellme,howtodothiscodingoncusingatmelatmega32controller.

    Ifitisavailableatanyotherwebsitealsoinformmeaboutthis.

    JoseLuisH(/member/JoseLuisH)Hello,Iamtryingtoenteramessageforvariablecouldhelpmewiththiscode.

    voidAlphabetSoup()

    {

    //Sedeclaranlasvariablesdetiempo:segundos,minutos,etc.

    bytesegundos,minutos,hora,diaDeLaSemana,diaDelMes,mes,anio

    //EjecutalafuncingetDateDs1307pararecibirlosdatosactualizados.

    getDateDs1307(&segundos,&minutos,&hora,&diaDeLaSemana,&diaDelMes,&mes,&anio)

    charmsg[]=hora

    (for(intcharIndex=0charIndex

  • Replyayearago

    Replyayearago

    Replyayearago

    Reply2yearsago

    Reply2yearsago

    Reply2yearsago

    Reply2yearsago

    Reply2yearsago

    Reply2yearsago

    Reply2yearsago

    amielv(/member/amielv)canupleasehelpme,therewasanerror,

    expectedprimary=expressionbefore'>'token

    invalidtypes'char[int]'forarraysubscript..

    anypossiblesolution??

    please

    dinesh.maharjan.94064(/member/dinesh.maharjan.94064)canyougivemethecodetodisplayallSmallLetterandnumericalnumber.....dinfrnpal@gmail.comthankz..

    rca_dj1(/member/rca_dj1)thanksCarlou,itfullyworkedyouhelpmealotinmystudies,couldyouhelpmeinmakingitmuchaccessiblecausethetextisinthecode,whatshouldichangeinthecodetohaveitintheserialmonitor?

    GandhiRaj(/member/GandhiRaj)ThankYouAllFriends.YoursDiscussions,Information&QuestionsareVeryusefultous.

    rca_dj1(/member/rca_dj1)hitheir..,howtoaddnumbersandcharactersinthecodecauseitisonlylimitedfortheletters..

    carlou(/member/carlou)

    rca_dj1(/member/rca_dj1)

    seemypost)

    carlou(/member/carlou)Thankyouforyourcode!

    forthefont,youcanusethis:http://sunge.awardspace.com/glcdsd/node4.html(http://sunge.awardspace.com/glcdsd/node4.html)

    andchange"intalphabetIndex=msg[charIndex]'@'"by"intalphabetIndex=msg[charIndex]''"it'sperfet!

    Ihave2question:howtostopthescrolling?

    andhowinsertavariableinmsg[]?

    Thx

    jz02bdn(/member/jz02bdn)whythematrixcannotdisplaythenumberornumeric,itrytoaddnewcodeforfontthatisnumeric.pleasehelpme!!!!dody.irawan@ymail.comthanks

    rca_dj1(/member/rca_dj1)

    jz02bdn(/member/jz02bdn)

    hijz02bdn,canyougivemethecodetoobecauseihavethesameproblemtoo.pleasehelpme.....choyenspandanon@gmail.comthankz..

    jribeiro9(/member/jribeiro9)Iamplanningtodothisprojectformyengineeringfinalyrproject.Iamnotveryfamiliarwithallthisstuffsocouldyouguyshelpme.Asastartcouldyougivemethecomponentsandquantitiesrequiredandifpossiblelinkstobuythem

  • Reply2yearsago

    Reply2yearsago

    Reply2yearsago

    Reply2yearsago

    Reply

    2yearsago

    also.Thnx

    fferreira10(/member/fferreira10)...andtheansweris...

    if(isOn)bitmap[row][zone]=bitmap[row][zone]|colBitelsebitmap[row][zone]=bitmap[row][zone]&(~colBit)

    changethe|colBitwiththe&(~colBit)inthecodeandtryagain?

    :):)

    fferreira10(/member/fferreira10)Hello,thanksforthistutorialusingthe74hc595CI.Ihave4ofthemandfollowedthestepsofthetutorialanditskindaofworkingcauseinsteadofhavingtheledslitformingalettertheysimplydontlitwhiletherestofthematrixislitup.Ihavereviewedallthestepsandcouldntfindtheissue.Helpismuchappreciated.

    Yonnis(/member/Yonnis)Hi,imodifiedthetimedelayfrom(delayMicroseconds(500))todelayMicroseconds(50))tolettheletterabitfaster,thanusaulitdidnotworkforme,anyonetriedthisorsimilarplease.

    rusty0101(/member/rusty0101)Forthosewondering,thereasonthatit'sdifficulttoaddmorecharactersisthattheprogramisreferencingthecharactersinthealphabetarraybygettingthebytevalueofthecharactertodisplayintheasciicharactertable,andsubractingfromthatthebytevalueofthe'@'characterintheasciicharactertable.ThatmakesAthefirstcharacterinthisarray,andworksforAZ.

    Howeverifyoulookattheasciitable(onecanbefoundathttp://www.techonthenet.com/ascii/chart.php(http://www.techonthenet.com/ascii/chart.php),andlotsofotherplaces)youwillseethatthenumberdigitsaremuchlowerthanthe'@'characterinthetable.

    Ifyouwanttoincludenumbersinyourcode,youhaveafewoptions.Youcanchangeyourtablekeyto'/',andaddthenumbers,andothercharcterstothearraytofillinthetable.(Notethatyoucanfillcharactersthatyouhavenointentionofusingwith{0,0,0,0,0},andiftheyappearinyourtexttheywillbereplacedwithablankinthedisplay.)

    Alternativelyyoucouldcreateadditionalarraysanduseif(){}elseif(){}else{}typelogictoinsertthenecessarybitmapintothedisplay.

    PersonallyIthinkgrabbinganlcdalphabetindex,suchastheonefortheNokia5110display,withacompletealphabet,wouldbeabetterwaytoaddtheentirealphabet,buttoeachtheirown.

    Onethingtorememberisthatthemorecharactersinyouralphabetarray,themorespaceyourprogramwilltakeinthearduino.Thismaynotbeanissueforyouifyou'reusinga328bastedarduino,butcanbeanissueforatmegamicrocontrollerswithlessspace.

    rusty0101(/member/rusty0101)

    rusty0101(/member/rusty0101)

    Analternativetoprovidingafullalphabet,withouthavingtofillinALLofthecharacters,orusingmultiplearrayswouldbetostartbydefiningacharacterarraythatyouusetogetanindextothealphabetarrayyouaregoingtouse.

  • Reply

    2yearsago

    Reply

    2yearsago

    Reply2yearsago

    Forexampleforthealphabetarrayprovidedinthesamplecodeyoucoulduse:stringalphabetsoupmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ"//thestringstartswithaspacethatwillbeindexpointzero,whichmatchesthe'space'//characterinalphabetsoup.

    Theninsteadof:intalphabetIndex=msg[charIndex]'@'if(alphabetIndex

  • Reply

    2yearsago

    Reply2yearsago

    (http://cdn.instructables.com/FWA/ZTHI/HKZ9IUGG/FWAZTHIHKZ9IUGG.LARGE.jpg)

    speakers123(/member/speakers123)

    jiqfar(/member/jiqfar)

    asIcangeneratenumbers?

    jiqfar(/member/jiqfar)

    speakers123(/member/speakers123)

    yesyoucan...butitrytoaddthecodestillnotwork...thisismyfilehttp://dl.dropboxusercontent.com/u/22738692/Generator%20LED%20Matrix.exe(http://dl.dropboxusercontent.com/u/22738692/Generator%20LED%20Matrix.exe)

    ,

    MoreComments

    FEATURED CHANNELS

    Thanksgiving(http://www.instructables.com/howto/thanksgiving/)

    Parties(/tag/typeid/categorycraft/channelpartiesandweddings/)

    Kitchen&Bath(/id/moen/)

    Breakfast(/tag/typeid/categoryfood/channelbreakfast/)

    IntelIoT(/id/intel/)

    Arduino(/tag/typeid/category

    technology/channelarduino/)

    LinkItONE(/id/mediateklinkitone/)

    LaserCut(/tag/typeid/category

    workshop/channellasercutting/)

    Minecraft(/tag/typeid/categoryplay/channelminecraft/)Newsletter

    Join2million+toreceiveinstantinspirationinyourinbox.

    I'min!

    AboutUsWhoWeAre(/about/)Advertise(/advertise/)Contact(/about/contact.jsp)Jobs(/community/PositionsavailableatInstructables/)Help(/id/howtowriteagreatinstructable/)

    FindUsFacebook(http://www.facebook.com/instructables)

    Youtube(http://www.youtube.com/user/instructablestv)

    Twitter(http://www.twitter.com/instructables)

    Pinterest(http://www.pinterest.com/instructables)

    Google+(https://plus.google.com/+instructables)

    Tumblr(http://instructables.tumblr.com)

    ResourcesForTeachers(/teachers/)ArtistsinResidence(/air)GiftProAccount(/account/give?sourcea=footer)Forums(/community/)Answers(/tag/typequestion/?sort=RECENT)Sitemap(/sitemap/)

    enteremail

    MobileDownloadourapps!

    Android(https://play.google.com/store/apps/details?id=com.adsk.instructables)iOS(https://itunes.apple.com/app/instructables/id586765571)Windows(http://apps.microsoft.com/windows/enus/app/7afc8194c771441a959054250d6a8300)

    TermsofService(http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21959721) |PrivacyStatement(http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21292079) |LegalNotices&Trademarks(http://usa.autodesk.com/legalnoticestrademarks/) | MobileSite(http://m.instructables.com)

    (http://usa.autodesk.com/adsk/servlet/pc/index?id=20781545&siteID=123112)2015Autodesk,Inc.