Beginner concepts: Using an accelerometer

posted Apr 17th 2010 2:50pm by
filed under: misc hacks

Accelerometers make for nice user interaction, that’s why every Apple product seems to have one included and the Nintendo Wii is still alive despite its underpowered graphics capabilities. Adding one to your project is pretty simple, just a matter of reading in analog data and interpreting it according to the datasheet. If you’re just starting out, here’s a tutorial on how to interface an accelerometer with a PIC microcontroller. They’re using an ADXL320 which can be acquired on a breakout board for about $30. The schematic and code are simple so even if you don’t intend to build the circuit (or want to use a different uC), this is easy to understand as an academic exercise.

[Thanks Skitchin]

[Photo credit: SparkFun]

Improving a motorized toy

posted Apr 17th 2010 1:30pm by
filed under: toy hacks

[Dan Fruzzetti's] daughter was delighted to get a motorized vehicle from her Grandparents, but [Dan] was unimpressed with the stock features. The lead-acid battery supplied remarkable life between charges, but the vehicle only had one feature: a go button that routed juice to the bipolar motor. After the break we’ll look at his improvements to the drive train, steering, and cosmetics.

Read the rest of this entry »




Four channel logic analyzer

posted Apr 17th 2010 12:30pm by
filed under: tool hacks

If you’ve got a graphic LCD lying around you can build this four-channel logic analyzer with a couple handfuls of cheap components. [Ronald de Bruijn's] design uses a PIC18F4580 to sample up to four logic inputs at a maximum resolution of 2 MHz. He’s included the PCB artwork so that you can etch your own board. Having a logic analyzer around can really make your life easier, allowing you to reverse engineer communication protocols and troubleshoot your own design problems.

[Thanks Juan]

Zune gets hacked, OpenZDK

posted Apr 17th 2010 12:03pm by
filed under: digital audio hacks, peripherals hacks

Here is one that really got some of us at the HAD offices excited (yes, we own Zunes). The introduction of the Open Zune Development Kit. Sure, there was XNA, and we even toyed around with it. But anyone will quickly realize just how limited XNA is, especially with older hardware.

OpenZDK is in its infancy, with only one application thus far (don’t worry, you can still use XNA apps too). But we wanted to give it a shout out and let the hacker community make this potential into a reality.

[Thanks Galen]

Hijacking the Mazda LCD display

posted Apr 16th 2010 12:00pm by
filed under: transportation hacks

[Pieter] is in the process of adding a turbo package to his ride. He needed a status display for the boost but didn’t have a good way to mount an additional display. He came up with the idea of using the LCD screen that’s already in the dashboard, but the specs for it were not available. Wielding his hard-earned hacking skills [Pieter] used a logic analyzer to sniff out the communications to the screen. He built a controller board that overrides the data coming in from the head unit. The board is also able to query the car’s computer for data and display it in any format you want. What he ends up with is a stock look that he can customize for his needs. Nice!




Virtual windows that track a viewer’s position

posted Apr 16th 2010 11:00am by
filed under: home hacks

Winscape will let you replace that garbage-strewn ally view with just about anything you want. The two windows above are actually plasma screen televisions. In between them you can spot a Nintendo Wii Remote that is used to track an IR badge worn by the person in the room. As they move, the images on the screens are changes to simulate the change in perspective you would see out of a real-world window. Take a look at the video after the break. This is unfortunately not an open source project but the software is available for trial and we find the concept interesting. If you can write video processing algorithms you may be able to take the Wii Remote Whiteboard concept and turn it into a Winscape clone. Read the rest of this entry »

Vigorous exercise keeps the tunes coming

posted Apr 16th 2010 10:00am by
filed under: digital audio hacks

There are cars that increase the radio volume as you drive faster, and video games that ramp up the music as your gameplay improves (we’re looking at you SSX Tricky). Now you can add that feature to your workout with [Polymithic's] Motion Feedback MP3 Player. It uses a passive infrared sensor to detect motion so there’s no need to wear any electronics. But if you used some Bluetooth headphones you could bring the system with you to the gym, just don’t exercise so hard that you blow your eardrums out.

[via Hacked Gadgets]

Coin-op pays out when you win

posted Apr 16th 2010 9:00am by
filed under: home entertainment hacks

The days of plugging coins into a stand up arcade game are sadly dwindling. [Dirk] figured out a way to prolong the nostalgia by incorporating currency back into the experience in a useful way. He rebuilt the video game Raiden to pay out a prize when you win the game. Now it takes a coin for each play but if you make it to the end you can recoup the expense.

[Dirk] took an original cabinet game, did some dangerous work to replace the old CRT monitor, and retrofit a MAME machine to handle the gaming. He’s using Windows and had some problems because of it but, as you can see after the break, things worked out in the end. The hopper hardware that spits out coins went through several steps from the initial design to the finished product, but it has always been based around a PIC controller connected to the MAME box via parallel port. This is a fun addition to any MAME cabinet.

Read the rest of this entry »




Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

Send us your hacks










     




Hacks

Resources