DIY Hearing Aid

DIY Hearing Aid

Hearing aids are expensive little devices, typically costing a few thousand dollars each. They need to be highly integrated to fit in the ear, while still providing signal processing to ensure good audio quality.

This DIY hearing aid does some intelligent signal processing. It uses an electret to capture audio, then uses a pre-amplifier to increase the gain 100 times. The next stage consists of four filters, dividing the input signal by frequency into four parts. These are passed into four LTC6910 programmable gain amplifiers, which allow an Arduino to control the gain of each channel. The LTC6910 takes 3 digital inputs that are used to set the gain value.

To determine which gain to use for each frequency band, the Arduino needs to know how much power is in each band. This could be done using a Fast Fourier Transform, but that would require quite a bit of processing power. Instead, an envelope detector averages the signal, which can be read by an analog input on the Arduino. Using this information, the hearing aid can boost specific frequencies when it detects conversation.

This hearing aid won’t quite fit in your ear, but there is a lot of interesting signal processing going on. The schematic, Arduino source code, and a MATLAB simulation are provided.

Cast A Shadow, Play A Note

Looking for a way to entertain friends and family this holiday season? Look no further than the Arduino-powered Photocell Piano. [Asahillis] has posted this Instructable for building a 6-note musical command center.

The piano uses photoresistors to turn each note on when the player runs their hand over it. Notes can be tuned independently using potentiometers on the front of the box. The hack uses two circuits: one to generate the tones, and a second to mix them. [Asahillis] adapted [Forest Mims III]’s timeless schematics for the 555 Tone Maker and the 741 Audio Mixer to create his Photocell Piano.

When the instrument is powered on, the code takes a 5-second reading of the ambient light, and sets a threshold based on its findings. Afterward, the first note will sound, indicating the piano is ready to be played. Each note has its own if-else statement that tells it to sound when its corresponding  photoresistor reaches a value below the set threshold (when the player casts a shadow). There’s a demo video included in the guide but we couldn’t embed it here.  Check out the demo video after the break.

If you prefer to rock out with your lights out, there’s always this impressive laser harp.

Continue reading “Cast A Shadow, Play A Note”

The $40 X86 Arduino

Every week the Hackaday tip line receives an email about a new dev board. The current trend is towards ARM devices, and only once have we seen an x86-based device. Today that count went up to two. It’s called the 86Duino and stuffs an old Pentium II-class machine capable of running DOS, Windows, and Linux into the space of an Arduino,

The 86Duino Zero features, of course, an x86 Vortex86EX processor running at 300 MHz. This board also features 128 MB of RAM, 8MB of Flash and the usual compliment of Arduino pins in a Leonardo-compatible layout. Also on the SoC is a PCIE bus, Ethernet, a USB 2.0 host, and an SD card. There’s a lot of stuff on this board for such a small size.

Compared to the gigahertz-fast ARM boards around, the 86Duino isn’t really that fast, but that’s not the point. There’s obviously a market for extremely tiny x86 boards out there as evidenced by the Intel Galileo, and this board is $30 cheaper than the Intel offering.

There’s no video out on this board, so someone will have to figure out how to attach a graphics card to the PCIE connector before we build a miniaturized old school DOS gaming rig. Still it’s a very neat piece of hardware. If you need to have it now, here’s a vendor.

Thanks [sohaib] for sending this one in.

Meet The Teensy 3.1

[Paul Stoffregen] just released an updated version of his Teensy 3.0, meet the oddly named Teensy 3.1. For our readers that don’t recall, the Teensy 3.0 is a 32 bit ARM Cortex-M4 based development platform supported by the Arduino IDE (using the Teensyduino add-on). The newest version has the same size, shape & pinout, is compatible with code written for the Teensy 3.0 and provides several new features as well.

The Flash has doubled, the RAM has quadrupled (from 16K to 64K) allowing much more advanced applications. The Cortex-M4 core frequency is 72MHz (48MHz on the Teensy 3.0) and the digital inputs are 5V volts compatible. Pins 3 and 4 gained CAN bus functions. The new microcontroller used even has a 12 bits Digital to Analog Converter (DAC) so you could create a simple signal generator like the one shown in the picture above. Programming is done through the USB port, which can later behave as host or slave once your application is launched. Finally, the price tag ($19.80) is in our opinion very reasonable.

Embedded below is an interview with its creator [Paul Stroffregen].

Continue reading “Meet The Teensy 3.1”

Will Dance For Bitcoin

It seems that Bitcoin is all over the news nowadays, but the Bitcoin Bot is probably the first robot that will dance for Bitcoins.

[Ryan] at HeatSync Labs in Mesa, AZ, is a fan of the cryptocurrency, and decided to build something to accept it. He discovered that Coinbase, a popular hosted Bitcoin wallet service, has a callback API. This causes Coinbase to fetch a specified URL any time a wallet receives a transaction, and provides information on the transaction in the request. A Python script handles these requests and updates a running count of the BTC balance sent to the robot’s wallet.

On the hardware side, an Arduino with an Ethernet Shield checks the balance. If it has changed, it calls the dance function and the luau girl dances.

The robot sits in the window of the hackerspace, so anyone passing by can read about Bitcoin and make a donation. The source code is on Github, and a video follows after the break.

Continue reading “Will Dance For Bitcoin”

DCF77 Powered Clock Is A Work of Art

[Brett] just completed his DCF77 Master Bracket Clock, intended to be a backup to an old logic controlled clock he made. For our readers that don’t know, DCF77 is a German longwave time signal whose transmitter is located near Frankfurt (Germany). Every minute, the current date and time are sent on the 77.5kHz carrier signal.

The result, which you can see above, is made using an Ikea lantern, a skeleton clock, an ATmega328 (for Arduino compatibility), a voice recording playback IC (ISD1730), a cheap 20×4 LCD display, a DCF77 receiver module, and many LEDs. We’re pretty sure that it must have taken [Brett] quite a while to get such a nice looking clock. In case the clock loses power from the power supply, 3 AA cells provide battery backup. On the firmware side, making the platform Arduino-compatible allowed [Brett] to use its libraries so the coding was quickly done. Embedded after a break is a video of the final result.

Continue reading “DCF77 Powered Clock Is A Work of Art”

Fubarino Contest Example: A Sneaky IRC Bot

adam-fubar

You may have heard about Hackaday’s contest to win one of 20 Fubarino boards. We included an example entry from [Mike]. Here’s my example entry for the contest: An IRC search Bot powered by a Wicked Device WildFire board. We’ve all seen IRC bot’s before, but how many have you seen that can turn on an LED while running off a cell phone battery?

The IRC bot’s operation is fairly straightforward. It enters a channel and can be commanded to search.  The first two searches will return links to Google searches for the strings given.  Every third search however, will return a link to Hackaday’s search page. In the example below, “SedAwk” is an unsuspecting user, and “SearchRobot” is our bot.

SedAwk: SearchRobot: SEARCH Unicorns
SearchRobot: Search Complete! https://www.google.com/#q=Unicorns
SedAwk: SearchRobot: SEARCH Rainbows
SearchRobot: Search Complete! https://www.google.com/#q=Rainbows
SedAwk: SearchRobot: SEARCH Quadcopters
SearchRobot: Search Complete! http://hackaday.com/?s=Quadcopters
SedAwk: What the heck?

Follow along after the break to see what other tricks the bot has up its sleeve…

Continue reading “Fubarino Contest Example: A Sneaky IRC Bot”