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.

Hackaday Links: March 21, 2012

Don’t get your dirty fingers on the glass

[Poke] sent in a video of him using Android devices with a wiimote and PS3 controller. The build uses the Joystick2Touch and the USB Joystick Center app. Root is required, but this will be very useful when tv-sized Android devices start showing up.

Wonderful restoration work

[John] sent in an Instructable on restoring an ancient typewriter. It’s almost beautiful seeing all those delicate metal parts so finely cleaned and reassembled.

Proof of the Big Bang is in one of these articles

[Paleotechnoligist] has been reading the technical journals from Bell Labs. These people were the Google of the 20th century and did some amazing stuff. Here’s the math for getting to the moon and a thing about “cellular telephony.”

Oooohhh extruded aluminum

[Richard Sum] sent us a pic of his new 3D printer kit he’ll be offering soon. Very professional looking.

Flying like a three dollar bill

[Yannick] and [SaakNeMah] sent in this video of a guy strapping on bird wings, running down a field, and then flying for about 100 meters. The project is Human Birdwings and it’s gotten an amazing amount of press coverage. We’re calling fake on this for three reasons: the wings didn’t produce lift, the camera angles are all wrong (only applicable if there was a single flight), and this guy would be a gazillionaire if his wings actually worked. Argue amongst yourself in the comments; we’d love to be proven wrong.