WiFi Networks Turned Targets In This Pocket Game

Looking for a way to make his warwalking sessions a bit more interactive, [Roni Bandini] has come up with an interesting way to gamify the discovery of new WiFi networks. Using a Heltec WiFi Kit 8, which integrates an OLED screen and ESP8266, this pocket-sized device picks up wireless networks and uses their signal strength and encryption type as elements of the game.

After selecting which network they want to play against, a target is placed on the screen. The distance between the target and the player is determined by signal strength, and how much damage the target can take correlates to how strong its encryption is. As you can see in the video after the break, gameplay is a bit reminiscent of Scorched Earth, where the player needs to adjust the angle of their artillery to hit distant targets.

The Heltec board is attached to a 3D printed front panel, which fits neatly into an Altoids tin. The controls consist of a button and a potentiometer, and with the addition of a battery pack salvaged from an old cell phone, this little device is ready to do battle wherever you roam.

While this is just a fun diversion for the time being, [Roni] says it wouldn’t take much to actual log networks to a file and generate some statistics about their strength and encryption type. If the idea of a portable WiFi scanning companion seems interesting, you should definitely check out the Pwnagotchi project.

Continue reading “WiFi Networks Turned Targets In This Pocket Game”

Bolt-On Clog Detection For Your 3D Printer

Desktop 3D printing technology has improved by leaps and bounds over the last few years, but they can still be finicky beasts. Part of this is because the consumer-level machines generally don’t offer much in the way of instrumentation. If the filament runs out or the hotend clogs up and stops extruding, the vast majority of printers will keep humming along with nothing to show for it.

Looking to prevent the heartache of a half-finished print, [Elite Worm] has been working on a very clever filament detector that can be retrofitted to your 3D printer with a minimum of fuss. The design, at least in its current form, doesn’t actually interface with the printer beyond latching onto the part cooling fan as a convenient source of DC power. Filament simply passes through it on the way to the extruder, and should it stop moving while the fan is still running (indicating that the machine should be printing), it will sound the alarm.

Inside the handy device is a Digispark ATtiny85 microcontroller, a 128 x 32  I2C OLED display, a buzzer, an LED, and a photoresistor. An ingenious 3D printed mechanism grabs the filament on its way through to the extruder, and uses this movement to alternately block and unblock the path between the LED and photoresistor. If the microcontroller doesn’t see the telltale pulse after a few minutes, it knows that something has gone wrong.

In the video after the break, [Elite Worm] fits the device to his Prusa i3 MK2, but it should work on essentially any 3D printer if you can find a convenient place to mount it. Keep a close eye out during the video for our favorite part of the whole build, using the neck of a latex party balloon to add a little traction to the wheels of the filament sensor. Brilliant.

Incidentally, Prusa tried to tackle jam detection optically on the i3 MK3 but ended up deleting the feature on the subsequent MK3S since the system proved unreliable with some filaments. The official line is that jams are so infrequent with high-quality filament that the printer doesn’t need it, but it does seem like an odd omission when even the cheapest paper printer on the market still beeps at you when things have run afoul.

Continue reading “Bolt-On Clog Detection For Your 3D Printer”

Put An Open Source Demon In Your Pocket

Back in 1996, the Tamagotchi was a triumph of hardware miniaturization. Nearly 25 years later, our expectations for commercially designed and manufactured gadgets are naturally quite a bit higher. But that doesn’t mean we can’t be impressed when somebody pulls off a similar feat in the DIY space.

The Xling by [dsl] follows the classic Tamagotchi concept. A little creature, apparently inspired by the demon from Netflix’s Disenchantment, lives in your pocket and needs occasional attention to remain healthy. The user pushes a few buttons to interact with the creature displayed on the display to do…whatever it is you do with a pet demon. Feed it souls and what have you.

But unlike the iconic 90s toy, both the hardware and software for the Xling are open source. The CERN-OHL-W licensed PCB was designed in KiCad and features an ATmega1284P microcontroller and SH1106G controller for the 128 x 64 OLED display.

Power is provided by an AP3401 DC-DC converter, MCP73831 charge controller, and a 400 mAh 3.7 V battery. Everything fits inside of a 3D printed case that looks like it could easily hang off of a keyring.

While the hardware is admirable enough, the software side of things is quite interesting as well. The Xling is running on a FreeRTOS kernel ported to the ATmega, but the GPLv3 licensed firmware sill needs some work. Right now only a few core functions are implemented, and [dsl] is hoping to get some ideas and feedback from the community so his dream of a fully open source demonic Tamagotchi can finally be realized.

Build enough of them, and you might even be able to implement another virtual pet Singularity. But to be safe, maybe you shouldn’t.

Continue reading “Put An Open Source Demon In Your Pocket”

You’ll Flip For This Toggle Switch Handheld Game

Teacher says that every time a toggle switch clunks, a hacker gets their wings. Or something like that. All we know is that there are few things the hardware tinkerer likes more than the satisfying action of a nice flip. Which by extension means this handheld game built by [Roman Revzin] and controlled by nothing more than three toggle switches will likely be a big hit at the hackerspace.

