Quick How To
This will be a very short how to. Everything you need to know is already gone over in much greater detail in my Dublin Bus article.
This will be the second in a quick series of projects I made with the MAX7219 8-Digit Display and the ESP8266 NodeMCU.
As mentioned before you will need:
--- MAX7219 8-Digit Display
--- Wooden Picture Frame (Got mine in IKEA for a couple of euro)
--- Wood Vinyl Adhesive Paper (Common in Euro shops and online)
If you look online and don't mind the wait from China, this project will only cost you about €10.
Unlike the Dublin Bus picture, I decided to use the D5, D6 and D7 pins to control the 8-Digit display. This is to make it is possible to connect the display directly to the NodeMCU. Troubleshooting is a lot easier this way and it doesn't involve any soldering.
Code and Conclusions
They're very little else to say on the construction of this project. Covering the picture frame glass or
plastic with the vinyl is quite self explanatory and positioning the display behind the glass is more of a preference.
The code is a bit different from the code used in the Dublin Bus Picture article. For one, I've removed the Wifi Manager and have moved to hard coding the SSID and password straight into the code. This means you'll have to change the SSID and password before the NodeMCU can connect to your wifi. The values that need to be changed can he found here:
// Wifi Login
const char* ssid = "your_ssid";
const char* password = "your_password";
Other than that, the code should be easy and ready to use. The NodeMCU is programmed in this code to update every 12 hours and the information is taken from Coindesk.com .
The link to the GitHub code is here.