Directly Interfacing A Joystick With An Xbee

We see a pretty steady stream of projects that use Xbee modules. They’re one of the more reliable and popular ways to add a wireless aspect to your project. But we don’t often see them used to their full potential. Since there’s a microcontroller onboard, many simple tasks can be accomplished without the need for an addition microcontroller. [Stephen’s] showing how this can be done, by reading the stick and button data from a game controller using only an Xbee module.

His test setup uses an Arduino to drive servo motors on the receiving end of the hardware. You can’t do everything with Xbee, but the sender is where this concept comes into play. [Stephen] grabbed an older gamepad which is meant for use with a PC game port. The joystick uses potentiometers to measure position data, and the buttons simply complete a circuit. He altered the joystick by adding voltage dividers to the pots, and pull-up resistors to the buttons. From there he just wired it up to the Xbee and set up the module’s firmware to package and transmit the data. It’s a nice way to do more with less.

We had a little discussion here at Hackaday about Xbee modules which seem to be in short supply. Some of us think it’s due to the flooding in Thailand. If you’ve got some info on the situation, or just want to share your own conspiracy theory, let us know in the comments.

Making Laser Adjustments With An SNES Gamepad

Gaming has infiltrated everything around us. It seems that any time a control interface is needed, the first thought to many current hacker’s minds are the familiar controls from the video games we grew up with. In this example, [eljaywasi] needed a way to control the wavelength of light coming out of a laser. We don’t know exactly how he’s actually changing the wavelength, but we do know he’s using an SNES gamepad as his interface. You can see a red and a blue LED located on the front of the pad, so it may be that two buttons would have sufficed. We don’t care, we like the SNES pad better.

Pinball Stomp: Part 2

This is the 2nd and final part of this project. If you haven’t seen part 1 yet, jump back and check it out.

Now that we have the controller box made and ready to go, we just have to build some simple stomp sensors. As I said before, I doubt this will hold anyones attention longer than a night or two. With that in mind, I wanted to make this as cheaply and simply as possible.

To make these, you need the following:

  • Foam board or thick cardboard
  • aluminum tape
  • wire
  • duct tape

That’s it… no really, that’s it. Check out the video after the break to see how it all went, and what the kids thought of it.

Continue reading “Pinball Stomp: Part 2”

Pinball Stomp: Part1

Despite my atrociously short attention span, I’ve always loved pinball. Maybe it is something about all the flashing lights and clunking solenoids. Maybe it is just the simple physics at the center of it all. I’m not really sure.  My kids, however, don’t share my enthusiasm. I suspect part of it is that they never wandered through a fog filled arcade in the middle of the night, hopped up on Reese’s Pieces with a shrinking pile of quarters in their pocket. The other part might be the fact that they have gotten used to the Nintendo Wii and the Xbox Kinect (we just got one last week).

Watching them jump up and down playing an extremely simple and repetitive game with the Kinect gave me an idea. I envisioned pinball projected on the side of my house, the kids jumping up and down in front of it to move the paddles. Keep reading to see how I plan to build it and what I’ve done so far. There’s a full video, but also text of the entire thing.
Continue reading “Pinball Stomp: Part1”

3D Whiteboard Without The Whiteboard

This one is so simple, and works so well, we’d call it a hoax if April 1st hadn’t already passed us by. But we’re confident that what [William Myers] and [Guo Jie Chin] came up with exists, and we want one of our own. The project is a method of drawing in 3 dimensions using ultrasonic sensors.

They call it 3D Paint, and that’s fitting since the software interface is much like the original MS Paint. It can show you the movements of the stylus in three axes, but it can also assemble an anaglyph — the kind of 3D that uses those red and blue filter glasses — so that the artists can see the 3D rendering as it is being drawn.

The hardware depends on a trio of sensors and a stylus that are all controlled by an ATmega644. That’s it for hardware (to be fair, there are a few trivial amplifier circuits too), making this an incredibly affordable setup. The real work, and the reason the input is so smooth and accurate, comes in the MATLAB code which does the trilateration. If you like to get elbow deep in the math the article linked above has plenty to interest you. If you’re more of a visual learner just skip down after the break for the demo video.

Continue reading “3D Whiteboard Without The Whiteboard”

Building New Interfaces With An IPad

There’s a word – synchronicity – to describe two disparate events that occur together in a meaningful way. We see this a lot in the Hackaday tip line; two people send in somewhat similar hacks solving similar problems in similar ways nearly simultaneously. Here’s two builds by [Bryce] and [spektakx] that hit our inbox within minutes of each other that both implement existing interfaces with iPads.

iPad turntable controller

[spektakx] sent in an iPad powered DJ MIDI controller he built as a prototype to test out the size, orientation and layout for an upcoming build. The turntable controllers are simple USB affairs made to jog and scratch records digitally. Although [spektakx] admits it’s a little unfinished, it’s still just a prototype. Also, he can use a Windows 7 tablet laptop for ‘more suited’ hardware. Check out [spektakx]’ video demo after the break.

an iPad cash register

[Hacktheory] found [Bryce]’s Flickr photolog of a DIY ‘Square’ cash register. The electronics part of this build is practically non-existent; it’s just an iPad with a credit card readers that plugs into the headphone jack. Yes, we just saw these ‘Square’ credit card readers this last week. The fabrication portion of this build is incredible – [Bryce] has a few wonderful pieces of walnut there, and did an exceptional job with the wood work. It’s probably not well suited to high-volume retail, but we couldn’t think of a better cash register for a boutique shop.

Continue reading “Building New Interfaces With An IPad”

Miniaturized N64 Controller Fits The Tiniest Of Hands

n64-controller-mod

The controllers that came with the Nintendo 64 don’t exactly measure up to the “Duke” of Xbox fame, but they’re not the smallest in the world either. Made by Bacteria forum member [Bungle] says that his girlfriend has incredibly tiny hands, so he thought he might try trimming some of the fat from an N64 controller by cramming its components into an N64 cartridge.

He tore down a 3rd-party N64 controller, tossing out the D-Pad, plug, and rumble motor, retaining all of the other buttons. After gutting the game cartridge, he heated the back side under a lamp and stretched the plastic over a roll of electrical tape to make room for the N64’s trademark “Z” button. Having only removed the rumble motor due to size constraints, he found a suitable replacement at Radio Shack, which fills in for the original nicely.

After a good amount of careful trimming, wiring, and mounting, he came up with the little gem you see above. We’re sure [Bungle’s] girlfriend is pleased with his work, and he seems happy with how it came out as well.

Continue reading to see a short video showing off [Bungle’s] latest creation.

[Thanks, Chris Downing]

Continue reading “Miniaturized N64 Controller Fits The Tiniest Of Hands”