Zum Inhalt springen

Blinkenschild: Unterschied zwischen den Versionen

Overflo (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Overflo (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 7: Zeile 7:
** 15 pcs RGB-123  
** 15 pcs RGB-123  
** counts a total of 960 pixels (40x24)
** counts a total of 960 pixels (40x24)
** a teensy 3.0 for control
** a teensy 3.1 for control
** a microsdcard reader interface
** a microsdcard reader interface
** a bluetooth module
** a bluetooth module
Zeile 34: Zeile 34:
This is still too fast so i had to add 30 ms delay between the frames or we would not perceive it as a fluid animation but rather just blinking bright light.
This is still too fast so i had to add 30 ms delay between the frames or we would not perceive it as a fluid animation but rather just blinking bright light.


Teensy 3.x is a GREAT MCU.
Teensy 3.1 is a GREAT MCU, OctoWS2811 is incredible fast.




Zeile 60: Zeile 60:


As VCC is between 3.7 and 4.2V the 3.3V signal levels are well within that range.
As VCC is between 3.7 and 4.2V the 3.3V signal levels are well within that range.
When changing from teensy 3.0 to teensy 3.1 i experienced some weird flickering.
After hours of debugging i found out that it is a software issue with teensy 3.1 and the OctoWS2811 libraries.
Upgrading to the latest -rc1 teensyduino environment worked fine.
Also there is a [http://forum.pjrc.com/threads/23877-WS2812B-compatible-with-OctoWS2811-library?p=38190&viewfull=1#post38190 thread on the internet] about this erratic behaviour:
And this is the difference int he OctoWS2811 lib that does the trick.
> #ifdef __MK20DX256__
> MCM_CR = MCM_CR_SRAMLAP(1) | MCM_CR_SRAMUAP(0);
> AXBS_PRS0 = 0x1032;
> #endif


===Software===
===Software===