Controlling Your Webcam With An Old Guitar Hero Pedal

Hackaday reader [Tom Price] often uses Skype to communicate with family near and far, but he was getting tired of adjusting his webcam each time his kids moved out of frame. While the solution he came up with isn’t fully automated, it is hands-free, which is good enough for his purposes.

[Tom] was looking around for an electronic foot pedal of some sort when he came across a wireless 3rd party Guitar Hero peripheral that happened to fit the bill. Using an Arduino library created by [Bill Porter], he was quickly able to get the toy to communicate with an Arduino-flashed Atmega8, but things kind of fell flat when it came time to relay signals back to his computer. Using another Atmega8 along with the PS2X library, he was able to emulate the Guitar Hero controller that his foot pedal was looking for.

With the pedal portion of his project wrapped up, he focused on his webcam. [Tom] mounted the camera on a small servo, which he then wired up to the receiving end of his foot pedal rig. As you can see in the video below, he can now pan his camera across the room with a tap of his foot, rather than leaning in and manually adjusting it.

Continue reading “Controlling Your Webcam With An Old Guitar Hero Pedal”

Dry Erase Marker Opens All Hotel Room Doors

If you’re carrying around an exposed circuit board and a bunch of wires people are going to notice you. But a dry erase marker won’t turn any heads. And this one holds its own little secret. It acts as a master key for hotel room door locks.

This is really more of a repackaging hack. The exploit is already quite well-known. The Onity brand of key card locks most commonly used in hotels have a power jack on the bottom that doubles as a 1-wire communications port. The first published proof of concept used an Arduino board and a simple adapter to unlock any door in under one second. Now that hardware has been reduced in size so that it fits in the hollow shell of a dry erase marker. Even better, the felt tip has been replaced with the appropriately sized barrel jack. Check out the ultra-fast and inconspicuous use of it after the break. We think using this is no more obvious than actually having the key card.

Continue reading “Dry Erase Marker Opens All Hotel Room Doors”

Using A 555 Timer And ADC As A Random Seed

Most toolchains for embedded system include support for random number generation. But if you’ve read the manual you’ll know that this is really just pseudo random number generation (PRNG). When calling this function the same numbers will always return in the same order unless a different random number seed is supplied in advance. [Gardner] put together a simple and cheap solution for deriving better random number seeds. He reads a voltage from a 555 timer using the ADC on the microcontroller. At first glance it may not seem like a great source of randomness, but he performed some testing and the results look quite promising.

The project is aimed at Arduino-based circuits, but any chip with an ADC will work. The 555 timer is used as a free running oscillator. We know that this not be very stable when compared to even the worst of crystal oscillators, but that’s what makes it work so well as a random seed source. Add to this the low parts count and small size of the additional circuitry and you’ve got a winning combination. So keep this in mind when you need a random number but don’t necessarily need rock solid entropy.

[via Reddit and Freetronics]

Fantastic Programming Makes This Arduino Gaming Device Something Special

The hardware that went into this Arduino gaming console is just fine. But the coding that produced this game called Twisted SNAKE is beyond compare. [Rodot] has programmed several games for the hardware, which uses an Arduino, 160×168 TFT screen, a 3 axis accelerometer, and two input buttons. If you’re interested, there is a forum thread in which he talks a bit more about the hardware design. But you’re not going to want to pass up either of the two videos embedded after the break.

The first clip shows off a bouncing-ball platforming game. The accelerometer moves the ball back and forth, and the top scrolling level brings more ledges into play. This in itself is a great game. But the Twisted SNAKE game shown off in the second video makes our own ARM-based Snake game look like a 3-year-old programmed it. [Rodot] filled up all of the program memory of the ATmega328 chip to  make this happen. There’s a menu system which allows for color themes and difficulty selection. The game play itself lets the snake travel anywhere it wishes with the tail following behind in graceful curves. Wow!

Continue reading “Fantastic Programming Makes This Arduino Gaming Device Something Special”

Janus: The Gatekeeper

janus-001

[Piet] wrote in to tell us about his hack that allows for his front gate to be opened without a key. Unlike this hack that we featured in August, you don’t need a subway pass, just a good memory. As explained in his article (and the video after the break) if the proper sequence of doorbell rings is input, the gate unlocks itself.

For hardware a [mehduino] is used to take the doorbell input and decide whether or not the “secret knock” has been achieved. The door can be unlocked remotely via a button on the processor. Reprogramming the code is achieved by simply holding the program button while the code is entered on the “remote ringer” button.

Be sure to check out the video after the break to see this lock in action. The housing application may not be exactly what you expect. Also of interest, is that in true hacker fashion, the bare processor is hanging by a hook on his wall! Continue reading “Janus: The Gatekeeper”

Zelda Engagement Ring Box Seals The Deal

Congratulations to [John Scancella] and his wife to be. Their recent engagement was aided by one of [John’s] projects. Since [Betsy] is a big fan of Zelda, he thought it would be fun to present the ring with the Zelda music playing in the background. He and a friend combined forces to build what you seen in this image.

The music is played by an Arduino with the help of a wave shield. This is pretty much a one-use item so battery life was never a concern. A magnetic switch was used to detect when the box was opened and start the music playing.

You can see the full-sized images after the break, but we can tell that [John] went with a traditional engagement ring. We’re still waiting to see if 3D printed rings are going to catch on in the geek scene. If you just can’t give her anything but precious metal there’s always the idea of encoding messages on the band itself.

Continue reading “Zelda Engagement Ring Box Seals The Deal”

Crystal Doorbell Helps Class Up The Joint

Even if you live in a dump this quick build will make your doorbell sound high-class. The new rig uses a crystal goblet to alert you of guests at the door. We suppose the room-silencing sound of flatware on a wine glass does make a great attention getter.

For [Tobias] the hardest part of the build was getting his wife to sign off on it. But he says the 1970’s era original was looking pretty shabby, which kind of made his argument for him. It took just two hours to develop and install the replacement. It uses a servo motor with an articulated striker to ping the glass which is hanging inverted between two pegs. The original AC transformer (which are most often 16V) was used to power the Arduino. He built a simple rectifier along with a big smoothing capacitor to make sure the Arduino doesn’t reset when voltage dips. Although it’s not mentioned in his comments, we’d bet the doorbell wire has been rerouted to connect directly to the Arduino, rather than remain patched into the power loop.

Don’t miss the clip after the break to hear how great this thing really does sound.

Continue reading “Crystal Doorbell Helps Class Up The Joint”