LED Marquee Scroller Wemos D1 Mini ESP8266

1,889

44

8

Published

Introduction: LED Marquee Scroller Wemos D1 Mini ESP8266

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

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

Share

    Recommendations

    • Water Contest

      Water Contest
    • Clocks Contest

      Clocks Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    8 Discussions

    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 more answers

    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

    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
    user
    SamG165

    Question 25 days ago

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

    2 more answers

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