LED Marquee Scroller Wemos D1 Mini ESP8266

4,230

55

21

About: I enjoy flying RC and 3D Printing

Make your own Clock, Weather, News, and more! Easy to make LED Marquee Scroller using a Wemos D1 Mini and a LED Dot Matrix Panel. Full Arduino software and 3D printed case.

Features Displays the following every 60 seconds:

  • Accurate Clock refresh off Internet Time Servers
  • Local Weather and conditions (refreshed every 10 - 30 minutes)
  • News Headlines from all the major sources
  • Configured through Web Interface
  • Display 3D print progress from your OctoPrint Server
  • Option to display random goofy advice
  • Option to display Bitcoin current value
  • Basic Authorization around Configuration web interface
  • Support for OTA (loading firmware over WiFi)
  • Video: https://youtu.be/DsThufRpoiQ
  • Build Video by Chris Riley: https://youtu.be/KqBiqJT9_lE

Required Parts and Source Code:

Step 1: Wiring for the Wemos D1 Mini to the Dot Matrix Display

The Dot Matrix Display comes with the wires you can use. I simply cut off the plugs and solder them directly to the pin locations on both the LED Dot Matrix Display and to the Wemos D1 Mini.

  • CLK -> D5 (SCK)
  • CS -> D6
  • DIN -> D7 (MOSI)
  • VCC -> 5V+
  • GND -> GND-

The Dot Matrix will slip into the case and snap in. No glue required and will be a snug fit.

The Wemos D1 Mini will slide into the slot of the back panel and will be held in when assembled. Also, no glue required. The back panel can be snapped in then held shut with some small screws.

Step 2: Compiling and Loading to Wemos D1

Download source code from here: https://github.com/Qrome/marquee-scroller

