Blinkofant: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
Zeile 82: Zeile 82:
  
  
 +
    SPI.begin();
 +
    SPI.setBitOrder(LSBFIRST);
 +
    SPI.setDataMode(SPI_MODE0);
 +
    SPI.setClockDivider(SPI_CLOCK_DIV128); // biggest divider there is.
  
 +
    SPDR = panelData[i];
 +
    while(!(SPSR & (1<<SPIF)));
  
  
  
  
| valign="top"|
+
 
 +
 
 +
 
 +
 
 +
|valign="top"|
 
<center>[[Datei:Albert-Schultz-Eishalle-by-kerky_oe.jpg|center|framed|<small>[[Blinkofant/LED-Display History|Albert Schultz ice arena LED wall]] &nbsp;&copy; [http://www.flickr.com/photos/kerky_oe/5313588854/sizes/n/in/photostream/ kerky_oe]</small>]] </center>
 
<center>[[Datei:Albert-Schultz-Eishalle-by-kerky_oe.jpg|center|framed|<small>[[Blinkofant/LED-Display History|Albert Schultz ice arena LED wall]] &nbsp;&copy; [http://www.flickr.com/photos/kerky_oe/5313588854/sizes/n/in/photostream/ kerky_oe]</small>]] </center>
  

Version vom 27. März 2012, 13:17 Uhr

WTF?

Recently we got these *huge* LED walls.

We disassmbled the monster and now we got ~300 LED panels

Each of the 8*9 pixels consists of 5 LEDs = 360 red LEDs per panel
300 panels equals 90.000 LEDs++ :)

we don't know how to power them yet :)


Pinout

  • POUT EQU CENTRO ;the leftmost module will be connected to the POUT-port
  • ATTENTION! The bit positions must not be changed!
  • 8V, 5V, 12V, GND are not equipped with pins


pin # function comments
1 data/clock ? comes back out here (Rückleitung Schieberegister) wurscht
2 data/clock ? comes back out here (Rückleitung Schieberegister) wurscht
3 DatLoad EQU 0 ;data bit for loading data and control data wurscht
4 ClkRing EQU 1 ;clock for shift left the whole line CLOCK !!
5 ClkLoad EQU 2 ;clock for shift left & loading all selected modules wurscht
6 ClkBlink EQU 3 ;clock for blinking (0...off, 1...on) clock for blinking of selected rows
7 ClkSteu EQU 4 ;clock for shift left & load control data from DatLoad wurscht
8 DatRing EQU 5 ;data bit for loading data during ClkRing DATA !!
9 Reset EQU 6 ;clear all control data wurscht
10 OnOff EQU 7 ;turn on/off the whole display (0...off, 1...on) turns off ALL the LEDs when pulled to ground


When connecting ONE single panel the following pins need to be connected on the output side:

pin 1 -> pin 8
pin 2 -> pin 3



Software

Aktuelle Testfirmware für den Arduino liegt im GIT von 5uper.net ( git clone git@5uper.net:ledmatrix.git )


   SPI.begin();
   SPI.setBitOrder(LSBFIRST);
   SPI.setDataMode(SPI_MODE0);
   SPI.setClockDivider(SPI_CLOCK_DIV128); // biggest divider there is.
   SPDR = panelData[i];
   while(!(SPSR & (1<<SPIF)));





1 modul
4 module chained