Door Lock Provides Peace of Mind With Real-Time Security

arduino door lock

[HSP] got tired of locking his door with a key, so he decided to upgrade to a keypad system which he’s designed himself.

It uses an Arduino Mega with the standard 44780 display, a standard keypad, and the “key override” (shown above) for fun. The locking mechanism is a standard 12V actuator based lock which was modified to run off of only 7.5V, by softening up the spring inside and running it upside down (as to let gravity help do the work). The whole system draws less than half a watt on standby, and engaging the lock peaks at only 4-7W.

What’s really clever about this design is how he locks it from inside the room. He’s programmed the Arduino to write 1 to address 128 of the EEPROM — at power on it will increment this by 1, and after 5 seconds, it will reset to 1. This means it can detect a quick power cycle, so you can lock the door by turning it off, turning it on for a few seconds, and turning it off and on again — he did this so he didn’t have to make a button or console, or any kind of wireless control on the inside. Continue reading “Door Lock Provides Peace of Mind With Real-Time Security”

MIDI Melodies Make Moody Milieu

MIDI piano lights

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”

Plotterbot Drawing Daleks


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]!

Roboartist Draws What It Sees


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”

Gaming on an 8x8x8 LED Cube


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”

SoundCube: A Companion Cube that can Talk


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.

Minicomputers on Microcontrollers


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.