in , , , ,

LEDWeatherBoard

Reading Time: 2 minutes

Today’s forecast

“Raspberry Pi is the perfect device to both call a public API for weather forecast and drive via GPIO the 32 metres of LED strips,” Diego explains. “I can access my Raspberry Pi via SSH and control the logging of the workflow that I implemented using Node-RED and Docker, in order to have a repeatable and consistent environment to provide to anyone interested in using my Docker image.”

While it may look and sound a little simple, Diego did have a few issues with ensuring enough current can be supplied to the LEDs. “If all the 1920 LEDs are set to white, then I need to provide two power supplies, each providing 5 V 50 A 200 W,” he says. “I chose the WS2812B-eco LEDs strips that require less current but are more sensitive to bad connections, so I had to use a resistor between the initial input of the 32 LED strips and the pin of the Raspberry Pi.” He even had to use a level-shifter to boost the signal from the GPIO pins to the input of the LED strips.

- Werbung -

“I had to try different libraries to drive the LEDs because initially I experienced the flickering of the LEDs,” he adds. “Raspberry Pi has the capability to drive two PWM pins, so I had to split the 32 metres in two segments. After all this hardware setup, now the LEDWeatherBoard is a working project with the level of perfection that I require from my projects!”

Predicting tomorrow

Diego isn’t quite finished with the project yet, wanting to add positioning hardware and interactivity.

“I also programmatically change the LED brightness if the request to the weather API is made after sunset or after sunrise,” he reveals. “I would like to change this last hard-coded logic using a photoresistor that can read the environmental brightness and adjust [it] accordingly.”

We think it’s a great project, and it turns out his friends agreed – one of whom had it installed in his hotel lobby in the centre of Milan, near the Duomo (cathedral). Make sure it’s not raining before you head out.

- Werbung -
- Werbung -

What do you think?

27 Points
Upvote Downvote

Written by tmedia

Schreibe einen KommentarAntworten abbrechen