DodowDIY Is A Homebrew Sleep Aid

The Dodow is a consumer device that aims to help users sleep, through biofeedback. The idea is to synchronise one’s breathing with the gentle rhythm of the device’s blue LEDs, which helps slow the heartrate and enables the user to more easily drift off to sleep. Noting that the device is essentially a breathing LED and little more, [Daniel Shiffman] set about building his own from scratch.

An ATTiny85 runs the show; no high-powered microcontrollers are necessary here. It’s hooked up to three 5mm blue LEDs, which are slowly ramped up and down to create a smooth, attractive breathing animation. The LEDs are directed upward so that their glow can be seen on the ceiling, allowing the user to lay on their back when getting ready for sleep. It’s all wrapped up in a 3D printed enclosure that is easily modifiable to suit a variety of battery solutions; [Daniel] chose the DL123A for its convenient voltage and battery life in this case. The design is available on Thingiverse for those looking to spin their own.

It’s a neat example of where DIY can really shine – reproducing a somewhat-expensive gadget that is overpriced for its fundamental simplicity. Now when it comes to waking up again, consider building yourself a nifty smart alarm clock.

LED Spectrum Visualizer Driven By Raspberry Pi

Back in the 1980s, spectrum displays on audio equipment were absolutely must have, and the aesthetic came to define the era. This lingered on through the 1990s, and remains a cool look even to this day. [Arduino Guy] decided to put together such a display using a Raspberry Pi and a large LED display.

The LED display in question is of the 64×64 RGB type, available from Aliexpress and other electronics suppliers online. To run the display, an Adafruit RGB Matrix Hat is used with the Raspberry Pi 3B, which makes driving the panel a cinch. The visual effect is run via a Python script, which plays a wave file and produces the spectrum graphics via a Fast Fourier Transform.

While the code isn’t able to act as a general-purpose equalizer display for any content played on the Raspberry Pi, creating such a script could be an entertaining exercise for the reader. Alternatively, the Pi could be hooked up to a microphone to run the display based on ambient room noise. In any case, we’ve seen great projects like this before, such as this laser-based display. Video after the break.

Continue reading “LED Spectrum Visualizer Driven By Raspberry Pi”

Flapping Wings And The Science Of How Bees Can Fly

Jerry Seinfeld launched his career with Bee Movie, an insect-themed animated feature that took the world by storm in 2007. It posed the quandary – that supposedly, according to all known laws of aviation, bees should not be able to fly. Despite this, the bee flies anyway, because bees don’t care what humans think is impossible.

The quote isn’t easily attributed to anyone in particular, but is a cautionary tale about making the wrong assumptions in an engineering context. Yes, if you model a bee using the same maths as an airliner, of course you’ll find that it shouldn’t be able to fly. Its tiny wings can’t possibly generate enough lift to get its body off the ground. But that’s because the assumption is an erroneous one – because bees don’t fly in the same way planes do. Bees flap their wings. But that’s just the beginning. The truth is altogether more complex and interesting! Continue reading “Flapping Wings And The Science Of How Bees Can Fly”

Writing Pretty Flux Patterns To Old Floppy Disks

Floppy disks are rapidly aging, and archivists are working hard to preserve what data is left. This has led to the development of advanced floppy controllers capable of capturing the raw flux data from disks. [bzotto] was experimenting with the Applesauce archival hardware, and had some fun with the tools.

The result is a highly esoteric Easter egg. [bzotto]’s Picturedsk tool takes a bitmap image as input, and imprints that image into the magnetic flux of the disk. Thus, when viewing a dump of the disk’s magnetic flux on an archival program, the hidden image will be revealed. As an extra treat, it also writes a 1-bit version of the image to track 0, along with a barebones Apple ][ program to display the image and implore the user to investigate further.

It’s a fun hack that we could imagine being used as part of a game at a retro computing con, when we get to go back to those of course. We’ve seen Applesauce used before, too. If you’ve got your own archival projects on the go, be sure to let us know!

12-Note Polyphony On An Arduino Synth

When synthesizers first hit the scene back in the mid-20th century, many were monophonic instruments, capable of producing just one pitch at a time. This was a major limitation, and over time polyphonic synthesizers began to flood into the scene, greatly expanding performance possibilities. [Kevin] decided to build his own polyphonic synthesizer, but far from taking the easy route, he built it around the Arduino Uno – not a platform particularly well known for its musical abilities! 

[Kevin]’s build manages 12-note polyphony, an impressive feat for the ATmega328 at the heart of the Arduino Uno. It’s done by running an interrupt on a timer at a steady rate, and implementing 12 counters, one per note. When a counter overflows, a digital IO pin is flipped. This outputs a square wave at a certain pitch on the IO pin, producing the given note. The outputs of 12 digital IO pins are mixed together with a simple resistor arrangement, producing a basic square wave synth. Tuning isn’t perfect, but [Kevin] notes a few ways it could be improved down the line.

[Kevin] has added features along the way, expanding the simple synth to work over several octaves via MIDI, while also building a small tactile button keyboard, too. It’s a project that serves as a great gateway into basic synthesis and music electronics, and we’re sure [Kevin] learned a lot along the way. We’ve seen other microcontroller synths before too, like this tiny device that fits inside a MIDI plug. Video after the break.

Continue reading “12-Note Polyphony On An Arduino Synth”

A Smart Way To Wire Smart Switches

Smart switches are fun, letting you control lights and appliances in your home over the web or even by voice if you’re so inclined. However, they can make day-to-day living more frustrating if they’re not set up properly with regards to your existing light switches. Thankfully, with some simple wiring, it’s possible to make everything play nice.

The method is demonstrated here by [MyHomeThings], in which an ESP8266 is used with a relay to create a basic smart switch. However, it’s wired up with a regular light switch in a typical “traveller” multiway switching scheme – just like when you have two traditional light switches controlling the same light at home. To make this work with the ESP8266, though, the microcontroller needs to be able to know the current state of the light. This is done by using a 240V to 3.3V power supply wired up in parallel with the light. When the light is on, the 3.3V supply is on. This supply feeds into a GPIO pin on the ESP8266, letting it know the light’s current state, and allowing it to set its output relay to the correct position as necessary.

This system lets you use smart lighting with traditional switches with less confused flipping, which is a good thing in our book. If you’re using standalone smart bulbs, however, you could consider flashing them with custom firmware to improve functionality. As always, if you’ve got your own neat smart lighting hacks, be sure to let us know!

An E-Book Reader, But Just For Haiku

E-ink displays haven’t revolutionized the world so much as served us humbly in e-book readers such as the Kindle and its ilk. Most such readers are designed for extended sessions reading novels and the like, but [Roni Bandini] decided a haiku-sized device was in order. 

The diminutive device runs off an ESP32, which has plenty of clock cycles for easily driving displays. It’s paired with a 2.9 inch Waveshare e-ink display, upon which it delivers poetry in the popular Japanese haiku format – 5 syllables, 7 syllables, 5 syllables. Writing to the display is easy with the GxEPD library, which is compatible with a variety of common e-ink displays. Presently the poetry is hardcoded in the program, and there’s plenty that could be included with the ESP32’s roomy program storage. However, [Roni] notes it would be simple to have the reader pull poems from an SD card instead.

It’s a fun project, and a great way to get familiar with the basics of working with e-ink displays. We’d love to see a WiFi-enabled version that pulls down the hottest daily haikus fresh from the web, too. Funnily enough, our own archives only feature one other reference to the famous Japanese art, which has little to do with poetry. If you fancy changing that, make something relevant and drop us a line. Video after the break.

Continue reading “An E-Book Reader, But Just For Haiku”