Converting An IBM PCjr Joystick To USB

pcjr-joystick-usb-conversion

Seeing this IBM joystick again really brings back memories. But it can be used on a modern system thanks to this USB conversion project.

This particular model had a connector which is foreign to us. It looks like a boxy USB-A plug, but has an eight-pin sockets which looks like it’s 0.1″ pitch. You could try to make your own male connector using a dual-row pin header, but [Gruso] just went ahead and lopped off the end of the cable. He managed to dig up the pin-out for the device and found that it could be wired up to a gameport — the connector being the only real difference. He gutted a USB gameport adapter, removing the DB15 connector and soldering directly to the board. The boxy old peripheral has just enough room to house that PCB.

If you’re looking for a few more details than this build album provides check out [Gruso’s] comments in the Reddit thread.

Gaming System Inside An Atari Joystick

gaming-system-inside-an-atari-controller

This original Atari controller is pretty small (take a look at that RCA cable for a sense of scale). Despite it’s size, [Kyle Brinkerhoff] managed to fit a complete gaming system inside the controller. This Pocket Sized Atari is a follow-up to another project he did called ArduPong which let him play Pong using a joystick and an Arduino. This rendition takes the external project box from that build and moves everything into one tight little package.

In the video after the break [Kyle] gives us a tour of the internals. The Arduino board he went with is an Ardweeny which is no bigger than the ATmega328 footprint so it can be easily mounted off to one side. The joystick internals have been replaced with the analog stick module from a PlayStation controller. That is where the button came from as well. Just connect this to a 9V battery and the composite video input of a TV and you’re ready to do some gaming!

Now if you just want that retro look for your Xbox Live games check out this Xbox 360 controller in an Atari joystick.

Continue reading “Gaming System Inside An Atari Joystick”

Atari Punk Stick Puts A Synth In A Joystick

[youtube=http://www.youtube.com/watch?v=ngXrTd-8jf4&w=470]

The Atari Punk Console, a tiny synthesizer based on the ubiquitous 555 timer chip, is the first build de rigueur for any budding electronic wizard wanting to build musical devices. With just a handful of caps, resistors, and a pair of pots, the APC is a fabulously fun and easy build made even cooler by [Pat]’s addition of a joystick.

The circuit of the Atari Punk Console consists of a 556 chip – basically two 555s put into the same package – and a pair of potentiometers to control the frequency and output of this very basic synth. Since most joysticks are just two pots arranged on an X-Y mount, [Pat] thought it would be cool to control his APC without twiddling knobs, and instead sweeping a joystick around.

After acquiring an old Microsoft joystick from his local Goodwill, [Pat] wired up his Atari Punk Console to the joystick, using the ‘fire’ button to turn the output on and off. The result is everything between a low machine gun-like tone to a nasal square wave that will hopefully keep pace with your chip-based audiophile friends.

Continue reading “Atari Punk Stick Puts A Synth In A Joystick”

IOIO Controller Replacement For An RC Truck

This RC truck can be controlled with the tip of your thumb or the tilt of a wrist. That’s thanks to the IOIO which was inserted in place of the toy’s original controller. [Exanko] made the hardware changes in order to use his Android phone as the controller. The white circle is a software joystick that acts as throttle when your thumb moves along the Y axis, and steering when it moves along the X axis. But while he was at it he also included accelerometer input as an alternative control option.

The IOIO board has a Bluetooth dongle connected to its USB port as a means of wireless communication. The dongle was hacked to accept an external antenna, thereby increasing the truck’s range. There is also some on-board flair like LEDs for lights and even a laser diode for… well we’re not sure what that’s for. Get a better look at the hardware internals in the clip after the break.

Continue reading “IOIO Controller Replacement For An RC Truck”

Node.js For Linux Joysticks

[Tim Caswell] has been using gamepads and joysticks to demonstrate his node.js hacks for a long time. The thing is, he has been relying on C++ bindings to handle the hardware while trying to herald the praises of node.js. Why not cut out the middle man and write a joystick driver in node.js? It turns out to be so simple anyone can do it.

Granted, this is not a kernel driver. He’s relying on the Linux kernel to recognize the hardware and provide him with the customary /dev/js0 file which he can then work with. As you can see in the snippet above, he’s looping through code in order to constantly read from the hardware. To get this far he dug through the documentation for joystick packets (yay for open source!) to find that each is made of a 32-bit timestamp, a 16-bit value, and two 8-bit numbers identifying the event type and button or axis.

Once he has the packets, it’s off to the races. Each data type is parsed into an appropriate variable which you can use in the logic of your own program. Don’t be nervous, this will make a great weekend project!

Joystick Operated Security Cam Will Overlook The Moat

What good is a moat if nobody is guarding it? We suppose that depends on what beasties lurk beneath the surface of the water, but that’s neither here nor there. The members of LVL1 continue their quest to outdo each other in augmenting the building’s automated features. The latest offering is this security camera which is operated with an analog thumb stick.

These are the people who are building a moat (which the city things is a reflecting pool) in front of their main entrance. Now they will be able to see and sense if anyone is trying to get across the watery hazard. The hack marries an ultrasonic rangefinder and camera module with a pair of servo motors. The brackets for the motors allow a full range of motion, and the signal is translated by an Arduino and Video Experimenter shield to put out a composite video signal. That’s not going to make streaming all that easy, but we’re sure that is just one more hack away.

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.