A Complex Way To Push A Button

We’ve likely all looked at a simple problem in our lives and thought that it would be an easy fix, only to realize that the project is enormously more complicated than we first realized. Whether that’s starting a home improvement project, doing a quick repair to a bicycle or car, or trying to install an obscure piece of software on a Linux machine, the amount of time we budget for these tasks often ends up woefully underestimated. []’s night light needs to have its brightness set every night, and it seems easy enough to get a microcontroller to automate that, right?

Well, upon opening the small device, the first issue is that there is no labeling on any of the parts, so simply adding a jumper on to existing microcontroller pins without damaging anything wouldn’t easily be possible. Adding a secondary microcontroller is the next logical step, but the power supply in the night light is extremely underpowered so using even the smallest Raspberry Pi or off-the-shelf Arduino was out of the question too. [Oscar] instead chose an ATtiny85, which solves the power requirement issue, but these are a bit more of a challenge to program without a USB device. From there, it needs a transistor wired in to the circuit to actually push the button for him, plus a few support resistors, so [Oscar] actually had a PCB custom-built to hold all of these components.

Even after all of that, the space within the night light enclosure made installing the PCB a challenge, but in the end he has a device which, when his home automation system powers on the plug for the nightlight, automatically boots up and pushes the switch the required number of times and then puts itself to sleep. We’d call that a success even after the colossal effort getting this inexpensive, small light working the way he wanted. There are some other low-powered solutions for problems like these too, as long as being battery-powered isn’t a dealbreaker.

IKEA LED Lamp Gets Hacked For Night Light Duty

IKEA make a lot of different lamps, including useful motion-sensitive models that can click on when you walk past. [Andrew Menadue] trialed one as a night light, but it was far too bright for the task. It also would come on during the day time, wasting its precious battery life when it wasn’t needed. Thus, in order to mold the lamp to its new purpose, hacking ensued.

The first step, as it so often is, was to crack open the case and look inside. Preliminary inspections revealed a BISS0001 chip —  a simple passive infrared motion sensor. The chip has a function built in that can disable the output from triggering if it detects light. Adding a light-dependent resistor and a further 100K resistor was all that was needed to enable this feature.

Now, the lamp only kicks on if it detects motion at night. Some further tweaks also cut the current limit to the LEDs, reducing the brightness to a more suitable level for night time. [Andrew] now has a useful night light that suits his needs, and likes it so much that he once drove 150 miles to recover one that he left behind on vacation. That’s dedication!

The Tools That Lovingly Tore Apart A Vintage Computer Game

The structure of computer game assets can be a bit of a mystery, even more so the older a game is, and some amount of reverse-engineering can be expected when pulling apart a game like 1995’s Night Light.

[voussoir] had fond memories of this game by GTE Entertainment, which had an interesting “flashlight” mechanic to serve the exploration theme. Spooky shapes in dark rooms would be revealed to be quite ordinary (and therefore not scary at all) once illuminated with a flashlight, which was directed by the mouse.

Extracting game assets was partly straightforward, thanks to many of them being laid out in a handy folder structure, with .bmp files for each level in a modest resolution. But there were also some unusual .mov files that were less than a second long, and those took a little more work to figure out.

It turns out that these unusual movie files were 80 frames in length, and each frame was a tile of a larger image. [voussoir] used ffmpeg to extract each frame, then wrote a Python script to stitch the tiles together. Behold! The results are high-resolution versions of each level’s artwork. Stitching the first 16 frames into a 4×4 grid yields a 1024×768 image, and the remaining 64 frames can be put into a 8×8 grid for a fantastic 2048×1376 version. The last piece was extracting audio, but sadly the ISO [voussoir] was using seems to have had errors, and not all the audio survived.

With intact assets in hand, [voussoir] was able to re-create the core of the game, which can be seen about halfway down into the writeup. Audio clues play simply while the flashlight effect is re-created in the browser with the game’s original level artwork, and it’s enough to ring those nostalgia bells. It’s a pretty successful project, even though not all of the assets have been tracked down, and not all of the audio was able to be extracted due to corruption. If you have any insights on that front, don’t keep them to yourself! Send [voussoir] an email, or chime in here in the comments.

Reverse engineering has a strong history when it comes to games, and has manifested itself in sometimes unusual ways, like the time Atari cracked the NES. Had the subsequent legal challenge gone differently, the game landscape might have looked very different today.

