LED Matrix Test 1 Using an AS1107 IC

21,572

15

12

Introduction: LED Matrix Test 1 Using an AS1107 IC

About: Hi, my name is Mike and I am from London, England. I really like to make things and in particular like to do creative things with Arduinos and electronics. Other hobbies include astrophotography and sailing....

Got hold of some AS1107 LED Driver Chips from Austria Microsystems. These are designed for driving 8 x 8 segment LED numerical displays. They can also be used for controlling an 8x8 LED Matrix. Only 3 outputs are needed from the Boarduino (Arduino) - Clock, Data and Latch. There is absolutely zero examples on the internet of this IC being used and no code examples or libraries at all so I had to read the datasheet, work it out for myself and write all the code myself. This is the first time I have ever worked out how to control an IC from its datasheet so I am very proud of myself for doing what you see above in only a few hours.

Only one chip is needed to control the Matrix and NO MULTIPLEXING is required as the chip does all that for you!!! After you work out how the chip works it is pretty easy to code for. The video shows 3 functions I wrote for the matrix. One is the point function that turns an LED on at location x,y. Also Spiral which is an animation routine to draw a spiral with x millisecond delay inbetween frames. Also, the clearDisplay function and the scrollLeft function that scrolls the text left.

I have also tidied up the font and the font spacing since the previous tests.

www.earthshinedesign.co.uk

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Be the First to Share

    Recommendations

    • LED Strip Speed Challenge

      LED Strip Speed Challenge
    • Sculpting Challenge

      Sculpting Challenge
    • Clocks Contest

      Clocks Contest

    12 Discussions

    0
    angelesdm
    angelesdm

    7 years ago on Introduction

    can you provide us some sample codes to do that stuff? even the text scrolls only, thank you

    0
    civicbynature

    Just bought a bunch of these chips from austriamicrosystems 4 bucks a piece. STOKED! Good job btw, Would love to see your wiring and code as well. Would just like to polity mention that there is still Multiplexing in your circuit. Since there's only 16pins on your LED Matrix and not 32 that means it's multiplexed.

    0
    jeff-o
    jeff-o

    10 years ago on Introduction

    That is pretty spiffy! I like that chip, too... it should make some designs a lot simpler, especially if you want more than one 8x8 matrix.

    0
    Gilo
    Gilo

    Reply 10 years ago on Introduction

    Great work. Please take a bow. Is the display expandable to take on more characters? ANyway it can be used with an input device like a keyboard? gilo

    0
    TheArduinoGuy
    TheArduinoGuy

    Reply 10 years ago on Introduction

    Yes you can expand it for more modules. Keyboard input would be possible.

    0
    ndinitz
    ndinitz

    Reply 10 years ago on Introduction

     where can i get some of those led matrices? 

    0
    TheArduinoGuy
    TheArduinoGuy

    Reply 10 years ago on Introduction

    It's a great chip. It's more expensive than the MAX chips, but it sure makes life a lot easier to code. Plus having multiplexing on the chip frees up a LOT of clock cycles on your Microcontroller.

    0
    faki
    faki

    10 years ago on Introduction

    Could you please post the circuit, and the code

    0
    filmo
    filmo

    10 years ago on Introduction

    Newark seems to have the chip for about $4 bucks. When I search for the Max 7221 it seems like it's about $10 bucks. Am I looking at the right chip?? I only ask because you mention that the MAX is more expensive, but it seems the opposite??

    0
    filmo
    filmo

    Reply 10 years ago on Introduction

    Actually from reading the data-sheets between the AS1107 and the MAX7221, it seems like the AS1107 is a direct knock off of the MAX chip. Was this your experience as well or is there something I missed between the two chips?

    0
    TheArduinoGuy
    TheArduinoGuy

    Reply 10 years ago on Introduction

    Yes they are identical. Except the AS1107 is half the price of the MAX.