Posts | Comments

Planet Arduino

Archive for the ‘game controller’ Category

Almost all modern video games require either a gamepad or a keyboard and mouse, which means that they’re inaccessible to many people with disabilities that affect manual dexterity. Bob Hammell’s voice-enabled controller lets some of those people experience the joy of video games.

This is a simplified video game controller with a minimal number of physical buttons, but with special voice-activated virtual buttons to make up the difference. The gamepad only has six physical buttons, plus an analog joystick. That makes it much easier to handle than a typical modern controller, which might have a dozen buttons and two joysticks. If the player has the ability, they can utilize the physical controls and then speak commands to activate the game functions not covered by those buttons.

The controller’s brain is an Arduino Micro board, which Hammell selected because it can be configured to show up as a standard USB HID gamepad or keyboard when connected to a PC. The physical controls are an Adafruit analog two-axis joystick and tactile switches. An Adafruit 1.3″ OLED screen displays information, including the status of the voice activation.

An Elechouse V3 Voice Recognition Module performs the voice recognition and it can understand up to 80 different commands. When it recognizes a command, like “menu,” it tells the Arduino to send the corresponding virtual button press to the connected computer. It takes time for a person to speak a command, so those are best suited to functions that players don’t use very often.

If you know someone that would benefit from a controller like this, Hammell posted a full tutorial and all of the necessary files to Hackster.io so you can build your own.

The post Voice-enabled controller makes video games more accessible appeared first on Arduino Blog.

Mounts in the video game Final Fantasy XIV act like how cars or horses do in our world since they allow players to travel around the map much faster than would otherwise be possible. But even better, mounts are ways to express personality and have some fun, which is especially evident with the infamous “Fatter Cat” mount, as it got so widely beloved that Square Enix, the game’s publisher, decided to start selling a plushie version of it in their store. 

With his own Fatter Cat cushion, FFXIV modder Louis Hamilton (SuperLouis64 on YouTube) decided to add some extra functionality by attaching both a touch sensor and a passive infrared module that lets it sense when someone has sat on it. This in turn causes an Arduino Micro board to send out a keystroke that activates a macro in the game, thus causing the Fatter Cat mount to appear. 

You can watch SuperLouis64’s video below for a short demonstration of how this fun system works.

The post Converting a Fat Cat cushion into a controller for Final Fantasy XIV appeared first on Arduino Blog.

While we’re still far away from returning to a pre-Corona everyday life, people seem to have accepted that toilet paper will neither magically cease to exist, nor become our new global currency. But back at the height of its madness, like most of us, [Jelle Vermandere] found himself in front of empty shelves, and the solution seemed obvious to him: creating a lifelike toilet paper chasing game in hopes to distract the competition.

Using Unity, [Jelle] created a game world of an empty supermarket, with the goal to chase after distribution tubes and collect toilet paper packs into a virtual cart. Inspired by the Wii Wheel, he imitated a shopping cart handle built from — as it appears — a sunshade pole that holds an Arduino and accelerometer in a 3D-printed case as game controller. For an even more realistic feel, he added a sound sensor to the controller, and competing carts to the game, which can be pushed out of the way by simply yelling loud enough. You can witness all of this delightful absurdity in his build video after the break.

From racing shopping carts to racing bicycles

But that’s not all. With the toilet paper situation sorted out, [Jelle] found himself in a different dilemma: a cloud foiled his plans of going for a bicycle ride. In the same manner, he ended up building a cycling racing game, once again with Unity and Arduino. From a 3D-scanned model of himself and his bicycle, to automatically generating tracks on the fly and teaching an AI to ride a bike, [Jelle] clearly doesn’t joke around while he’s joking around.

However, the best part about the game has to be the controller, which is his actual bicycle. Using a magnetic door sensor to detect the speed, and a potentiometer mounted with an obscure Lego construction to the handlebar, it’s at least on par with the shopping cart handle — but judge for yourself in another build video, also attached after the break. The only thing missing now is to level up the difficulty by powering the Arduino with the bicycle itself.


Steven Goodwin wrote a JavaScript game called Space Bounce where a character in a space suit has to jump from one side of a mine shaft to another, collecting roughly star-shaped objects, while avoiding spikes. It’s a simple yet rather entertaining game, and since there’s really only one type of interaction (jumping) he decided to make things a bit more interesting by adding a physical controller.

His custom device employs a pair of pressure mats on the ground to sense a player standing on one or the other, and when one’s feet leave the mat, the on-screen player jumps to the opposite wall. Players must then recover and balance on the other mat, and jump back when needed.

An Arduino senses this interaction using the standard Firmata firmware, whilee a PC running the Johnny Five library and a Node server passes commands on to the game itself via WebSockets.

