Minimum Viable 1-D PONG

What makes a game a game? Like, how do we know that we’re looking at a variation of PONG when confronted with one? And how do we know how to play it? [Bertho] sought to answer this question as he designed what is probably the smallest-ever 1-D PONG game. His answer involves charlieplexing LEDs, using a voltage divider to save I/O pins, and a couple of AAAs that should last for a long, long time.

[Bertho]’s Minimum 1-D PONG, or m1dp for short, puts an ATTiny85 through its paces as gameplay quickly progresses from ‘I got this’ to ‘no one could possibly keep this up’. This state machine sleeps until one of the two buttons is pressed, at which time a wait animation starts. The action begins with the next button press.

Game play across only five LEDs makes for some pretty intense action, too. Fortunately, the buzzer is a big part of the experience. It sounds one tone for each LED when the ball is in play, and a different tone to confirm button presses. [Bertho] saved so many I/O pins with charlieplexing that he added a green LED that lights up when it’s OK to return the ball. If we were playing, we’d keep our eye on this LED instead of trying to watch the ball. We’re serving the demo after the break point, so don’t let it get past you.

For a study in minimalism, there sure is a lot going on here with all the different tones and animations. If you’d prefer maximalist 1-D PONG, there’s always LED strips. If dungeon crawlers with satisfying hardware are more your thing, you really need to check out Twang.

Continue reading “Minimum Viable 1-D PONG”

Roll A Black Box For Your Wheels

Telemetric devices for vehicles, better known as black boxes, cracked the consumer scene 25 years ago with the premiere of OnStar. These days, you can get one for free from your insurance company if you want to try your luck at the discounts for safe driving game. But what if you wanted a black box just to mess around with that doesn’t share your driving data with the world? Just make one.

[TheForeignMan]’s DIY telematics box was designed to pull reports of the car’s RPM, speed, and throttle depression angle through the ODBII port. An ODBII-to-Bluetooth module sends the data to an Arduino Mega and logs it on an SD card along with latitude and longitude from a NEO-6M GPS module. Everything is powered by the car’s battery through a cigarette lighter-USB adapter.

He’s got everything tightly wrapped up inside a 3D printed box, which makes it pretty hard to retrieve the SD card. In the future, he’d like to send the data to a server instead to avoid accidentally dislodging a jumper wire.

If this one isn’t DIY enough for you to emulate, start by building your own CAN bus reader.

Robot Dances To The Beat Of New YouTube Subs

Sure, you could build some kind of numerical counter to keep track of new YouTube subscribers. But does an increasing digit display truly convey the importance of such an event? Of course not. What you need is something that recognizes this achievement for what it is and celebrates it with you. Something like Subby, the Interactive YouTube Subscriber Robot.

Whenever [brian brocken] gets a new subscriber, Subby’s little TV screen face lights up, and he either dances, salutes, or does another move within his impressive range of motion. [brian] wrote a Visual Basic app that searches his channel’s page for the subscriber count and sends it to the Nano’s COM port over serial every thousand milliseconds. [brian]’s got the VB app and all the STL files available on IO through Dropbox. Moonwalk past the break to watch Subby get down.

We like that Subby is too focused on celebrating each new subscriber to care about the total number itself. Maybe he could be programmed to do some extra special moves whenever the channel hits a milestone.

Continue reading “Robot Dances To The Beat Of New YouTube Subs”

DIY Scrap Guitar Really Shreds

[Keith Decent] recently got himself involved in a plywood challenge, and decided to make a single-pickup electric guitar. Since he is a prolific hoarder of scrap wood, the result is a lovely stack of laminates from many sources, including reclaimed cabinet doors. Really though, the wood is just the beginning—nearly every piece of this texture-rich axe started life as something else.

He’s made a cigar box guitar before, but never a bona fide solid-body electric. As you might guess, he learned quite a bit in the process. [Keith] opted for a neck-through design instead of bolting one on and using a truss rod. The face pieces are cut from his old bench top, which has a unique topology thanks to several years of paint, glue, and other character-building ingredients.

