Differences
This shows you the differences between two versions of the page.
projekte:dot-matrix-display [2016-07-24 17:35] 127.0.0.1 external edit |
projekte:dot-matrix-display [2017-01-17 02:01] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Dot Matrix Display ====== | ||
- | |||
- | <WRAP right> | ||
- | ^ Dot Matrix Display | ||
- | ^ Inventar | [[https:// | ||
- | ^ Kontakt | [[wiki: | ||
- | ^ Status | <fc green> | ||
- | </ | ||
- | |||
- | Zwei Dot Matrix Panels aus China, 32x16 Pixel Rot, 10 mm Pitch (P10). Keine Ahnung, wem die gehören. | ||
- | |||
- | Arduino, ESP8266 NodeMCU Devboard, Steckbrett, Netzteil sind Clubbesitz/ | ||
- | |||
- | * http:// | ||
- | * http:// | ||
- | * https:// | ||
- | * https:// | ||
- | |||
- | ===== Pinbelegungen ===== | ||
- | |||
- | * 1: Output Enable (PWM-fähig) | ||
- | * 2: A mux | ||
- | * 4: B mux | ||
- | * 8: Shift Clock (SPI clock) | ||
- | * 10: Store Clock (SPI select) | ||
- | * 12: R (SPI mosi) | ||
- | |||
- | ===== Implementierung ===== | ||
- | |||
- | * modifizierte DMD2: https:// | ||
- | * arduino sketch und lua script https:// | ||
- | * TCP pixelflut kommt *vielleicht* noch. wer ne implementierung in NodeMCU-Lua anschleppt | ||
- | |||
- | ==== MQTT Endpunkte ==== | ||
- | |||
- | * runlevel : shutdown/ | ||
- | * kontrolliert, | ||
- | * cracki/ | ||
- | * reset : | ||
- | * " | ||
- | * alles andere resettet den ganzen Apparat | ||
- | * solid : 0/1/255 | ||
- | * 0 und 1 setzen die pixel auf 0 oder 1 | ||
- | * 255 invertiert alles | ||
- | * dutycycle : 0-255 | ||
- | * sollte man nicht uebertreiben, | ||
- | * pixelflut : PX <x> <y> <0/1> | ||
- | * bitmap : 128 bytes | ||
- | * text : Text vollhoch | ||
- | * text1 : Text Zeile 1 | ||
- | * text2 : Text Zeile 2 | ||
- | * gameoflife : 0/1 | ||
- | * gameoflife/ | ||
- | * gameoflife/ | ||
- | |||
- | ==== Pinbelegungen ==== | ||
- | |||
- | Panel -> Arduino: | ||
- | * 1 -> D9 (mit 100k pulldown, sonst legen die panels los, ueberlasten das netzteil, spannung am arsch, arduino kommt nicht hoch) | ||
- | * 4 -> D7 | ||
- | * 8 -> D13 | ||
- | * 10 -> D8 | ||
- | * 12 -> D11 | ||
- | |||
- | Arduino mit ESP fuer netzwerk: | ||
- | * RXD <- ESP TXD0 | ||
- | * reset <- ESP D2 | ||
- | |||
- | ESP als netzwerksklave an Arduino: | ||
- | * erde, vcc | ||
- | * txd0 -> arduino rx | ||
- | * D2 -> arduino reset | ||
- | |||
- | ungetestete alternative, | ||
- | * 2 (A mux) -> D1 | ||
- | * 4 (B mux) -> D2 | ||
- | * 1 (OE) -> D3 (sollte PWM koennen) | ||
- | * 8 (SPI clock) -> D5 (HSCLK) | ||
- | * 10 (store pulse) -> D0 (gpio) | ||
- | * 12 (R) -> D7 (HMOSI) | ||
- | |||