LED Ice Cubes Prevent Alcohol Induced Blackouts

cube

On November 23rd last year, [Dhairya] attended a little shindig at MIT. Three drinks into the night, he blacked out and woke up in the hospital the next day. It was an alcohol-induced blackout, and like all parties at MIT, there’s an ingenious solution to [Dhairya]’s problem.

[Dhairya] came up with an alcohol-aware ice cube made of a coin cell battery, an ATtiny microcontroller, and an IR transceiver are molded into an edible gelatin ice cube. The microcontroller counts the number of sips per drink, and after one glass of adult beverage changes the color of the flashing LED from green to yellow. After two drinks the LED changes from yellow to red, signaling [Dhairya] to slow down.

If [Dhairya] feels the night is too young and keeps on drinking, the IR transmitter signals to his cell phone to send a text to a friend telling them to go take [Dhairya] home.

Less than three weeks after waking up in the hospital, [Dhairya] tested out his glowing ice cubes at another party. Everything performed wonderfully, even if he admits his creation is a little crude. A neat piece of work, and we can’t wait to see an update to this project.

Continue reading “LED Ice Cubes Prevent Alcohol Induced Blackouts”

ATTannenbaum

attiny

It’s that special time of year again where the smell of baking cookies fill the house and shopping mall parking lots are filled with idiots and very angry people. [Kevin] thought it would be a good idea to build an LED Christmas tree and ended up building a great looking tree that’s also very simple.

In the video, the imgur album, and the github, [Kevin] shows us the simplest way to make a color-changing LED Christmas tree. The circuit uses LEDs to drop the voltage and to provide a nice glow around the base of the tree. After that, it’s just an ATtiny13 and some LEDs in a very nice freeform circuit.

Of course, if LED Christmas trees aren’t your thing, [hb94] over on reddit created an LED menorah. Pretty nifty he used an 8-position DIP switch for the circuit. Let’s just hope someone gave him a soldering iron for the last night of Hanukkah.

WAV Music Player Uses An ATtiny

We’re very accustomed to seeing small media player builds, but [txyz]’s ATtiny-powered audio player is one of the smallest and most feature-packed we’ve seen.

The audio player is powered by the very small and very inexpensive ATtiny2313. The music is stored on an SD card – a maximum of 2GB of WAV files recorded in mono at 32kBps at an 8-bit depth. On boot, the ATtiny loads the first audio file from the card and outputs it through a speaker connection.

To make things interesting, [txyz] made the audio player controllable via a serial connection. Once a small FTDI adapter is connected to the player, [txyz] can connect to it through a terminal and run through his playlist.

Even though the player is controllable through a serial port, there are a few pins left over that [txyz] could attach to buttons, if so desired. With a battery pack, this would turn his music player into the homebrew equivalent of an iPod shuffle. With the low component count, it might actually be cheaper than the shuffle, if [txyz]’s time is free, that is.

Video after the break.

Continue reading “WAV Music Player Uses An ATtiny”

Digital Marker Communicates With Touch Screen

In an effort to be more relevant to children that just aren’t impressed with crayons and markers anymore, Crayola released the ColorStudio HD pen. Instead of ink, this pen is filled with electronics that communicate with a tablet to draw different colors in the Crayola ColorStudio app.

[Rob Hemsley] had done some work with capacitive touch screens before, so when he heard the clicking of a tiny relay inside the pen, he automatically knew how it worked. Of course this meant tearing apart the Crayola marker to look at the electronics, but [Rob] also went so far as to replace the microcontroller, allowing you to craft your own ColorStudio HD pen.

The digital Crayola marker communicates with the app by switching a relay on and off very quickly. This completes a circuit between the user’s hand and the touch screen, allowing the tablet to interpret the desired color by measuring how many touches are received per second.

Inside the pen, [Rob] found an RGB LED, a relay, and a PIC microcontroller. Not having any experience with PICs, [Rob] changed out the ‘micro to an ATtiny44 and started writing some firmware with the help of the Arduino IDE.

[Rob]’s updated version functions exactly like the stock version, communicating with the Crayola app by pulsing the relay to indicate the selected color. Even though the Crayola app only has three possible colors, [Rob] says it’s feasible to program the digital pen to send an RGB color value to a tablet, allowing you to choose what color to draw with on the pen.

You can see a video of [Rob]’s updated pen after the break.

Continue reading “Digital Marker Communicates With Touch Screen”

Edge-lit Musical Birthday Card

[Monirul Pathan] decided to make the card as unique as this gift when getting ready for a birthday. He designed and built his own musical card with LED edge-lit acrylic to display the message.

The electronic design seeks to keep things as flat as possible. The card-shaped acrylic panel has a void to fit the PCB exactly, and the components are relatively flat. One thing we found quite interesting is that the ATtiny85 which drives the device is surface mounted, but it is not a surface mount component. The layout includes though-hole pads, but instead of drilling holes [Monirul] clipped off the excess of the DIP legs and soldered the remainder directly to the copper. We suppose this isn’t going to get a lot of use so it just needs to hold together for one day.

As you can see in the video after the break, the speaker plays ‘Happy Birthday’ followed by ‘Under the Sea’. At the same time, four blue LEDs pulse to the music, lighting up the words that are engraved in the plastic.

Continue reading “Edge-lit Musical Birthday Card”

Bootloader Brings USB, Firmware Updating To The ATtiny85

[Jenna] sent in a very cool bootloader she thought people might like. It’s called Micronucleus and it turns the lowly ATtiny 85 into a chip with a USB interface capable of being upgraded via a ‘viral’ uploader program. Micronucleus weighs in at just over 2 kB, making it one of the smallest USB-compatible bootloaders currently available.

The USB support comes from V-USB, a project that puts a virtual USB port on a suite of AVR microcontrollers. With V-USB, it’s easy to turn a Tiny85 into a keyboard, custom joystick, data logger, or computer-attached LED display.

One very interesting feature of Micronucleus is the ‘viral updater’ feature. This feature takes a new piece of firmware, and writes it to a Tiny85, disabling the current bootloader. If you’re designing a project that should have a means of updating the firmware via USB instead of the usual AVR programmer, this might be the bootloader for you.

Not bad for a bootloader that emphasizes small code size. At just over 2 kB, it’s possible to use this bootloader on the similar, smaller, and somewhat cheaper ATtiny45.

ATtiny Controlled Magic Eye Tube

In the early days of broadcast radio, the most expensive radio sets were extremely impressive pieces of furniture. With beautifully crafted wooden cases polished to a high shine, these wireless receivers were the focal point of any family room. Some of the most expensive radio sets even included a visual indicator signaling the strength of the reception, something [Marcus] decided to re-engineer using an ATtiny85.

The display tube in question is an EM800 magic eye tube, used in radio sets, stereos, and electronic test equipment as a rudimentary display indicator. By applying a control voltage (from 0 to -10V), the illuminated display can be controlled like a bar graph display.

[Marcus]’ tube display is built around an ATtiny85 microcontroller, using a homemade PCB. It’s a fairly simple build, once the issue of supplying 250 Volts to the EM800’s anode is taken care of.

In the video after the break, you can see the bar display of [Marcus]’s magic eye tube slowly growing and receding, perfect for either displaying the current CPU load on your computer or anything else a dynamic bar graph display would be used.

Continue reading “ATtiny Controlled Magic Eye Tube”