Counting Is For Sheep: Use A Light To Fall Asleep

How do you get to sleep at night? For some of us, it can be the most difficult thing we do all day. Worrying about falling asleep and letting other intrusive thoughts in night after night only compounds the problem, as less sleep leads to depression which (for us) leads to even less sleep. We lay there, trapped inside a vortex of churning thoughts, imprisoned in a mind that feels like it’s malfunctioning and half-wishing for a future where instructor-led meditation videos can be beamed to the insides of our eyelids. In the meantime, there is FADing, the Fall Asleep Device.

FADing takes its cues from a relaxation technique that uses light to focus your attention and control your breathing. The light’s intensity waxes and wanes on a schedule designed to get you down from the average eleven breaths per minute to a zen-like six breaths per minute. You surrender to the light, breathing in as it intensifies and breathing out as it fades. There are commercial products that bring this technique to the bedroom, but they aren’t cheap and don’t offer much control. Fail to fall asleep in the prescribed window and you’re back to square one with one more thing to think about: buyer’s remorse.

[Youz] was inspired by these devices but dissatisfied with the price tag and lack of options, so he created his own version with a flexible window of operation that appeals to both back- and side-sleepers. It uses an Arduino Nano and two momentaries to control two LEDs, a relay to hold the power after startup, a 9V, and a diode to protect the Nano. One LED projects on the ceiling, and the other radiates through a slice of acrylic which has been shaded blue. One button is for power, and the other lets you add time by two-minute increments. You can see the build video after the break and then tell us how you’d do it with a 555, a coin cell, and a chunk of uranium glass in the comments.

Once you can focus on your breathing without a light, reuse that Nano to measure the quality of all that sleep you’re getting.

Continue reading “Counting Is For Sheep: Use A Light To Fall Asleep”

Giving Stranger Things For Christmas

[rudolph] was at a loss on what to get his niece for Christmas. It turns out she’s a huge fan of Stranger Things, so the answer was obvious: make her an alphabet wall she can control!

Downsizing the scale to fit inside a document frame, [rudolph] calls their gift rudLights, and a key parameter of this build was to make it able to display any phrases sent from their niece’s Amazon Fire tablet instead of constantly displaying hard-coded phrases. To do so, it has a HC-05 Bluetooth module to forward the commands to the NeoPixel LEDs running on a 5V DC power supply.

[rudolph] enlisted the help of their son to draw up the alphabet display — printed straight onto thematically decorative wallpaper — and cut out holes in the light bulbs for the LEDs.  Next up was cut some fibre board as a firm backing to mount the electronics inside the frame and drill holes for the NeoPixels. It was a small odyssey to cut and solder all the wires to the LEDs, but once done, [rudolph] divided their rudLight alphabet into three rows and added capacitors to receive power directly.

Continue reading “Giving Stranger Things For Christmas”

DIY Dungeon Crawler Game Plays On Single LED Strip

A delightful version of a clever one-dimensional game has been made by [Critters] which he calls TWANG! because the joystick is made from a spring doorstop with an accelerometer in the tip. The game itself is played out on an RGB LED strip. As a result, the game world, the player, goal, and enemies are all represented on a single line of LEDs.

How can a dungeon crawler game be represented in 1D, and how is this unusual game played? The goal is for the player (a green dot) to reach the goal (a blue dot) to advance to the next level. Making this more difficult are enemies (red dots) which move in different ways. The joystick is moved left or right to advance the player’s blue dot left or right, and the player can attack with a “twang” motion of the joystick, which eliminates nearby enemies. By playing with brightness and color, a surprising amount of gameplay can be jammed into a one-dimensional display!

Code for TWANG! is on github and models for 3D printing the physical pieces are on Thingiverse. The video (embedded below) focuses mainly on the development process, but does have the gameplay elements explained as well and demonstrates some slick animations and sharp feedback.

Continue reading “DIY Dungeon Crawler Game Plays On Single LED Strip”

Interactive LED Table

Some hackers make functional things that you can’t allow to be seen in polite company. Others make beautiful things that could come from a high-end store. [Marija] falls into the second category and her interactive LED coffee table would probably fetch quite a bit on the retail market. You can see a video of the awesome-looking table, below.

It isn’t just the glass, MDF, and pine construction. There’s also a Bluetooth interface to a custom Android application from [Dejan], who collaborated on the project. However, if you aren’t comfortable with the woodworking, [Marija’s] instructions are very detailed with great pictures so this might be a good starter project.

