A 3D-printed talking milk jug with a speech bubble that says 'glug'.

Talking Milk Jug Says Glug-Glug-Glug

Children can be a great source of daily inspiration, especially when they are just beginning to speak in full sentences and starting to let their little personalities show.

The innards of the milk jug. A sound module with SD card, a tilt switch, a boost converter, and so on. [Franklinstein] has the cutest toddler, and she loves her toy espresso machine, especially the little milk carton that came with it. Well, one day, Daddy made a glug-glug sound that delighted her, and he was inspired to build an entirely new milk jug that would make that special sound whenever it was turned over.

In order to keep the build relatively simple, [Franklinstein] used a sound module with an SD card and a tilt switch to activate it. There’s not much else to the build, really — just the usual suspects like a boost converter, a charging module, and a speaker, of course. In case you couldn’t tell, the enclosure and the internal skid that the electronics assemble onto are 3D printed.

This is really cute, and [Franklinstein]’s daughter seems to love it. Everything is available, including some nice instructions if you want to make one of your own. Be sure to check out the neat build video after the break.

The things we do for kids. Seriously.

Continue reading “Talking Milk Jug Says Glug-Glug-Glug”

Hackaday Podcast Episode 285: Learning Laser Tricks, Rocket Science, And A Laptop That’s Not A Laptop

This week on the Podcast, we have something a little different for you. Elliot is on vacation, so Tom was in charge of running the show and he had Kristina in the hot seat.

First up in the news: the 2024 Tiny Games Challenge is still underway and has drawn an impressive 44 entries as of this writing. You have until 9AM PDT on September 10th to show us your best tiny game, whether that means tiny hardware, tiny code, or a tiny BOM.

Then it’s on to What’s That Sound, which Tom and Kristina came up with together, so there will be no pageantry about guessing. But can you get it? Can you figure it out? Can you guess what’s making that sound? If you can, and your number comes up, you get a special Hackaday Podcast t-shirt.

Now it’s on to the hacks, beginning with an open-source liquid-fueled rocket and a really cool retro trackball laptop. Then we’ll discuss screwdriver mange, the Wow! signal, and whether you’re using you’re calipers incorrectly. Finally, we look at a laptop that that isn’t really a laptop, and one simple trick to keep things aligned on your laser engraver.

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Download in DRM-free MP3 and savor at your leisure.

Continue reading “Hackaday Podcast Episode 285: Learning Laser Tricks, Rocket Science, And A Laptop That’s Not A Laptop”

A Lunar Lander-meets-Flappy-Bird game where you must rescue puppies from a Moon base, on an OLED display.

2024 Tiny Games Contest: Save The Stranded Puppies Of Moon Base P!

Usually, if something is tiny, it’s probably pretty cute to boot. [Luke J. Barker]’s lunar navigation game is no exception to this unwritten rule. And as far as contest rules go, this one seems to fit rather nicely, as it is tiny on more than one level.

Moon Base P (for Puppies) is built upon a XIAO ESP32-C3, an SSD1306 OLED display, and a single button to keep the BOM tidy. In this riveting side-scroller which sort of marries Lunar Lander and Flappy Bird, the top bar is always yellow and displays fuel and such, and the bottom is a rough, blue lunar surface over which you must maneuver your lunar lander. Keep pressing the button to stay up and avoid mountains, or let off the gas to cool the engine.

Fly that thing over the terrain, avoiding stray meteors and picking up free fuel, and then land gently at Moon Base P to save the stranded puppies. But you must keep flying — touch down anywhere but where you’re supposed to, and it’s game over! Once you’ve picked up the puppies, you must fly them safely onward to the rescue pod in order to win. Don’t miss the walk-through and demo after the break.

Continue reading “2024 Tiny Games Contest: Save The Stranded Puppies Of Moon Base P!”

Zero-dimensional PONG game built on a perfboard.

2024 Tiny Games Contest: Coming At Ya With Zero-Dimensional PONG

A decade is a long time to carry around a project idea in your head. Fortunately, the Tiny Games Contest happens to coincide with [Senile Data Systems]’s getting back into ATMega programming, so they can finally make their zero-dimensional PONG dreams come true (and have the chance at great prizes, too, of course).

