Skip to content

Simple led panel code using HUB08 that displays data, like subway arrivals data

License

Notifications You must be signed in to change notification settings

philmatu/hub08_led_panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This runs on a nodemcu like this one:
https://www.amazon.com/HiLetgo-Internet-Development-Wireless-Micropython/dp/B010O1G1ES

You'll also need a hub08 display like this one:
https://www.aliexpress.com/item/Indoor-P4-75-RG-SMD-LED-Module-304-76mm-1-16-Scan-Hub08-Store-LED-Moving/32844347325.html?spm=a2g0s.9042311.0.0.KQXW2u

A cron will need to be set up to get the nyc_weather_dump file
curl https://www.metaweather.com/api/location/2459115/ -o /<directory>/nyc_weather_dump > /dev/null 2>&1

Colors are controlled by the server backend numbers as in example, 5=red, 6=green, 7=yellow
Brightness can be controlled by changing the analog write frequency of the led library on the device

Wiring is straight forward, just hook up the pins to the NodeMCU as defined in the library, you can also change them to make the wiring easier.  The power cable that comes with the display should be spliced and connected to the nodemcu 3v3 connector for power (black is ground, red is positive 3v).  The nodemcu provides ample power to drive this display with no negative side effects from what I can tell after 3 weeks of testing.

I've left it up to the reader to decide how to retrieve and update subways data if they want an arrivals display

About

Simple led panel code using HUB08 that displays data, like subway arrivals data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published