In a clever bit of pandering to the gamer crowd for the Fubarino Contest, [Laurens] has combined The Legend of Zelda, Minecraft, and an Arduino to create something really, really cool.
[Laurens] cobbled together an Arduino, MIDI connector, and LCD display that will read a MIDI keyboard and detect when one of the songs from Ocarina of Time/Majora’s Mask is played. The Arduino then plays back the song slower and longer, just like in the game.
Here’s where things get cool: Since [Laurens] has an Arduino that knows when an OoT/MM song is played, he can have the Sun Song control the lights, or the Song of Storms turn his sprinkler system on. He chose to pipe all these commands into Minecraft, where the Song of Healing gives some health to the Minecraft character, the Song of Storms controls the rain, and other awesome mashups of Zelda and Minecraft.
This project offers more than enough to stand on its own, but [Laurens] also added a Hackaday easter egg. When playing the letters HAD in ASCII on the keyboard, our favorite URL shows up on the Arduino and inside Minecraft.
Here’s an image gallery and the source code (dropbox, so don’t spam it) for [Laurens]’ awesome project.
This is an entry in the Fubarino Contest for a chance at one of the 20 Fubarino SD boards which Microchip has put up as prizes!
Continue reading “Fubarino Contest: Minecraft, Zelda, Arduinos, And Hackaday”
[Tyler Bletsch] sent us a tip about his new build: a keyboard that redefines “coin-operated.” The Nickelphone can emit square wave tones via a piezo buzzer, but [Tyler] made this 25-key piano as a MIDI keyboard capable of driving a full synthesizer.
He chose an ATMega644 as the brain because it’s Arduino-friendly but has more data pins—32—than the usual ATMega328 chip, which allows him to provide each key with its own pin. Each coin was soldered to its own wire and connects up to a 1MΩ resistor array. Coin-presses are recognized by the simple capacitive sensing technique outlined here, but [Tyler] needed to take advantage of a workaround to accurately detect multiple presses.
Check out [Tyler’s] detailed project guide for more information as well as the source code. Check out the video of the Nickelphone after the break, then browse through some other capacitive touch hacks, like the Capacitive Touch Business Card or the Capacitive Touch Game Controller.
Continue reading “The Nickelphone”
A bunch of pads connected to a MIDI out port is as old an idea as the Akai MPC. creating a homebrew version is great, but [Scott] took his version one step further. He used old laptop trackpads to control note on and note off commands when the each pad is tapped, and also added MIDI CC values for the touch pressure and the x and y-axis position.
The trackpads were identical models, each having their own PS/2 output. A few ribbon cable to 8-pin header adapters were manufactured, and the entire ensemble encased in a wonderful maple and aluminum enclosure.
The electronics are based on an Arduino Mega with 16 clock and data points for each touchpad eating up 32 of the 54 available pins on the ‘duino. The PS/2 protocol is well documented, but running 16 separate PS/2 id most certainly not. [Scott] ended up writing his own asynchronous PS/2 communications library to get the latency of his midi device down to about 50ms.
It’s an amazing bit of kit and comparatively inexpensive, given that [Scott] now has a 16-channel Kaoss pad. Video of the device hooked up to a MicroKorg below.
Continue reading “Laptop Trackpads and MIDI Controllers”
Creating music for the Arduino is simple – just use the tone() library – but it truthfully doesn’t sound that great. That’s because this library is monophonic, making chords difficult or at the very least sound a little weird. [Connor]’s miduino aims to change that, turning raw MIDI files into polyphonic Arduino sketches.
To convert MIDI files into Arduino sketches, [Connor] whipped up a Python script based on midiCSV that reads the notes and channels of a MIDI file and converts it into the language of the Arduino. Unlike the built-in tone() library, miduino is polyphonic making the music produced from any Arduino sound great. It’s basically the difference between writing music for a PC speaker and a true keyboard; sure, you’re only getting square waves, but it sounds much better.
Oddly, [Connor] hasn’t put up his Python script as far as we can tell. All the MIDI songs are being converted on [Connor]’s own Raspberry Pi. This is supposed to be cheaper than a VPS, and makes for a very cool project to boot.
Edit: Miduino isn’t polyphonic yet, but [Connor] says he should have that wrapped up in a week or two.
[Edward] wanted a different way to modulate notes on his MIDI controller, so he decided to go touchless. Inspired by the pressure-sensing modulation on his Edirol keyboard, [Edward] aligned eight sensors into a row of playable notes and used infrared to sense the distance of a player’s hand from the keys. He also included some function buttons to cycle through 10 octaves and RGB LEDs beneath the table that perform alongside the music.
He chose SHARP GP2D120 sensors (direct link to datasheet) for their low threshold, which allowed the board to detect distance close to the sensor. Each is mounted onto a sheet of frosted acrylic along with its own “hold note” button and an LED to indicate the key is playing. The lower panel houses an Arduino Mega that drives the system along with an RGB LED strip and its driver board. [Edward] used Maxuino and OSC-Route to interface the Mega to a Max/MSP patch which runs the show.
Learn more about the FlightDeck’s features in a video demonstration of the controller and the software after the break, then check out some other MIDI hacks like this organ pedal or the Arduino-driven MIDI sequencer.
Continue reading “FlightDeck: A “Touchless” MIDI Controller”
The [Tymkrs] crew has come up with a pretty neat circuit bent toy keyboard hack. It’s been a while since we’ve seen a good circuit bending hack. This project started as a way to demo the [Tymkrs] “MIDI In Me” kit. A cheap toy keyboard was sacrificed for its sound generator board. Like many cheap mass-produced toys, this board is based upon a COB (chip on board) package. The silicon die of the main ASIC is placed directly on the PCB and bonded out to pads. A round epoxy blob keeps everything protected.
The [Tymkrs] found a number of the chip’s pads were unused in their keyboard. The inputs appeared to trigger drums, possibly for use in a different toy. These inputs, coupled with the ‘demo song’ buttons turned out to be the basis of this hack. MIDI input is sent to a Parallax Propeller. The prop runs a program that will set its I/O pins based upon MIDI Note On/Off commands. The I/O pins then drive transistors which inject signals into the button inputs of the keyboard.
The [Tymkrs] even went so far as to use a voltage divider on the main clock circuit of the keyboard. Changing the main clock causes a sort of pitch bend effect often heard with circuit bent toys. As with the buttons, a MIDI signal commands the prop to enable or disable oscillator signal injection. A potentiometer is used to tweak the oscillator frequency.
Continue reading “Circuit Bent Toy Keyboard is MIDI Controlled”
[Kay Choe] can’t play the piano. Rather, he couldn’t, until he converted his keyboard to include LED-guided instruction. [Kay] is a microbial engineering graduate student, and the last thing a grad student can afford is private music lessons. With $70 in components and a cell phone, however, he may have found a temporary alternative.
The build works like a slimmed-down, real-world Guitar Hero, lighting up each note in turn. We’ve seen a project like this before, with the LEDs mounted above the keys. [Kay]’s design, however, is much easier to interpret. He embedded the LEDs directly into the keys, including ones above each black key to indicate the sharps/flats. An Android app takes a MIDI file of your choice and parses the data, sending the resulting bits into an IOIO board via USB OTG. A collection of shift registers then drives the LEDs.
For a complete novice, [Kay] seems to benefit from these lights. We are unsure whether the LEDs give any indication of which note to anticipate, however, as it seems he is pressing the keys after each one lights up. Take a look at his video demonstration below and help us speculate as to what the red lights signify. If you’re an electronics savant who wants to make music without practicing a day in your life, we recommend that you check out [Vladimir’s] Robot Guitar.
Continue reading “LED-Guided Piano Instruction”