The parts list for this game, which [Roman] calls the ToggleBoss, is about as short as it gets. There’s a NodeMCU ESP8266 development board, a common SH1106 OLED display, and a trio of suitably clunky toggle switches. Add a bit of wire, toss it all into a 3D printed enclosure, and you’re halfway to thumb flicking nirvana.

Naturally, you might be wondering about the sort of games that can be played with three latching digital inputs; after all, it’s not exactly the most conventional controller layout. But there is where ToggleBoss really shines. Instead of trying to shoehorn traditional games into an exceptionally unconventional system, [Roman] has come up with several games which really embrace the limited input offered to the user.

In a platforming game not unlike the classic Mario Bros, the positions of the physical switches are mapped to virtual walls that are raised and lowered to control a character’s movement through the level. Another game shows the player three dots which correspond to the intended switch states, which they have to match as quickly and as accurately as possible. [Roman] has released the source code to his current lineup of games, which hopefully will inspire others to try their hand at creating software for this fascinating little system.

With the availability of cheap OLED displays and powerful microcontrollers, we’ve started to see more of these bespoke gaming systems. While some will undoubtedly prefer a pocket full of Nintendo’s classics, we think there’s something special about a game system that you can truly call your own.

A Smart Controller For Your DIY UV Cure Box

Resin 3D printers are finally cheap enough that peons like us can finally buy them without skipping too many meals, and what means we’re starting to see more and more of them in the hands of hackers. But to get good results you’ll also want a machine to cure the prints with UV light; an added expense compared to more traditional FDM printers. Of course you could always build one yourself to try and save some money.

An earlier prototype build of the interface.

To that end, [sjm4306] is working on a very impressive controller for all your homebrew UV curing needs. The device is designed to work with cheap UV strip lights that can easily be sourced online, and all you need to bring to the table is a suitable enclosure to install them in. Here he’s using a metal paint can with a lid to keep from burning his eyes out, but we imagine the good readers of Hackaday could come up with something slightly more substantial while still taking the necessary precautions to not cook the only set of eyes you’ll ever have.

Of course, the enclosure isn’t what this project is really about. The focus here is on a general purpose controller, and it looks like [sjm4306] has really gone the extra mile with this one. Using a common OLED display module, the controller provides a very concise and professional graphical user interface for setting parameters such as light intensity and cure time. While the part is cooking, there’s even a nice little progress bar which makes it easy to see how much time is left even if you’re across the room.

At this point we’ve seen a number of hacked together UV cure boxes, but many of them skip the controller and just run the lights full time. That’s fine for a quick and dirty build, but we think a controller like this one could help turn a simple hack into a proper tool.

Continue reading “A Smart Controller For Your DIY UV Cure Box”

Tiny Duck Hunt Looks Like Big Fun

Unless you’ve held on to an old tube TV, did the hack that lets you use a light gun with an LCD via Wiimote receiver and a couple of microcontrollers, or live close to one of those adult arcades, you might be really jonesing to play Duck Hunt by now. It’s time to renew that hunting license, because [Danko] has recreated the game for NodeMCU boards, and it’s open season.

Instead of ducks, you get to shoot cute little Twitter-esque birds of varying sizes and point values, and a tiny cab-over truck if you wish. There’s a 60-second free-for-all, and then time is up and your score is displayed. As a special bonus, there’s no smug dog to laugh at you if don’t hit anything. Be sure to check out the demo and build video after the break.

This pocket console lives on a nicely-wired breadboard for now while [Danko] works on a custom PCB. He’s also planning to add support for Arduboy games in the future, and maybe a joystick instead of a D-pad of buttons.

There are a lot of myths floating around about how the old CRTs read the NES light gun, but our own [Will Sweatman] shot them down in his fascinating Duck Hunt: Reloaded write-up.

Continue reading “Tiny Duck Hunt Looks Like Big Fun”

Arkanoid Clock Is Exactly What It Sounds Like

A clock can be a simple device that keeps you aware of the current time, but it can also be so much more. It can express an aesthetic ideal from yesteryear, or be a throwback to a popular cultural touchstone. It can even be both, in the case of the brilliant Arkaclock from [Victor Serrano].

The build started when [Victor] wished to create an old-school arcade-style game. Aiming to work with limited hardware, just like the pioneers, he settled on using the PIC18F86K22, with less than 4KB of RAM and just 64KB of program space to play with. Hooked up to a 256 x 64 OLED screen with a pleasant green glow, he set about recreating Arkanoid in assembly language.

With this done, [Victor] noted that the retro-looking display was rather pleasant. At this point, the device was repurposed into a clock, with the program generating an Arkanoid level in the shape of the current time. The AI would then play the game, destroying the bricks each minute before the level changed.

It’s an excellent timepiece, and one that would be perfect for the wall of any indie game studio. Other retro games make for great clocks, too. Video after the break.

Continue reading “Arkanoid Clock Is Exactly What It Sounds Like”