Insects Turned Into Orchestra; Not Harmed But Terribly Inconvenienced

[Jochem] has always been fascinated by chaos in nature, whether it’s a swarm of ants or evolution in action in a petri dish. His insect orchestra takes the chaos in the natural world and changes it into something completely artificial. In this case, MIDI.

For the build, a light sensor was placed at the bottom of a test tube. A cricket (or grasshopper, or locust) is then put into the test tube. The test tube is then closed up with a cap that houses a LED. An Arduino reads the light sensors and then transmits the data over MIDI. The MIDI commands are picked up in Abelton Live which converts everything to audio.

[Jochem] rigged up Abelton to have the insects perform in four different modes – instrument, synthesis, samples, and drums. Definitely an improvement over the humble Mexican Jumping bean.

You can check out the insect orchestra in action after the break.

Continue reading “Insects Turned Into Orchestra; Not Harmed But Terribly Inconvenienced”

Monitoring Water Levels With A Parallax Ping Sensor

arduino_parallax_ping_water_level_sensor

When you need a mechanism to detect the water level within a container or tank, you have several different options. Most people opt for a simple float or probe that sits in the water, while others use optics to sense when the water is reaching an undesired level.

This device built by [Danilo Abbasciano] uses a Parallax Ping sensor instead. If the sensor is placed at the top of a well, cistern, or other water container, it can accurately calculate the height and volume of the fluid inside. This is done by using the Ping’s readings in conjunction with a few values already known to the user, namely the dimensions of the container.

In his implementation, the readings are relayed to a simple LCD panel for easy viewing, and a small piezo speaker is used to sound an alarm when the water level reaches a predefined threshold. This sort of measuring device can be quite useful in situations where a contact-based sensor would be subject to chemicals and corrosion, or where contamination is a concern.

Mineable Minecraft Block

At Hack A Day, we’re pretty big Minecraft fans so you can imagine our interest when we saw [Ben Purdy]’s real-life Minecraft block. The build uses a projector system to display a block onto a cardboard box and reacts to being ‘mined’ just like in the game.

Block animation is handled by a piezo sensor, an Arduino and a Processing sketch. From earlier posts on [Ben’s] blog, we’re going to guess that he used the keystone video projection library his own solution to map the Minecraft block onto the cardboard box. Animation is handled just as in Minecraft – overlaying the breaking animation onto the block and adding some particle effects.

We’ve seen a few Minecraft hacks before, like using it as a 3D design tool, and connecting your redstone CPU to the outside world. [Ben]’s build follows in the tradition of its forebears and is something we really want to try out. Check out the demos after the break.

Continue reading “Mineable Minecraft Block”

BASIC Programming On An Arduino

[Mike] sent in a project he’s been working on – a port of a BASIC interpreter that fits on an Arduino. The code is meant to be a faithful port of Tiny BASIC for the 68000, and true to Tiny BASIC form, it fits in the very limited RAM of the Arduino.

True to Tiny BASIC’s assembler roots, [Mike]’s C port makes extensive use of the “infinitely-abusable” goto statement. Kernighan and Ritchie said themselves, “code involving a goto can alway be written without one” but [Mike] found that using goto left a lot more room available for BASIC code. The BASIC interpreter eats up around 600 bytes in the Arduino RAM, leaving about 1.4 kB for BASIC code. Not much, but more than the lowest-end BASIC Stamp.

[Mike] says he started this project to see how ‘old bearded ones’ conjured up so many impressive programs with a few kB of RAM. Tiny BASIC was originally conceived for the Altair 8800 that shipped with 256 bytes of RAM stock, so it seemed like a perfect fit. Right now, all we know is we’ll be spending the weekend digging through our copies of Dr. Dobb’s Journal.

arduino_bootloader_burner

A Beginner’s Guide To Burning Arduino Bootloaders

When it comes to learning about microcontrollers, everyone has to start somewhere. [Lady Ada] recently posted a tutorial on burning the Arduino bootloader to standalone chips for those just getting started with the micro.

The tutorial cites a common situation, where someone is working on a project using an Arduino chip but they don’t want to sacrifice their dev board when just the micro and a few other components would do just fine. A short list of supplies is required, including an Arduino, a proto shield kit, a ZIF socket, and a blank ATmega chip.

The process is probably pretty straightforward and likely familiar to many of you out there. The ZIF socket is soldered to the board and handful of wires are added for powering and programming the new chip. The protoboard is installed on top of the Arduino like any other shield, and using a sketch that [Lady Ada] has made available, the bootloader burning process is a cinch.

It’s a useful tip for newcomers, and definitely a skill that seasoned Arduino users should have under their belts as well.

Wireless Fiber Optic Mood Lighting

ceiling_mounted_starfield

There’s something calming about looking up into the night sky and seeing an array of shining stars off in the distance. [Marou] is a big fan of stargazing, but sometimes conditions are not optimal, so he decided to bring the stars inside.

His idea was to build a ceiling lamp that didn’t bask the room with light, but rather one that reproduced the peaceful twinkle of the night sky. He covered a wooden table with dark fabric and drilled a ton of tiny holes into the surface. He fitted the holes in the table with two big bundles of optical fibers since one bundle couldn’t quite cover the entire thing.

To light the cables, he built a pair of 4-LED illuminators, which contain red, blue, green, and white LEDs. Each light source is controlled via an Arduino which takes its direction from [Marou’s] infrared remote.

While the idea isn’t new, the implementation is pretty cool. At first we were expecting a small lamp, but anchoring an entire table to the ceiling as a light panel is definitely something we hadn’t seen before.

If you want to build something similar in your own living room, [Marou’s] Arduino code is free for the taking.

Burning Man: Pirate Ship Sports Arduino Powered Flame Sails

The 2011 Burning Man festival starts in just a few short days, and with that we have an excellent mutant vehicle accessory that no insane desert dweller should be without. An Arduino powered fire cannon sequencer! [Paul] was asked by Lostmachine’s [Andy] to spice up the flame effects on their Priate Ship mutant vehicle and provide a cool looking fire show that represented the ship’s sails.

[Paul] tossed together a hand full of arcade buttons, switches, and an LCD display to control eight 12V Solenoid valves tasked with switching on various regulated propane sources that throw some brutal looking flame effects. The controller combines a Teensy 2.0 with a custom board that contains eight P-channel MOSFET circuits. Flyback from the coils is handled through zener diodes, and the IRFR5305s are sized quite above and beyond what is needed for the 12v solenoids. With the heat, dust, and chaos of the desert one can’t be too careful. [Paul] even tosses in RC snubber circuits just to prevent things from getting too out of hand. Of the twelve arcade buttons eight are used for manual over rides, and the remaining four arcade buttons, knobs, switches, and the LCD display are all connected to the Teensy to handle the sequencing. [Paul], sadly, will not be able to make it out to Burning Man to troubleshoot the sequencer, which is a cause for some concern throughout the build.

It just so happens that I leave for Burning Man this Friday, and have an 18″ by 18″ Hackaday QR Code that will mark my area, see if you can find me out there! Also check out a video of the sequencer controlling what is easily a 6 foot flame bar after the jump!

Continue reading “Burning Man: Pirate Ship Sports Arduino Powered Flame Sails”