r/ArduinoProjects • • Jul 31 '21

I built a split-flap YouTube subscriber counter

250 Upvotes

8 comments sorted by

7

u/truetofiction Jul 31 '21

I've spent the past few months building this display and finally converted it to a subscriber counter this past week.

The display is driven by an Arduino Nano which handles the motor movements. As each module spins the flaps drop down to display different characters on the front face. Each character is split across two flaps with a split in the middle (hence the name). Messages are sent as plain serial text and the display returns the output state as JSON after every move.

The modules themselves are built out of laser-cut red acrylic with die-cut PVC flaps. There are 40 flaps in each spool, capable of displaying letters A-Z, numbers 0-9, plus the characters '?', '!', '+', and a blank. The letters themselves are white vinyl, cut on a desktop vinyl cutter and applied by hand.

Here's a video of the display build, and here's the (overly detailed) project writeup.

For the subscriber counter I wrote a Python script which runs on a Raspberry Pi. It fetches the subscriber count from the YouTube API every 2 minutes and pushes it to the display. For good measure it will also show some statistics about the channel (name, total views, number of videos) every hour, and statistics about any recent video (title, views, likes, comments) every half hour.

Shoutouts to /u/scottbez1 for creating the split-flap project that this is based on!

8

u/that1snowflake Jul 31 '21

So when it flips from 659 to 660 does it do a flpflpflpflpflpflp all the way around again?

3

u/truetofiction Jul 31 '21

Yep! It's blurred and covered by the end cards, but you can see that happen at the very end of the video.

1

u/King_Tako Aug 01 '21

That’s awesome! Just one question, what happens if someone un-subs/the counter decreases?

6

u/truetofiction Aug 01 '21

Then uh, then the counter decreases :(

The numbers are on the spool in increasing order, so in order to go to the previous number the spool will spin all of the way around.

2

u/RYNX-de Aug 01 '21

Amazing, love it!

2

u/goscott Aug 15 '21

Very nice! Split-flap displays (flip-dot displays too) are just so cool.

1

u/[deleted] Nov 14 '21

I love this project!! I’m a rookie so idk much about arduino but do you have any blueprints for this project?