Qrome / marquee-scroller

Marquee Scroller Clock News Weather and More
https://www.thingiverse.com/thing:2867294
MIT License
331 stars 160 forks source link

Display doesn't work #32

Closed SkromnyNick closed 6 years ago

SkromnyNick commented 6 years ago

Hi! My clock doesn't work. The whole or half screen is all time on. Sometimes it blinks. D1 Mini and screen work because everything is good using a different script (https://drive.google.com/file/d/1cBPUl9tztSOoEt1IL99C2vWOICdgKlcq/view) Can you help me?

img_20180720_191234

Qrome commented 6 years ago

The code you tested with is using totally different pins.

// MAX 7219 WEMOS
const byte CS = 0; // D3
const byte CLK = 4; // D2
const byte DIN = 2; // D4

YOU MUST use the pins in the documentation for the code or change the code to use the same pins you have wired up right now. Does that make sense?

Marquee Scroller Wiring

SkromnyNick commented 6 years ago

I know that. I connect the display to such pins as in the picture (D5, D6, D7). Below I give the video the screen blinks. https://www.youtube.com/watch?v=TMr1prFPcI0

Qrome commented 6 years ago

Not sure what to say. The only time I have seen that behavior is when it isn't wired up correctly. Can you give some details about the hardware you are using? Is it a Wemos D1 Mini?

SkromnyNick commented 6 years ago

https://www.aliexpress.com/item/ESP8266-ESP-12-ESP-12F-CH340G-CH340-V2-USB-WeMos-D1-Mini-WIFI-Development-Board-D1/32674463823.html?spm=a2g0s.9042311.0.0.27424c4daHW0i4 and https://www.aliexpress.com/item/MAX7219-Dot-Matrix-Module-For-Arduino-Microcontroller-4-In-One-Display-with-5P-Line/32637207300.html?spm=a2g0s.9042311.0.0.27424c4daHW0i4

SkromnyNick commented 6 years ago

Thanks for the help....

SkromnyNick commented 6 years ago

U can't help me so you closed the topic?