UnoJoy makes your Arduino play well with Xbox 360 or PS3

We’ve seen Arduino-based game controllers before, but the UnoJoy project wants to make it easy for you to plug them into a gaming console.

The project is targeted at the Arduino UNO. Why only that hardware… isn’t Arduino universal? Well yes, but in this case the bootloader needs to be overwritten so that the Arduino will enumerate as an approved controller on your game system. Here the device is being put into DFU mode in preparation for flashing.

Once that part’s done it’s time to get to work on your own hardware interface. The UnoJoy library provides all of the hooks you need to push controller data to the game console, it’s up to you to use the Arduino IDE to decide when these events happen. This would be a great opportunity to make the Pinball Stop controllers work with the Xbox Live Arcade games. Or take a look after the break to see [Alan Chatham] using the library to control Gran Turismo as if it were an NES Power Pad game.

[Read more…]

PS3 IR dongle tamed for use with a Linux box

So a man walks into a Radio Shack and the clerk says “Why the long face?”. No, that’s not it. [Ms3fgx] walks into a Radio Shack and says “holy crap, that PS3 IR dongle is only two bucks”. He’s been looking for an IR remote receiver to use with a Linux machine and decided to bend this PS3 dongle to his will. It’s a lot less expensive that the parts to build the simplest IR receivers like this FTDI cable version, or a microcontroller based receiver.

He plugged it in and was delighted to find that it enumerates. The kernel has PlayStation 3 controller support built-in and has no problem picking up this device. When he uses ‘cat’ to display the incoming data all he gets is repetitive garbage. This is because the dongle only supports Sony remote control codes. But after a bit of universal remote setup, he’s got unique commands for each button. The last piece of the puzzle is to map the controller commands to keyboard keys. This is done with the QJoyPad package, but there are a myriad of ways to remap these buttons so go with what you know.

Short and squat balancing bot is extremely stable

[Lauszus] really put together an impressive self balancing robot platform. It is virtually motionless when balancing in place, and that stability is never lost even when motoring across the room.

Part of the success behind this build is the use of quality components. He’s got a really nice set of motors with built-in encoders which give feedback to the balancing system. They work in conjunction with a gyroscopic sensor and PID code to keep the two-wheeled platform upright. An mbed board running 96 MHz provides plenty of computing power for the balancing system. But an Arduino can also be found on board. This was included to facilitate Bluetooth connectivity with the remote control as [Lauszus] didn’t want to port the code he had already written.

The fourteen minute video after the break shares the details behind how the PID controller is tuned and how [Lauszus] implements target angle and a few other factors. Of course he talks about the hardware choices, and demonstrates functionality by driving the bot around using a wireless PS3 controller.

The construction method which uses masonite strips and threaded rod does a good job of protecting the hardware mounted on it. We’re always a bit worried about these bots falling over and some of the projects we see offer little or no protection. Once thing that helps protect against a spill is a piezo buzzer which sounds when the battery is getting low.

[Read more…]