A Farewell To YouTube Sub Counters Set To Break With API Change

Of all the things you never would have guessed you’d need just ten years ago, a YouTube subscriber counter would probably rank highly. You would have guessed that the little hits of dopamine accompanying each tick upward of a number would be so addictive?

As it turns out, lots of people wanted to keep a running total of their online fans, and a bewilderingly varied ecosystem of subscriber counters has cropped up. All of them rely on the API that YouTube exposes for such purposes, which as [Brian Lough] points out is about to change and break every subscription counter ever made. In the YouTube sub counter space, [Brian] is both an enabler – he built an Arduino wrapper to fetch YT sub counts easily – and a serial builder of displays for other YouTubers. The video below shows a collection of his work, many based on RGB LED matrix display, like the one used in his Tetris-themed sub counter. They’re all well-built, nice to look at, and sadly, destined for obsolescence sometime in August when the API changes.

The details of the API changes were made public in April, and for the subs count it amounts to rounding the count and displaying large counts as, for instance, 510k as opposed to 510,023. We’re confident that [Brian] and other display builders will be able to salvage some of their counters with code changes, but others will probably require hardware changes. Thanks, YouTube.

Continue reading “A Farewell To YouTube Sub Counters Set To Break With API Change”

Measure Your YouTube Importance

How do you hack your motivation? Do you put red marker Xs on a paper calendar every day you exercise? Do you use an egg timer to sprint through dozens of emails? Do you lock all the doors and shut off your data to write some bulletproof code? If you are [Hulk], you build a YouTube Desktop Notifier showing his YouTube subscribers and views. This is his ticket to getting off the couch to make a video about just such a device. There is something poetic about building a mechanism to monitor its own success making a feedback loop of sorts. The Hackaday.io page follows the video, so anyone who wants to build their own doesn’t have to scribble notes while pausing the video which is also posted below the break.

The hardware list is logical, starting with a NodeMCU module programmed through the Arduino IDE. Addressable 7-segment displays show the statistics in red, but you can sub in your preferred color with the back-lighting LEDs. It should be possible to share the CLK pins on the displays if you are important enough to need more digits. [Hulk] already outlined a list of improvements including switching to addressable backlights and adding daily and monthly tracking.

Monitoring online values without a computer monitor is satisfying on a level because it shows what motivates us, whether that is Bitcoin or the weather.

Continue reading “Measure Your YouTube Importance”

Electromechanical YouTube Sub Counter Trades Clicks For Clacks

Acquiring a new YouTube subscriber is a blessed event that deserves far more fanfare than a phone notification. But maybe blinkenlights don’t really do it for you anymore, or you simply prefer to be soothed sonically rather than visually. Well, what could be more satisfying than the crisp clack of an electromechanical 7-segment display? Six of them, of course. These things look great, they sound great, and once they’re set, they don’t need power to stay that way.

These displays switch between black and white by reversing current flow through their electromagnets, so [Zack] turned to the H-bridge in order to use them with DC. One H-bridge for each segment of six displays adds up fast, though. To get around this, [Zack] tied one pole of each electromagnet together for a common signal input, and used the other pole to control each segment individually. Then, he was able to tie all the A segments together, all the B segments, and so on, and only needs 13 H-bridges to do it all.

There was just one thing [Zack] didn’t count on. Once he got the board soldered up and running, the displays started acting funny. The low impedance of the coils was causing them to influence each other over the common path, so he added diode arrays to keep them in line.

[Zack]’s using an ESP32 to get the 411 through the Google API, and four octal serial switches to drive the displays. Even more satisfying than all those clacks is the displays’ operational economy baked into [Zack]’s code—as they count up, any segments common to the first digit and the next digit remain on. Increment your way past the break to check out the build video.

Not focused on numbers, but still want to celebrate each new sub? Try a dancing robot or a Tetris twist.

Continue reading “Electromechanical YouTube Sub Counter Trades Clicks For Clacks”

UPnP, Vulnerability As A Feature That Just Won’t Die

UPnP — in a perfect world it would have been the answer to many connectivity headaches as we add more devices to our home networks. But in practice it the cause of a lot of headaches when it comes to keeping those networks secure.

It’s likely that many Hackaday readers provide some form of technical support to relatives or friends. We’ll help sort out Mom’s desktop and email gripes, and we’ll set up her new router and lock it down as best we can to minimise the chance of the bad guys causing her problems. Probably one of the first things we’ll have all done is something that’s old news in our community; to ensure that a notorious vulnerability exposed to the outside world is plugged, we disable UPnP on whatever cable modem or ADSL router her provider supplied.

Continue reading “UPnP, Vulnerability As A Feature That Just Won’t Die”

The Magic Flute Of Rat Mind Control Aims To Mix Magic And Science

Well this is unusual. Behold the Magic Flute of Rat Mind Control, and as a project it is all about altering the response to the instrument, rather than being about hacking the musical instrument itself. It’s [Kurt White]’s entry to the Musical Instrument Challenge portion of The Hackaday Prize, and it’s as intriguing as it is different.

The Raspberry-Pi controlled, IoT Skinner box for rats, named Nicodemus.

[Kurt] has created a portable, internet-connected, automated food dispenser with a live streaming video feed and the ability to play recorded sounds. That device (named Nicodemus) is used as a Skinner Box to train rats — anywhere rats may be found — using operant conditioning to make them expect food when they hear a few bars of Black Sabbath’s Iron Man played on a small recorder (which is a type of flute.)

In short, the flute would allow one to summon hordes of rats as if by magic, because they have been trained by Nicodemus to associate Iron Man with food.

Many of the system’s elements are informed by the results of research into sound preference in rats, as well as their ability to discriminate between different melodies, so long as the right frequencies are present. The summoning part is all about science, but what about how to protect oneself from the hordes of hungry rodents who arrive with sharp teeth and high expectations of being fed? According to [Kurt], that’s where the magic comes in. He seems very certain that a ritual to convert a wooden recorder into a magic flute is all the protection one would need.

Embedded below is something I’m comfortable calling the strangest use case video we’ve ever seen. Well, we think it’s a dramatized use case. Perhaps it’s more correctly a mood piece or motivational assist. Outsider Art? You decide.

Continue reading “The Magic Flute Of Rat Mind Control Aims To Mix Magic And Science”

A YouTube Subscriber Counter With A Tetris Twist

When it comes to YouTube subscriber counters, there’s not much wiggle room for creativity. Sure, you can go with Nixies or even more exotic displays, but in the end a counter is just a bunch of numbers.

But [Brian Lough] found a way to jazz things up with this Tetris-playing YouTube sub counter. For those of you not familiar with [Brian]’s channel, it’s really worth a watch. He tends toward long live-stream videos where he works on one project for a marathon session, and there’s a lot to learn from peeking over his virtual shoulder. This project stems from an earlier video, posted after the break, which itself was a condensation of several sessions hacking with the RGB matrix that would form the display for this project. He’s become enamored of the cheap and readily-available 64×32 pixel RGB displays, and borrowing an idea from Mc Lighting author [toblum], he decided that digits being assembled from falling Tetris blocks would be a nice twist. [Brian] had to port the Tetris-ifying code to Arduino before getting the ESP8266 to do the work of getting the subs and updating the display. We think the display looks great, and the fact that the library is open and available means that you too can add Tetris animations to your projects.

None of this is to say that more traditional sub counters can’t be cool too. From a minimalist display to keeping track of all your social media, good designs are everywhere. And adding a solid copper play button is a nice touch too.

Continue reading “A YouTube Subscriber Counter With A Tetris Twist”