Posts with «xbox» label

Keep Pedaling to Keep Playing

It’s been said that the best way to tackle the issue of childhood obesity would be to hook those children’s video game consoles up to a pedal-powered generator. Of course, this was said by [Alex], the creator of Cykill. Cykill interfaces an Xbox to an exercise bike, so to keep the video game going you’ll have to keep pedaling the bike.

While there is no generator involved in this project, it does mimic the effect of powering electronics from a one. The exercise bike has a set of communications wires, which are connected to a relay on the Xbox’s power plug. When the relay notices that the bike isn’t being pedaled enough, it automatically cuts power to the console. Of course, the risk of corrupting a hard drive is high with this method, but that only serves to increase the motivation to continue pedaling.

The project goes even further in order to eliminate temptation to bypass the bike. [Alex] super-glued the plug of the Xbox to the relay, making it extremely difficult to get around the exercise requirement. If you’re after usable energy instead of a daily workout, though, there are bikes out there that can power just about any piece of machinery you can imagine.

Filed under: xbox hacks
Hack a Day 08 Aug 12:00

Making a Vintage Star Wars AT-AT toy walk with an Arduino

Dave Stein is a software engineer during the day and a tinkerer on Arduino projects in his free time after work. He submitted on the blog his first Arduino project with the goal of powering his old AT-AT Walker toy (mid 1980s) with Arduino Uno and make it walk and perform some of the functions we see in the Star Wars movies.

AT-AT (All Terrain Armored Transport) are four-legged combat walkers 22.5mt (73.8ft) tall of the Galactic Empire, one of its most famous military symbols introduced  in “Star Wars V: The Empire strikes back”, and we may see them again in the next weeks on “Star Wars: The Force Awakens” the upcoming episode of the saga opening December 18th.

The AT-AT walker toy updated by Dave is controlled by a wired Xbox 360 controller that interfaces with a computer and transports a signal to the Arduino Uno for walker movement:

The left and right triggers move the walker forward and backward while the right stick moves the head horizontally. If you have ever played with this toy you may remember it was clumsy and difficult to move. In my project I wanted to learn about and conquer the difficulties of quadrupedal movement. The realization process for my project involved a massive amount of trial and error, research, and failures. I have to say that I failed many more times than I succeeded with configuring the servos with the Arduino. I went down many long roads to learn about prototyping with the breadboard, soldering, and redesigns of the final product. The most difficult part of the project aside from adjusting the gait of the walker for balance and movement was providing enough power to the servos without frying the microcontroller or any of the components. I was finally able to overcome these difficulties by implementing the Adafruit servo shield.

Check AtAt Project website for all info, parts list and upcoming tutorial!

Using A TeensyLC To Emulate The XBOX 360 Controller

After the release of Mortal Kombat X, [Zachery’s] gaming group wanted to branch out into the fighter genre. They quickly learned that in order to maximize their experience, they would need a better controller than a standard gamepad. A keyboard wasn’t going to cut it either. They wanted a fight stick. These are large controllers that look very much like arcade fighting controls and include a joystick and large buttons. [Zachery’s] group decided to build their own fight stick for use with a PC.

[Zachery] based his build around the TeensyLC, which is a 32 bit development board with an ARM processor. It’s also compatible with Arduino. The original version of his project setup the controller as a HID, essentially emulating a keyboard. This worked for a while until they ran into compatibility issues with some games. [Zachery] learned that his controller was compatible with DirectInput, which has been deprecated. The new thing is Xinput, and it was going to require more work.

Using Xinput meant that [Zachery] could no longer use the generic Microsoft HID driver. Rather than write his own drivers, he decided to emulate the XBOX 360 controller. When the fight stick is plugged into the computer, it shows up as an XBOX 360 controller and Windows easily installs the pre-built driver. To perform the emulation, [Zachery] first had to set the VID and PID of the device to be identical to the XBOX controller. This is what allows the Microsoft driver to recognize the device.

Next, the device descriptor and configuration descriptor had to be added to the Teensy’s firmware. The device descriptor includes information such as USB version, device class, protocol, etc. The configuration descriptor includes additional information about the device configuration. [Zachery] used Microsoft Message Analyzer to pull the configuration descriptor from a real XBOX 360 controller, then used the same data in his own custom controller.

[Zachery] programmed the TeensyLC using the Arduino IDE. He ran into some trouble here because the IDE did not include the correct device type for an Xinput device. [Zachery] had to edit the boards.txt file and add three lines of code in order to add a new hardware device to the IDE’s menu. Several other files also had to be modified to make sure the compiler knew what an Xinput device type was.  With all of that out of the way, [Zachery] was finally able to write the code for his controller.

Filed under: Arduino Hacks, ARM
Hack a Day 15 Jul 03:00

Hackaday Links: May 11, 2014

North Korean drones! Yes, your local hobby shop has the same aerial reconnaissance abilities as North Korea. Props to Pyongyang for getting v-tail mixing down.

There’s nothing quite as satisfying as the look of a well laid out resistor array, and the folks at Boldport have taken this to a new level. It’s an art piece, yes, but these would make fabulous drink coasters.

Here’s something even more artistic. [cpurola] found a bunch of cerdip EPROMs and bent the pins in a weird chainmaille-esque way. The end result is an EPROM bracelet, just in time for mother’s day. It’s a better use for these chips than tearing them apart and plundering them for the few cents worth of gold in each.

[John] still uses his original Xbox for xmbc, but he’d like to use the controllers with his computer. He never uses the third and fourth controller ports, so he stuck those in his computer. It’s as simple as soldering the controller port module to a connector and plugging it into an internal USB port. Ubuntu worked great, but Windows required XBCD.

[Kerry] has modified an FT232 USB/UART thingy as an Arduino programmer before. The CP2102 USB/UART is almost as popular on eBay, a little less expensive, and equally suited for ‘duino programming. It requires desoldering a resistor and soldering a jumper on a leadless package, but with a fine solder tip, it’s not too bad.





Filed under: Hackaday links
Hack a Day 12 May 00:00

Ben Heck fashions a pocket computer with an Xbox Chatpad and Arduino Uno

It's great to see Ben Heck focus his efforts of do-gooder projects like that foot-controlled wheelchair, but we'll always have a soft spot for the modfather's more nostalgic undertakings, like this BASIC pocket computer. Heck created the device for the latest episode of his web show, and if you're following along at home, you'll need the Chatpad from an Xbox 360 controller, an Arduino Uno and a LCD display -- a Hitachi HD 44780, in this case. The modder-turned-host is quick to point out that the project's purpose isn't solely nostalgic -- you can also use it to control real world objects, which in the Heck's case means a ghost on a pinball playfield. Check out a video of the invention in action after the break.

Continue reading Ben Heck fashions a pocket computer with an Xbox Chatpad and Arduino Uno

Filed under: Misc

Ben Heck fashions a pocket computer with an Xbox Chatpad and Arduino Uno originally appeared on Engadget on Mon, 10 Sep 2012 22:04:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments

Hack the Xbox 360 controller using Arduino

In case you are a hardware-hacker with no care for warranty, open up your Xbox 360 controller, attach an arduino uno to the circuit, program it, and turn it into a modded controller chip, which can be reprogrammed to be compatible with new games too!

The parts list and the instructions can be found here.

Game on! \m/


Arduino Blog 24 Apr 12:49