The Corona Clock

Schools are closed here in Germany until after Easter vacation, and that means that our almost-six-year-old son Max is staying at home with us. The good news is that my wife and I work from home anyway, so it’s not too stressful as long as he can look after himself for eight hours per day. The bad news is that there’s no way a kindergarten kid can take care of himself for such long stretches, and we don’t want to just park him in front of the boob tube. At least there’s two of us.

The new stay-at-home life has required some adjustment, but for at least the first five days (and counting) it’s working out pretty darn well. One trick: my wife came up with the idea of a visual schedule to help Max divide his day up into kindergarten-sized chunks, and then we added an LED strip behind it to turn it into a linear clock of sorts. And we did it with stuff we had lying around the house.

Granted, it’s not a super deep hacky-hack, and some of you out there could probably get it done with a handful of 555 timers. But it was quick, gets the job done, and heck, with NTP sync, it’s the most accurate kiddie clock in the world! So those of you out there who are stuck like we are, trying to balance childcare and working from home, here’s a quick project that can increase familial harmony while giving you an excuse to order more LED strips.

Continue reading “The Corona Clock”

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.

AvoRipe Takes A Firm Grip On The Ultimate First World Food Problem

You don’t have to be an extinct mammal or a Millennial to enjoy the smooth, buttery taste of an avocado. Being psychic on the other hand is definitely an advantage to catch that small, perfect window between raw and rotten of this divaesque fruit. But don’t worry, as modern problems require modern solutions, [Eden Bar-Tov] and [Elad Goldberg] built the AvoRipe, a device to notify you when your next avocado has reached that window.

Taking both the firmness and color of an avocado as indicators of its ripeness into account, the team built a dome holding a TCS3200 color sensor as stand for the avocado itself, and 3D printed a servo-controlled gripper with a force sensor attached to it. Closing the gripper’s arms step by step and reading the force sensor’s value will determine the softness the avocado has reached. Using an ESP8266 as centerpiece, the AvoRipe is turned into a full-blown IoT device, reporting the sensor readings to a smartphone app, and collecting the avocado’s data history on an Adafruit.IO dashboard.

There is unfortunately one big drawback: to calibrate the sensors, a set of nicely, ripe avocados are required, turning the device into somewhat of a chicken and egg situation. Nevertheless, it’s a nice showcase of tying together different platforms available for widescale hobbyist projects. Sure, it doesn’t hurt to know how to do each part from scratch on your own, but on the other hand, why not use the shortcuts that are at our disposal to remove some obstacles — which sometimes might include programming itself.

Continue reading “AvoRipe Takes A Firm Grip On The Ultimate First World Food Problem”

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”

If Coffee == True {

Having a shared coffee maker in the workplace is both a blessing and a curse. It’s nice to have constant access to coffee, but it can be frustrating to find the coffee pot emptied right as you walk in to the break room. To solve this problem in their office, [Vitort] and co. built an IOT solution that notifies everyone of the current coffee status on a Slack channel.

This project wasn’t built just as a convenience for the office, either. It makes extensive use of AWS SNS, the simple notification system from Amazon Web Services because they wanted to learn to use this technology specifically. Besides the notification system, the device itself is based on a NodeMCU/ESP8266, communicating over WiFi, and is a simple push-button design which coffee drinkers push when a fresh pot is made, and then push again when the coffee is empty.

While relatively straightforward, this project is a good one to look at if you’ve been interested in AWS at all, especially the simple notification system. It’s a pretty versatile tool, and all of the code used in the project is available on the project page for your reading pleasure. If you’re more interested in the coffee aspect of this project, we have a special coffee maker for you too.

ESP8266 Adds Web Control To Old Home Theater

There was a time when you could hold onto a TV or A/V receiver for the better part of the decade and not feel as though you were missing out on the latest and greatest features. But today you’re lucky to get three years out of a “smart” TV before it’s either supplanted by a vastly improved version, or falls victim to some weird issue that (surprise, surprise) means you need to buy a new one.

A simple touch interface hosted on the ESP8266

Not content with the status quo of planned obsolescence, [aamarioneta] recently set out to add a sprinkling of modern convenience to a circa 2008 Denon AVR 2308 home theater receiver. Like any good A/V receiver, the AVR 2308 features a dizzying array of ports on the back panel, one of which happens to be for an external infrared receiver. This turned out to be the perfect place to jack in an ESP8266, earning this 12 year old receiver an honorary membership into the Internet of Things.

The interesting thing about this hack is that there’s actually no IR involved. Sure, the code could be used to drive an IR LED attached to the ESP8266’s GPIO pins, and the AVR 2308 would respond as if the original remote was being used; but where’s the fun in that? Thanks to the receiver port, they’re able to inject the IR codes directly into the device. It’s the same protocol, just without the photons.

With a simple web-interface running on the ESP8266, they can control the AVR 2308 from a smartphone’s browser anywhere in the house. From here it would only take a few more lines of code to tie it into an existing home automation system or add in support for Alexa voice control.

We love seeing projects that add modern features to older hardware, as that’s one less piece of gear sent to an early grave because its owner felt they were behind the curve. It’s getting a bit unfriendly out there for consumers, and anything that puts the power back into the owner’s hands is a step in the right direction.

A Minimal ESP8266 Digital Picture Frame

Over the last few years, the price of a good digital picture frame has dropped to the point that we don’t often see DIY versions anymore. As much as we might hate to admit it, it’s hard to justify building something yourself when the economies of scale have made it so you can buy the final product for less than the cost of the parts themselves. But of course, there are always fringe cases where building it might be the only way to get what you need.

Granted we’re not sure that [Tony Liu] actually needs a 1.8-inch digital picture frame, but we’re sure somebody out there does. The ST7735R display used in this project is a real TFT, so the color and refresh rate is pretty good; but with a resolution of just 128×160, we’d recommend keeping your expectations low in regards to visual fidelity.

What’s really interesting about this project is how low the part count is. All you need is the ST7735R display and the ESP8266 itself (or the development board of your choice, naturally). Even the 3D printed frame is technically optional. The display is driven by SPI, so with the power added in, that’s only eight wires that need to be soldered between the two devices. If you’re looking for an easy way to add a photo slideshow to a small device, say a conference badge, this is about as easy as it gets.

But where are the images coming from? You might think SPIFFS, but in this case [Tony] has converted the images to bitmaps and is loading them into the Arduino Sketch as a header file with PROGMEM. Helpfully, he provides the link for the tool he uses to convert the images into an array the graphics library can understand. This makes adding new images slightly time consuming, but we imagine if you have the need for something like this, it’s probably only showing a pretty specific set of images anyway.

If you’re looking for something bigger, or maybe just an excuse to put that dusty Raspberry Pi to use, you might be interested in one of the more substantial builds we’ve seen over the years.

Continue reading “A Minimal ESP8266 Digital Picture Frame”