An ISP dongle is a very common piece of equipment on a maker’s bench. However, its potential as a hackable device is generally overlooked. The USBASP has an ATmeg8L at its heart and [Robson] decided that this humble USB device could be used as an interface between his PC and a SNES Joypad.

A SNES controller required three pins to communicate with a host: clock, data and latch. In his hack, [Robson]  connects the controller to the ISP interface using a small DIY adaptor and programs the AVR using the V-USB library. V-USB is a software USB library for small microcontrollers and comes in pretty handy in this instance.

[Robson] does a pretty good job of documenting the entire process of creating the interface which includes the USB HID code as well as the SNES joypad serial protocol. His hack works on both Windows and Linux alike and the code is available on GitHub for download.

Simple implementation like this project are a great starting point for anyone looking to dip their toes in the DIY USB device pool. Veterans may find a complete DIY joystick more up their alley and will be inspired by some plastic techniques as well.


Filed under: Arduino Hacks, hardware

If you’re looking for a high entertainment value per byte of code, [Nardax] has you covered with his wearable spellcasting controller. With not much effort, he has built a very fun looking device, proving what we’ve always known: a little interaction can go a long way.

[Nardax] originally intended his glorified elbow-mount potentiometer to be a fireworks controller. Ironically, he’s now using it to throw virtual fireballs instead. Depending on the angle at which he holds his elbow before releasing it, he can cast different spells in the game World of Warcraft. We’re not at all sure that it helps his gameplay, but we’re absolutely sure that it’s more fun that simply mashing different keys.

There’s a lot of room for expansion here, but the question is how far you push it. Sometimes the simplest ideas are the best. It looks like [Nardax] is enjoying his product-testing research, though, so we’ll keep our eyes out for the next iterations of this project.

We’ve seen a number of high-tech competitors to the good old power glove, and although some are a lot more sophisticated than a potentiometer strapped to the elbow, this project made us smile. Sometimes, it’s not just how much tech you’ve got, but how you use it. After all, a DDS pad is just a collection of switches under a rug.


Filed under: Arduino Hacks, The Hackaday Prize

Cut in the shape of a gamepad, this controller sits on the floor for kids to enjoy!

Maker Jegatheesan Soundarapandian had gotten bored with computer games, and decided he, or rather his daughter, needed a new way to interact with the PC. What he came up with was a controller covered in cloth, with switches embedded between this covering and a wooden base.

Switches were made out of CDs and aluminum foil, which could be a good technique for others experimenting with unique interface devices. Control is accomplished with an Arduino Uno that communicates with a PC via a Bluetooth module.

Ready to play games and run apps by foot? Check out the project’s page on Instructables!

There’s an iconic scene from the movie Big where [Tom Hanks] and [Robert Loggia] play an enormous piano by dancing around on the floor-mounted keys. That was the first thing we thought of when we saw [jegatheesan.soundarapandian’s] PC joystick rug. His drum playing (see the video below) wasn’t as melodious as [Hanks] and [Loggia] but then again they probably had a musical director.

At the heart of the project is, of course, an Arduino. An HC-05 provides a Bluetooth connection back to the PC. We thought perhaps an Arduino with USB input capability like the Leonardo might be in use, but instead, [jegatheesan] has a custom Visual Basic program on the PC that uses SendKeys to do the dirty work.

The switches are more interesting made with old CDs, foil, and sponges. The sponge holds the CDs apart until you step on them and the foil makes the CDs conductive. He uses a lot of Fevicol in the project–as far as we can tell, that’s just an Indian brand of PVA glue, so Elmer’s or any other white glue should do just as well.

The glue also handles the fabric parts. When a project says “no sewing” we realize how some people feel about soldering. The CD/foil/sponge switches might be useful in other contexts. We’d be interested in how the sponges wear with prolonged use.

We’ve seen other giant controllers before. Of course, if you really want a big controller, you can’t beat a Nissan (the link is dead, but the video will give ou the idea).


Filed under: Arduino Hacks
Dec
10

Meet The Arduino Esplora

arduino, Esplora, game, game controller, game controllers, Kids Comments Off on Meet The Arduino Esplora 

Here’s a new piece of hardware from your beloved OSHW project. The Arduino Esplora is meant for newbies and anybody willing to enter in the world of Arduino, without having to deal with breadboards or soldering. Shaped like a game controller, it’s designed to be used out of the box without extra parts since it comes with many sensors and actuators already on it.

Have a look at the Esplora Page on the Arduino site, you will find Arduino Esplora at Radioshack’s in its Retail Version (like the one you see on top) and soon on the Arduino Store and from our distributors in both Standard and Retail versions.



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook