Typefully

Fun project - LED SpaceHey user counter

Avatar

Share

 • 

5 years ago

 • 

View on X

Let's make a physical SpaceHey user counter! 😊 Thread 👇
✨ The Parts ✨ - RaspberryPi Zero W (any other RaspberryPi should work too) - a MAX7219 7-segment display with 8 digits (I used this one: shiny.link/7seg) - a few wires & soldering iron - a 5V Micro-USB Power supply
First, I soldered the included wire-connector-thingy onto the display board - then I followed this (german) Article to wire it all up: shiny.link/7segtut (details in next tweet)
Here's how the 7 segment display is connected to the Raspberry Pi:
It's time for the software! I used the Luma LED Matrix Python Library (shiny.link/7seglib) to control the 7 segment display. I modified the example script (shiny.link/7segscript) to call the SpaceHey server to get the current amount of users and display it every 20 secs
Now I just configured the script to run automatically every time the Raspberry Pi boots and voilà - it works! 🥳 Now, let's wait until SpaceHey reaches 50 000 users! ☺️
Avatar

An | Anton Röhm

@AnTheMaker

21yo student from Germany. ZEIT 30-under-30 2022. Creator of @spacehey, @tibush, rssapi.net and so much more. @an@ist.social - spacehey.com/an