No Nonsense Guide For Patching Into A Gaming Controller

patching-into-a-gaming-controller

Here a straight-forward guide for tapping into the buttons on most gaming controllers. Why do something like this? Well there’s always the goal of conquering Mario through machine learning. But we hope this will further motivate hackers to donate their time and expertise developing specialized controllers for the disabled.

In this example a generic NES knock-off controller gets a breakout header for all of the controls. Upon close inspection of the PCB inside it’s clear that the buttons simply short out a trace to ground. By soldering a jumper between the active trace for each button and a female header the controller can still be used as normal, or can have button presses injected by a microcontroller.

The Arduino seen above simulates button presses by driving a pin low. From here you can develop larger buttons, foot pedals, or maybe even some software commands based on head movement or another adaptive technology.

Continue reading “No Nonsense Guide For Patching Into A Gaming Controller”

A Different Type Of Arduino Internet Shield

different-arduino-internet-shield

The cost of an Ethernet shield for an Arduino isn’t horrible; generally between $17 and $32 depending on which one you buy. But have you seen the cost of a WiFi shield? Those are running North of $70! [Martin Melchior] has a solution that provides your choice of Ethernet or WiFi at a low-cost and it’ll work for most applications. He’s using a WiFi router as an Arduino Internet shield.

This is the TP-Link WR703N which has been very popular with hackers because of its combination of low price (easy to find at $25 or less) and many features: the USB is super hand and, well, it’s a WiFi router! The Arduino Pro Mini shown dead-bug style is talking to the router using its serial port. [Martin] wires a pin socket to the router, which makes the rest of assembly as easy as plugging the two together. The rest of his post deals with handling bi-directional communications with Arduino code.

If you really just need that direct Ethernet pipe consider building an ENC28J60 chip into your designs.

Paper ROM

This low-resolution memory device packs in just a few bytes of data. But it’s enough to spell out [Michael Kohn’s] name. He’s been experimenting with using paper discs for data storage.

His technique becomes immediately clear when you view the demo video below. The disc spins multiple times with the sensor arm reading one track. This gives the system the chance to measure the black band in order to get the data timing figured out. Once the outer track has been read the servo controlling the read head swings it to the next until all of the data is captured.

An Arduino is monitoring the QTR-1RC reflectance sensor which makes up the reading head. It uses the black band width in order to establish the size of an individual byte. Interestingly enough, the white parts of the disc do not contain data. Digital 0 is a black area 1/4 the width of the large black strip, and digital 1 is half as wide.

[Michael’s] set up the generator which makes the discs so that he can easily increase the resolution. The limiting factor is what the reading hardware is able to detect.

Continue reading “Paper ROM”

Animating A Lamp With The Leap Motion

leap

The Leap Motion is a very cool device, but so far we haven’t seen many applications of interacting with physical devices. [Xavier] wanted to control a cute servo animated desk lamp with his hands, and with the help of a Leap and an Arduino he was able to do just that.

The Leap Motion API has a handy feature that will output all its data over a websocket. It’s a very easy way to transfer hand positions with a minimum amount of overhead, and with just a little bit of Node.js, it’s only two lines of code to connect the Leap to a websocket server.

With the Leap data on a web server, the only thing left to do is pulling it down to an Arduino. Again, [Xavier] used Node.js, this time in the form of johnny five, a Javascript-based Arduino framework. After that, it was a simple matter of mapping the data from the Leap to servo movements in [Xavier]’s Pixar-inspired lamp.

Video of the build below.

Continue reading “Animating A Lamp With The Leap Motion”

Build A Bare Bones Arduino Clone Which Maximizes Its Use Of Real Estate

barebones-arduino-clone-at-home

Check out all the stuff crammed into a small swath of strip board. It’s got that characteristic look of a roll-your-own Arduino board, which is exactly what it is. [S. Erisman] shows you how to build your own copy of his YABBS; Yet Another Bare Bones Arduino (on Stripboard).

The strips of copper on the bottom of the substrate run perpendicular to the DIP chip and have been sliced in the middle. This greatly reduces the amount of jumpering that would have been necessary if using protoboard. A few wires make the necessary connections between the two tooled SIL headers that make up the chip socket. On the right hand side there a voltage regulator with smoothing caps. The left side hosts the obligatory pin 13 LED, and the crystal oscillator can be glimpsed on the far side of the ATmega328.

Pin headers along either side of the board have been altered to allow for soldering from the wrong side of the plastic frames. Note that there’s a three-pin hunk that breaks out the voltage regulator, and an ISP programming header sticking out the top to which those female jumper wires are connected.

Ringing in at as little as $2-$4.75 a piece you’ll have no problem leaving this in a project for the long hall. We can’t say the same for a $30+ brand name unit.

737 Autopilot, Courtesy Of An Arduino

737

To start this off, no, we’re not looking at a piece of actual flight hardware. This is [Andrea Giudici]’s project to tie real-world hardware into Flight Simulator X. It’s an autopilot for simulated aircraft, so those of you looking at flying a 737 sometime in the near future need not worry about computers flying your plane. Airbus passengers, though…

[Andrea] didn’t want to dig around with the clunky point-and-click interface in FSX, so he created a virtual autopilot with a 2×16 LCD display and an Arduino to interact and set the most common autopilot settings such as altitude, speed, heading, and engagement. The physical interface is just three tact switches and a pot, while the interface to FSX is a custom driver that turns the USB out of the Arduino into actual flight commands.

It’s not a 737 cockpit in a garage, but it’s still a wonderful alternative to poking around in a completely computer-bound interface.

Video of the ‘duino in action after the break.

Continue reading “737 Autopilot, Courtesy Of An Arduino”

This Is Run By An Arduino

Let us be the first to say: Not a hack! Nonetheless this is an interesting read about how the Arduino movement has made hobby microcontroller boards attractive for industrial applications.

This is a digital printing machine which looks like it is used for industrial packaging. [Paul Furley] worked for the company which produces it, developing the software for the control interface. He recounts the story of how he helped guide the company away from choosing a microcontroller, and toward using an Arduino board. Actually, using three Arduino boards. We can already hear the flame war boiling up in the comments section. But before you rage, read the article and see if you don’t agree with [Paul’s] reasoning.

The most compelling argument to us is that choosing Arduino is absolutely future proof. If the company goes out of business there are hundreds of clone devices already available. As the Arduino platform evolves it will keep pin compatibility in order to support the older shields. And if they choose a different microcontroller the Arduino IDE will still compile the same sketch for the new hardware.

One thing that pops into our minds is write protection. The machine uses a big PCB to which the three Arduinos mount. That can be produced anywhere without threat of having the source code leak as the PCB doesn’t include chips that need to be programmed. Arduino uses AVR chips that have write protection fuses which can be burnt in-house after they flash the control firmware.

[Thanks Thomas]