If you don’t already get what’s going on here, zero-dimensional PONG takes 1D PONG and turns it on the short side. Imagine the light coming toward you, then moving away toward your opponent, and you have the basic idea. So, how is this done? Pulse-width modulation controls the brightness of the LED, and, well, you have to be pretty fast, although there is a small margin for the inevitable error.

In the video after the break, you can watch [SDS] play themselves using a red/green LED. Player one must press the button when red is fully lit and green is off, and player two goes when green is fully lit and red is off. The cool thing is that this game uses sockets, so it can use any LED. There are nine difficulty levels to control the PWM speed,  so one can really test one’s reaction time.

If you want to build one of these, you’ll need an ATtiny2313 or something similar, a couple of buttons, a display, and the optional but fun buzzer. The well-commented code is available through [Senile Data Systems]’s site.

Continue reading “2024 Tiny Games Contest: Coming At Ya With Zero-Dimensional PONG”

A small physical version of the game 2048, played with LEDs as numbers and tilt for input.

2024 Tiny Games Challenge: It’s 2048, But With LEDs

Remember the game 2048? You slide numbered tiles around on a grid, combining them until you have one tile with a value of 2048 (although it’s possible to go higher). Legend has it that 2048 was created by a bored teenager in the space of a weekend to see if he could program a game from scratch.

It only took a couple of weekends for [David] to get Tiny2048 up and running. In this version, each RGB value represents a number value, and input comes from a rudimentary gesture detector — tilt it this way and that to move the LEDs and combine the ‘numbers’. As you might imagine, it was a bit tricky to use colors to represent numbers, so each one had to be sufficiently unique.

[David] says that the LED matrix is a string of WS2812 LEDs in a grid formation, controlled by an ESP32-S3-MINI-1. Although this may be overkill, [David] broke out a bunch of IO at the top of the board so it can be used in the future as a dev board. Be sure to check it out in blinkenlight action after the break!

Continue reading “2024 Tiny Games Challenge: It’s 2048, But With LEDs”

Three different views of a tiny games console with a screen and a single button. It's assembled in the first picture, and the guts are shown in the second two pictures.

2024 Tiny Games Contest: Salsa One Handheld Requires No PCB

If you’re thinking about building a single tiny game or even a platform, you might be tempted to use a single button for everything. Such is the case with [Alex]’s Salsa ONE minimalist game console, which is inspired by both the Arduboy and the ergonomics of the SanDisk Sansa music player.

With Salsa ONE, [Alex] aimed to make something that is both simple and challenging. The result is something that, awesomely enough, doesn’t need a PCB, and can be comfortably controlled with just one thumb. There isn’t much to this thing, which is essentially an RP2040, an OLED, a vibration motor, a buzzer, a button, and a CR2032 coin cell. [Alex] chose to program Salsa ONE in MicroPython. Be sure to check it out in action in the brief demo after the break.

Have you got an idea for a tiny game? Don’t hesitate to enter the 2024 Tiny Games Contest! You have until September 10th, so head on over to Hackaday.io and get started today.

Continue reading “2024 Tiny Games Contest: Salsa One Handheld Requires No PCB”

A single-key macro pad with a screen built into the button.

2024 Tiny Games Contest: Are You A Good Judge Of Time?

What can you do with a one-button keyboard? Quite a bit, actually, especially if that key has a little screen on it. That’s the idea behind [Maker M0]’s MagicClick macro pad, which is an updated version of a highly useful project we have featured in the past. Well, now there’s a tiny game to go with it.

Animation showing the TimePerception game in action.Think you’re pretty good at measuring the passage of time? This game will likely prove you wrong. Press and hold the button and the timer begins with some pre-determined interval, such as four seconds. Once you think those four seconds have passed, release the button and find out how far off you were.

While the first version of this keyboard used the CH582F RISC-V microcontroller, the second and this third version use an ESP32-S3 on a custom, tightly packed PCB. That TFT display measures 0.85″, and the battery is an 3.7 V 802025 Li-Po. [Maker M0] has also redesigned this to make it easier to print, and plans to support circular screens in the near future.