In this beautiful, well-documented, cat-assisted hack, [capricorn1] adds visual dimension to his impressive piano skills by using his keyboard’s MIDI output to drive Edison bulbs.
He hung them from a rod of electrical conduit pipe and threaded the wires through it to a DB25 connector. The lights are controlled by an Arduino Mega plus a custom shield with an optocoupler to handle zero cross detection. He happened to already have a board with 12 SSRs on it from another project. All of the electronics are in a re-purposed switch box—the switches control four different modes: classic, velocity, scrolling, and automatic. You’ll see the scrolling mode in the video after the jump.
[capricorn1] used a small sampling of the Arduino MIDI Library, namely the note on/off functions and the control change function to handle his sustain pedal. He’s listed the full code for the project, which includes usage of the ipMIDI module for automation over WiFi.
If you don’t have a MIDI keyboard or any Edison bulbs, you could make a MIDI floor piano. You’re required to play both “Chopsticks” and “Heart and Soul” on it, though. Those are like the Hello, World for floor pianos.
Continue reading “MIDI Melodies Make Moody Milieu”
Two strings, two motors, and some very creative software. That’s the magic behind the Plotterbot, which was drawing Daleks when we crossed its path at Maker Faire. This is the Mark II, which was built after cannibalizing Mark I. Unfortunately we can’t tell you what the difference is between the two.
The machine itself is a pretty nice little package. There is a box that hangs on the wall with a motor/spool combination at each end. In the middle of those two is an Arduino Mega with a custom driver shield. It takes an SD card with the drawing files on it. There is also a small touchscreen display which allowed for easy selection of what you’d like drawn on that paper taped to the wall below the unit.
Back when we were running the Trinket contest [Jay] used the Plotterbot to draw a Skull and Wrenches made out of a multitude of smaller Skull and Wrenches. He was nice enough bring that piece of art and present it to us at the Faire. Thanks [Jay]!
The perfect balance of simplicity and complexity have been struck with this automated artist. The Roboartist is a vector drawing robot project which [Niazangels], [Maxarjun], and [Ashwin] have been documenting for the last few days. The killer feature of the build is the ability to process what is seen through a webcam so that it may be sketched as ink on paper by the robotic arm.
The arm itself has four stages, and as you can see in the video below, remarkably little slop. The remaining slight wiggle is just enough to make the images seem as if they were not printed to perfection, and we like that effect!
Above is a still of Roboartist working on a portrait of [Heath Ledger] in his role as Joker from The Dark Knight. The image import feature was used for this. It runs a tweaked version of the Canny Edge Detector to determine where the pen strokes go. This is an alternative to capturing the subject through the webcam. For now MATLAB is part of the software chain, but future work seeks to upgrade to more Open Source tools. The hardware itself uses an Arduino Mega to take input via USB or Bluetooth and drives the quartet of servo motors accordingly.
Continue reading “Roboartist Draws What It Sees”
Building an LED cube is a great way to learn how to solder, while building something that looks awesome. Without any previous experience with soldering or coding, [Anred] set out to create a simple 8x8x8 LED cube gaming platform.
Rather than reinventing the wheel, [Andred] based the LED cube off of three separate Instructables. The resulting cube came out great, and the acrylic casing around it adds a very nice touch. Using an Arduino Mega, the 74HC574, and a few MOSFET’s to drive his LEDs, the hardware is fairly standard. What sets this project apart from many other LED cube builds, is the fact that you can game on it using a PlayStation 1 controller. All the necessary code to get up and running is included in the Instructable (commented in German). Be sure to see the cube in action after the break!
It would be great to see a wireless version of this LED cube game. What kind of LED cube will gaming be brought to next? A tiny LED cube? The biggest LED cube ever? Only time will tell.
Continue reading “Gaming on an 8x8x8 LED Cube”
The Enrichment Center likely disapproves of the SoundCube: a portal music box in the form of a Portal Companion Cube. [Andreas] finished this project a couple of years ago, but we’re glad he’s finally had time to give a rundown on the details at his blog.
The build is primarily a modified speaker box cube—constructed out of what appears to be MDF—with four Alpine SXE-1725S speakers placed at the center of the middle faces. The faces were routed out to resembled the Companion Cube, while the electronics mount and the speaker grills were 3d printed. Inside is a homemade amplifier built around an Arduino Mega, with a TDA7560 quad bridge amplifier, a TDA7318 audio processor, a Belkin bluetooth receiver, and a 3.5″ touchscreen for volume control and for input selections.
Two 12v 7.2Ah lead-acid batteries keep the cube functional for an entire weekend of partying, but probably add a few pounds to the already hefty MDF construction. Check out [Andreas’s] blog for more pictures and his GitHub for all the necessary code.
Developed in the very late 60s and through the 70s, the PDP-11 series of minicomputers was quite possibly the single most important computer ever created. The first widely distributed versions of Unix and C were developed on the PDP-11, and it’s hardware influence can be found in everything from the Motorola 68000 to the MSP430.
When [Dave Cheney] saw the recent 8086 simulator written in 4kB of C code, he realized simulating entire computer systems doesn’t actually require a whole lot of resources outside a big chunk of memory. Armed with an Arduino Mega clone, he set out on one of the coolest projects we’ve seen in a while: simulating a PDP-11 on an AVR.
[Dave] used an ATMega2560-powered Arduino Mega clone with an Ethernet module for the hardware of this build. Attached to it is a shield filled up with a pair of RAM chips that expand relatively limited amount of RAM on the ‘Mega.
So far, [Dave] has his simulated system booting Unix V6 off an SD card. For PDP-11 storage, he’s also simulating an RK05 disk drive, a massive 14 inch platter containing 2.5 Megabytes of data. Compared to the original PDP-11/40, [Dave] estimates his machine is about 10 times slower. Still, an original 11/40 system fills multiple server racks, and the most common installations consume several kilowatts of power. The Arduino Mega can fit in a pocket and can be powered over USB.
Future developments for this system include improving the accuracy of the simulator, running more advanced operating systems and the DEC diagnostic programs, and possibly speeding up the simulation. We’d suggest adding some switches and blinkenlights on an additional shield, but that’s just us.
All the code can be found on [Dave]’s git, with a description of his SPI RAM shield coming shortly.
[Jack], a mechanical engineer, loom builder, and avid sailor wanted an autopilot system for his 1983 Robert Perry Nordic 40 sailboat with more modern capabilities than the one it came with. He knew a PC-based solution would work, but it was a bit out of reach. Once his son showed him an Arduino, though, he was on his way. He sallied forth and built this Arduino-based autopilot system for his sloop, the Wile E. Coyote.
He’s using two Arduino Megas. One is solely for the GPS, and the other controls everything else. [Jack]’s autopilot has three modes. In the one he calls knob steering, a potentiometer drives the existing hydraulic pump, which he controls with a Polulu Qik serial DC motor controller. In compass steering mode, a Pololu IMU locks in the heading to steer (HTS). GPS mode uses a predetermined waypoint, and sets the course to steer (CTS) to the same bearing as the waypoint.
[Jack]’s system also uses cross track error (XTE) correction to calculate a new HTS when necessary. He has fantastic documentation and several Fritzing and Arduino files available on Dropbox.
Autopilot sailboat rigs must be all the rage right now. We just saw a different one back in November.
Continue reading “Ride, Captain, Ride Aboard Your Arduino-Controlled Autopiloted Sailboat”