We love the geometric inlay [Keith] made for the pick guard, and the fact that he used an offcut from the process as a floating bridge. He also made his own pickup from bolts, an old folding rule, and reclaimed magnet wire from discarded wall wart transformers. Once he routed out the body and installed the electronics, [Keith] cut up an old painting he’d done on plywood to use as the back panel. Our only complaint about this beautiful guitar is that he didn’t design the back piece to be dinosaur side out. Shred past the break to give her a listen.

[Keith] wound his pickup with a little help from a drill, but a DIY pickup winder might have caused him less grief.

Continue reading “DIY Scrap Guitar Really Shreds”

The Best Part Of Waking Up Just Got Better

If you ask us, one of life’s greatest pleasures is sitting down with a nice, hot cup of something of coffee, tea or hot chocolate. Of course, the best part of this ritual is when the beverage has cooled enough to reach that short window of optimal drinking temperature.

Often times the unthinkable happens—we sip too early and get burned, or else become distracted by watching cat videos reading our colleagues’ Hackaday posts and miss the window altogether. What’s to be done? Something we wish we’d thought of: using the beverage’s heat to cool itself by way of thermal dynamics. For [Scott Clandinin]’s entry into the 2018 Hackaday Prize, he hopes to harness enough heat energy from the beverage to power a fan that will blow across the top of the mug.

[Scott] enlisted a friend to smith a thick copper slab in a right angle formation. The gentle curve of the vertical side pulls heat from the ceramic mug and transfers it to the heat sink of a CPU cooler. Then it’s just a matter of stepping up the voltage produced by the thermoelectric generator with a boost converter. Once he’s got this dialed in, he’d like to power it with supercaps and add a temp sensor and a microcontroller to alert him that his moment of zen is imminent. We’ll drink to that!

Stretching My Skills: How (and Why) I Made My Own Compression Sleeves

Have you ever noticed how “one size fits all” often means “one size poorly fits all”? This became especially clear to me when I started using a compression sleeve on my arm. Like any hacker, this seemed like something I could fix, so I gave it a shot. Boy, did I learn a lot in the process.

A little over a year ago, I started dropping things. If I was holding something in my left hand, chances were good that it would suddenly be on the ground. This phenomenon was soon accompanied by pain and numbness, particularly after banging on a keyboard all day.

At best, my pinky and ring fingers were tired all the time and felt half dead. At worst, pain radiated from my armpit all the way to my fingertips. It felt like my arm had been electrocuted. Long story short, I saw a neurologist or two, and several co-pays later I had a diagnosis: cubital tunnel syndrome.

Continue reading “Stretching My Skills: How (and Why) I Made My Own Compression Sleeves”

Don’t Flake On Your Fish—Feed Them Automatically

We get it. You love your fish, but they can’t bark or gently nip at your shin flesh to let you know they’re hungry. (And they always kind of look hungry, don’t they?) One day bleeds into the next, and you find yourself wondering if you’ve fed them yet today. Or are you thinking of yesterday? Fish deserve better than that. Why not build them a smart fish feeder?

Domovoy is a completely open-source automatic fish feeder that lets you feed them on a schedule, over Bluetooth, or manually. This simple yet elegant design uses a small stepper motor to drive a 3D-printed auger to deliver the goods. Just open the lid, fill ‘er up with flakes, and program up to four feedings per day through the 3-button and LCD interface. You can even set the dosage, which is measured in complete revolutions of the auger.

It’s built around an ATMega328P, but you’ll have to spin your own board and put the feeder together using his excellent instructions. Hungry to see this feeder in action? Just swim past the break.

Can’t be bothered to feed your fish automatically? Train them to feed themselves.

Continue reading “Don’t Flake On Your Fish—Feed Them Automatically”