Continue reading “Interactive LED Table”

Smartphone Controlled Periodic Table Of Elements

It wouldn’t be much of a stretch to say that here at Hackaday, we’re about as geeky as they come. Having said that, even we were surprised to hear that there are people out there who collect elements. Far be it from us to knock how anyone else wishes to fill their days, but telling somebody at a party that you collect chemical elements is like one step up from saying you’ve got a mold and fungus collection at home. Even then, at least a completed mold and fungus collection won’t be radioactive.

But if you’re going to spend your spare time working on a nerdy and potentially deadly collection, you might as well put it into an appropriate display case. You can’t just leave your Polonium sitting around on the kitchen counter. That’s the idea behind the interactive periodic table built by [Maclsk], and we’ve got to admit, if we get to put it in a case this awesome we might have to start our own collection.

A large portion of this project is building the wooden display case itself as, strangely enough, IKEA doesn’t currently stock a shelving unit that’s in the shape of the periodic table. The individual cells and edge molding are made of pine, the back panel is MDF, and the front of the display is faced off with thin strips of balsa to cover up all the joints. Holes were then drilled into the back of each cell for the LED wiring, and finally the entire frame was painted white.

Each cell contains an WS2812B RGB LED, which at maximum brightness draws 60mA. Given the 90 cells of the display case, [Maclsk] calculated a 5.4A power supply would be needed to keep everything lit up. However, he found a 4A power supply that made his budget happier, which he reasons will be fine as long as he doesn’t try to crank every cell up to maximum at the same time. Control for the display is provided by an Arduino Nano and HC05 Bluetooth module.

The final piece of the project was the Android application that allows the user to control the lighting. But it doesn’t just change colors and brightness, it’s actually a way to visualize information about the elements themselves. The user can do things like highlight certain groups of elements (say, only the radioactive ones), or light up individual cells in order of the year each element was discovered. Some of the information visualizations are demonstrated in the video below, and honestly, we’ve seen museum displays that weren’t this well done.

We last caught up with [Maclsk] when he created a very slick robotic wire cutting machine, which we can only assume was put to work for this particular project. Too bad he didn’t have a robot to handle the nearly 540 soldering joints it took to wire up all these LEDs.

[via /r/DIY]

Continue reading “Smartphone Controlled Periodic Table Of Elements”

Not So Simple LED Upgrade For Microscope

[Amen] obtained a microscope whose light source was an incandescent bulb, but the light from it seemed awfully dim even at its brightest setting. Rather than hunt down a replacement, he decided to replace the bulb with a 1W LED mounted on a metal cylinder. The retrofit was successful, but there were numerous constraints on his work that complicated things. The original bulb and the LED replacement differed not just in shape and size, but also in electrical requirements. The bulb was also part of an assembly that used a two-pronged plug off to the side for power. In the end, [Amen] used 3D printing, a bit of metal work, and a bridge rectifier on some stripboard to successfully replace his microscope’s incandescent bulb assembly with an LED. He even used a lathe to make connector pins that mated properly with the microscope’s proprietary power connector, so that the LED unit could be a drop-in module.

Working on existing equipment always puts constraints on one’s work, usually due to space limitations, but sometimes also proprietary signals. For example, a common issue when refitting a projector with an LED is to discover that the projector expects a stock bulb, and refuses to boot up without one. Happily, the microscope didn’t care much about the bulb itself, and with the LED positioned in roughly the same position as the original bulb’s filament [Amen] obtained smooth and even lighting across the field of view with no changes made to the microscope itself.

LED Stand For Lego Saturn V Boldly Goes Where No Lego Has Gone Before

Hackers everywhere have spent the last couple of weeks building the remarkable Saturn V Lego models that they got for the holidays, but [Kat & Asa Miller] decided to go an extra step for realism: they built a stand with LED lights to simulate launch. To get the real feel of blast off, they used pillow stuffing, a clear acrylic tube and a string of NeoPixel LEDs. These are driven by an Adafruit Trinket running code that [Asa] wrote to create the look of a majestic Saturn V just lifting off the launchpad with the appropriate fire and fury.  They initially were not sure if the diminutive Trinket would have the oomph to drive the LEDs, but it seems to work fine, judging by the video that you can see after the break.

Continue reading “LED Stand For Lego Saturn V Boldly Goes Where No Lego Has Gone Before”