-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
15 lines (10 loc) · 1.21 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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