Elegant And Portable DIY Nightlight Becomes A Fixture For Hacker’s Kids

When [itzikdiy]’s kids asked for a night light for their room, he got the bright idea to build something that straddles the line between portable and permanent. This fixture-less fixture plugs directly into a wall socket and is turned on and off with a handsome rocker switch on the bottom.

This lovely little lamp is mostly made from scrap — the oak on the front appears to have come from an old cabinet door, and the other two ring-shaped pieces are made from pine. [itzikdiy] even took the acrylic from broken panel lamps. Everything was cut with a Dremel and a circle-cutter attachment except the oak, which required a jigsaw. We think it looks great, especially with the different grain directions — call it art deco woodworking.

When it was all said and done, [itzikdiy] found it was too heavy to hang by the plug alone, so he added an L-shaped support beneath the power supply that holds it more evenly against the wall. [itzikdiy] also made a pair of hooks that snap into a pair of slots on the sides of the outlet itself. The solution is simple, sturdy, and effective without disrupting the lines of the lamp at all. Carve out a little bit of time to watch the build video after the break.

We know that someone of your hulking intelligence has no fear of the dark. But if you think you could use a nightlight in the bathroom for those 2 AM trips, look no further.

Continue reading “Elegant And Portable DIY Nightlight Becomes A Fixture For Hacker’s Kids”

Little Red Night Light Is Just Right

Don’t you hate getting up in the middle of the night to use the bathroom? The worst part is not being able to see what you’re doing, but if you turn on a light, you’ll lose your night vision. Nightlights are supposed to be the best solution, but are usually too bright for 3 AM excursions and can end up leaking light into the bedroom. What the bathroom needs is a purpose-built nightlight that uses red light so you don’t lose your night vision.

This simple, wall-mounted night light is just the thing. All it takes is two AA batteries, a resistor, a red LED, and an SPST push button. [Vchaney] even made their own battery contacts. The genius part of this build is in the adjustable LED, which is fitted into a ball that moves around in a socket so you can aim it wherever you need to see. All the files are available if you want to print one for yourself.

Those who sit might prefer to shine the light on the toilet paper roll. Here’s a smart roll holder that doubles as a night light, albeit a terribly bright one.

Bright White Night Light Fights E-Waste

E-waste is a gigantic problem, and it can seem impossible as a lone individual to make any kind of dent in it. But [akshar1101] is trying to do their part by looking past the defective aspects of broken, discarded electronics to draw out the possibilities of what’s left.

This friendly night light is made from the PCBs of four broken Nokia 5110 LCD modules. The screens were all toast, but the nice white LEDs that used to light them from the sides work just fine. [akshar1101] cleverly tied all the LED and GND lines together with single right-angle header pins. To power the LEDs, they wired up a JST receptacle to one of the PCBs and connected a 3.7 V lithium battery pack that sits underneath. [akshar1101] diffused the piercing white lights into a soft glow with two pieces of acrylic.

We love to see electronic components get saved from landfills, especially when they can be turned into something useful and beautiful. Something about the traces on these boards makes them visually interesting to us — it’s that little hiccup that interrupts otherwise parallel lines.

If all of your 5110 LCDs are in working order, you could spice one of them up with an RGB backlight.

Tiny Circuit Sculpture Keeps The Night Watch

If you’re planning to get into circuit sculpture one of these days, it would probably be best to start with something small and simple, instead of trying to make a crazy light-up spaceship or something with a lot of curves on the first go. A small form factor doesn’t necessarily mean it can’t also be useful. Why not start by making a small automatic night light?

The circuit itself is quite simple, especially because it uses an Arduino. You could accomplish the same thing with a 555, but that’s going to complicate the circuit sculpture part of things a bit. As long as the ambient light level coming in from the light-dependent resistor is low enough, then the two LEDs will be lit.

We love the frosted acrylic panels that [akshar1101] connected together with what looks like right angle header pins. If you wanted to expose the electronics, localize the light diffusion with a little acrylic cover that slips over the LEDs. Check it out in the demo after the break.

There’s more than one way to build a glowing cuboid night light. The Rubik’s way, for instance.

Continue reading “Tiny Circuit Sculpture Keeps The Night Watch”