It is recommended to use Arduino IDE. You will need to configure Arduino IDE to work with the Wemos board and USB port and installed the required USB drivers etc.

  1. USB CH340G drivers: https://wiki.wemos.cc/downloads
  2. Open the Arduino IDE and enter the following URL http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas. This will add support for the Wemos D1 Mini to Arduino IDE.
  3. In the Arduino IDE, open Boards Manager from Tools > Board menu and install esp8266 platform (and don't forget to select your ESP8266 board from Tools > Board menu after installation).
  4. Select Board: "WeMos D1 R2 & mini"

Packages -- the following packages and libraries are used (download and install):

Initial Configuration:

NOTE: The settings in the Settings.h are the default settings for the first loading. After loading you will manage changes to the settings via the Web Interface. If you want to change settings again in the settings.h, you will need to erase the file system on the Wemos or use the “Reset Settings” option in the Web Interface.

Step 3: Web Interface for Configuration

The Marquee Scroller uses the WiFiManager so when it can't find the last network it was connected to it will become a AP Hotspot -- connect to it with your phone and you can then enter your WiFi connection information.

After connected to your WiFi network it will display the IP addressed assigned to it and that can be used to open a browser to the Web Interface. Most everything can be configured there.

The Clock will display the time of the City selected for the weather.

Step 4: Enjoy

I hope you enjoy your LED Marquee Scroller. If you do, please share your makes, share the link, like and subscribe. Questions? Post them up.

Enjoy!

-Qrome

2 People Made This Project!

Recommendations

  • Make it Glow Contest 2018

    Make it Glow Contest 2018
  • Big and Small Contest

    Big and Small Contest
  • First Time Author

    First Time Author

21 Discussions

0
None
pkarza

5 days ago

still getting the weather data parsing error.

0
None
DanielB832

4 months ago on Step 4

Hi,
I've just made this and it's fantastic, works brilliantly except for one thing. The time is an hour behind and I cannot figure out why. I'm in the uk and have it set to my home town. As I said it all works fine except for the time.
Any help much appreciated.
TIA

8 replies
0
None
DanielB832DanielB832

Reply 4 months ago

Seems I needed to allow geonames access to free Web services and restart the device.
All working now.
Thank you for an amazing project.

0
None
QromeDanielB832

Reply 4 months ago

Cool, glad you got it working. Yeah, it uses the latitude and longitude from the weather data to look up the timezone and daylight savings offset. Thanks for the comments.

0
None
efbe1840Qrome

Reply 4 weeks ago

OK
Thanks
This works.

Now I see if somebody finds a way to get the News from Belgium.
Thanks and I follow it up on Github.
efbe

0
None
efbe1840Qrome

Reply 4 weeks ago

OK
Thanks
This works.

Now I see if somebody finds a way to get the News from Belgium.
Thanks and I follow it up on Github.
efbe

0
None
efbe1840DanielB832

Reply 5 weeks ago

Hello,

I have the same problem, I made an account on Geonames, but I dont find how I have to go further. Can You point out how You give acces to this free web service to make it work.
Thanks,
efbe

0
None
Qromeefbe1840

Reply 5 weeks ago

The issue you posted on the person had a bit of a unique problem. Not sure it is the same for you. Can you give some details as to what you are seeing and what you are expecting?

0
None
efbe1840Qrome

Reply 5 weeks ago

Hi,
I am waiting for my LED's now. (I am making a double).
But I already flashed the Mini an I can go to the Weather Marquee web page.
There I see that the Time is not correct for Belgium, 1 hour to late.
Although I marked the DST option.
Weather works.
I made an account at Geonames, but I don't what to do next, is there a code or what some like the cityid in Weathermaps so thye know where i am situated?
Do You have a Website so I can follow the progress of maybe knew possibilities to come ?
Thanks for the good work, very nice project
efbe

0
None
Qromeefbe1840

Reply 5 weeks ago

Update the Settings.h file with your Geonames account name. You can test if it is working by putting your name where [YOURID] is in the following URL:

http://api.geonames.org/timezoneJSON?formatted=tru...

Also, you probably need to un-check the DST option -- not have it checked.

The code is active on github -- you can follow progress, issues and changes there.

0
None
Qrome

3 months ago

This is usually a symptom of not having it wired up correctly. Can you check and compare the pins you wired to with the wire diagram?

2 replies
0
None
MikeT296Qrome

Reply 3 months ago

Of course after I asked the question I got it running. Thanks for everthing with this project and for the quick responses.

IMG_6532.jpeg
0
None
QromeMikeT296

Reply 3 months ago

Wow, looks great. Glad you got it working.

0
None
cjparsons

Question 5 months ago on Step 4

Got an esp8266 board - actually a MakerHawk D1 Mini and am waiting for the displays to arrive, so I downloaded the packages and set up the board - but could not find FS.h or SPI.h? I have created a new sketch and added all the packages and it compiles and uploads - should I not be able to see the WebUI on 192.168.4.1? Where do I find settings.h? Looks like some code is missing?

2 answers
0
None
Qromecjparsons

Answer 5 months ago

Nope, no code missing. SPI.h and FS.h are part of the ESP8266 Arduino core libraries. You need to install them in your Arduino IDE. If you download the entire source zip from GitHub for the project you will see the Settings.h file in there. Follow this video -- it is for one of my other projects but it covers the basics of loading the IDE and supporting library files. https://youtu.be/Rm-l1FSuJpI

0
None
cjparsonsQrome

Reply 5 months ago

Thanks, I found the problem - you have all the code on GitHub - at https://github.com/Qrome/marquee-scroller, this is not mentioned in the write up? Once I downloaded this everything became very obvious, and I can now verify and upload the code with no errors, thanks very much. Now I just need the display module :)

0
None
SamG165

Question 5 months ago

Is this compatible with other esp8266 boards? Like the full size ones? Does anything have to be changed?

2 answers
0
None
QromeSamG165

Answer 5 months ago

Yes, I think it should still work. The code is generic to ESP8266 or compatible boards. I would expect it to work.

0
None
tharindurc

7 months ago

Great instructable !! Well explained tutorial.