Layering Pinball Audio Using Parallel WAV Shields

[Ed Zarick] is preparing his pinball project and wants to have authentic sound to go with the game play. The game is modeled after NBA Hangtime and in addition to music he also needs a wide range of sound effects to beef up the experience. To make this all happen at once he developed a set of Arduino WAV shields controlled by an Arduino Mega.

As you can see above, there are three ATmega328 chips which run the Arduino boot loader and each interface with one of the three green WAV shields. That set of chips listens for commands over and i2c protocol, and once they receive instructions they play can play the chosen file without affecting the other shields.

But to have the authentic sounds you first need to acquire the audio samples. [Ed] grabbed a ROM of the original video game and dumped all of the audio samples. From there it was a chore to listen to and catalog the sounds for SD card playback with the pinball version of the game. But it’s well worth the effort as the sound will end up tying the whole experience together.

Continue reading “Layering Pinball Audio Using Parallel WAV Shields”

Self-regulating Water Heater

netduino_controlled_energy_saving_water_heater

Most everyone is looking to live a little greener these days, with motivating factors typically being the preservation of the environment or financial considerations. [Fabien] fit into the latter category after realizing that about 25% of his monthly gas bill went to heating the water he and his family use each day. After a few calculations, he found that they only required hot water 68 of the 168 hours per week that the water heater was typically running. He figured the best way to save a few dollars was to rig the water heater to turn itself down when it wasn’t being used.

He connected a servo to the temperature control knob on his water heater, allowing it to be adjusted by a microcontroller. Having a rough idea as to the schedule his family keeps during an average week, he wrote an application for his Netduino that would actuate the servo when needed. A DS1307 real-time clock was wired to the Netduino for accurate timekeeping, so as to ensure [Fabien’s] wife never had to endure a cold shower.

It’s a shame that most water heaters don’t ship with some sort of programmable thermostat like you see with newer HVAC systems, but this hack is definitely a step in the right direction.

Continue reading to see his power-saving water heater in action.

Continue reading “Self-regulating Water Heater”

Easy DIY Stroboscope

stroboscope_output

Looking for something to do in his downtime, [Mista Sparkle] decided that building a simple stroboscope was in order. He already had a set of six LEDs connected to his Arduino from a previous project, so he added a potentiometer to control the rate at which the LEDs flashed, and dug into the IDE.

During his build he discovered that using the Arduino millis() function at high speeds provides terrible resolution, while using the micros() function exclusively limits his low end measuring capabilities. He desired a better range of measurement, so his program was broken into main functions: One which measures the LED flashing frequency in milliseconds and another that measures the LED flashing frequency in microseconds. This allowed him to gauge rotational frequencies from 577 to 30,000 RPM.

[Mista Sparkle] admits that he is not yet well-versed in driving displays with the Arduino, so he views his readings over a serial connection on his PC. Hopefully we’ll see an updated version with those features in the near future.

MIDI Controller Fit For An Arcade

arcade_midi_controller

MIDI controllers can be relatively expensive depending on feature sets and requirements, so Instructables user [fraganator] went about building one on his own for just under $100. He originally wanted to replicate a commercially available MIDI controller, which used arcade buttons in lieu of the more common rubberized buttons, since they are large and have a better feel when pressed. Once he drew up plans for his MIDI clone, he realized he wanted more features in his controller than were available in the commercial version, so he started revising.

His final plan included three rows of four arcade buttons as well as four rotary and two sliding potentiometers. All of the components were mounted in a small keyboard enclosure, then wired to an Arduino clone, which manages all of the controller’s functions. The controller is connected to a PC via USB and can perform any number of operations once the buttons are mapped in MIDI-compatible software.

There are no videos of the controller in action just yet, though [fraganator] says one is forthcoming.

Interfacing An Arduino With A TFT LCD

tft_lcd

Seven-segment displays and monochrome LCDs are fine for most projects, but some things simply look better in color. [John] over at the Little Bird Electronics blog recently wrote up a tutorial demonstrating the use of a TFT LCD panel with an Arduino. The specific panel he chose was a 4D Systems 1.44” TFT LCD that happened to feature a dedicated graphics processor, which should allow for some fantastic visuals when used to its fullest potential.

The LCD takes its commands over a serial interface, making it a simple five-wire display solution for your projects. The display can be programmed manually by sending hex commands over the serial interface, but there are also some user-developed libraries available that will allow you to use the majority of the most popular functions without the learning curve. One thing to note is that the LCD must be flashed with a particular flavor of firmware before it can communicate over the serial interface, a process for which [John] provides a walk through.

The LCD panel can be used with any Arduino-compatible board, so it can be useful in a whole host of projects.

Stick around to see a simple demo of the board in use.

Continue reading “Interfacing An Arduino With A TFT LCD”

Ultrasmall Arduino

[Fabio Varesano’s] new Arduino compatible board packs a full power punch in a ultra compact layout, measuring at 20.7×15.2 mm, the Femtoduino is probably the smallest 328 based Arduino compatible board around. Most of the staples are present, an QFN atmega328, an MIC5205 low dropout regulator good for a couple hundred milli amps, 16MHz ceramic resonator, reset, power indicator and pin 13 LEDs, but you will need to provide your own serial connection (FTDI, MAX232 etc) and another AVR programmer to get the Arduino boot loader onto the chip.

Since the board is small (smaller than a pro mini) it is not directly breadboard friendly. Even though the hole spacing is 0.05 inch, the size is large enough for “normal” wire to fit into fine, if you wish to use 0.1 inch spacing there is a handy break out board you can make where the Femtoduino just snaps in.

Everything needed to make one of your own is provided on the website, schematics, kicad files, bill of materials, Gerbers for both the board and the breakout board, though we would like to see this as a pre-made board soon, join us after the break for a video and see why.

Continue reading “Ultrasmall Arduino”

Arduino Levitation

Here’s the proof that Arduino is a tool for serious prototyping and not just a toy. [Norbert Požár] built a magnetic levitation device that combines an Arduino with an electromagnetic driver circuit and a magnetic field sensing circuit. Unlike other other levitation setups that use optical sensing, this implementation uses a hall effect sensor on the electromagnet to maintain the distance between it, and the permanent magnet it is holding in midair. Check out the embedded video after the break and browse through the overview page so see how pleasing it is to do away with a frame around the floating object. This makes us wonder if it could be inverted in a way similar to that magnetic scale.

Continue reading “Arduino Levitation”