Arduino + Java + Joystick

Interfacing your own hardware with a Java app couldn’t be easier than this example. [Pn] created this proof-of-concept using an Arduino, an analog joystick from a gaming controller, and a few lines of Java code. The Arduino reads an ADC value from the joystick’s x-axis and transmits it over the serial connection ten times a second. The Java program triggers on every serial event, parsing the data based on the @ symbol that the Arduino sends as a start and end condition.

We like this kind of example because there’s nothing extra involved. It lets you take the concept and run with it in any project imaginable. Be it a more complicated Joystick, or simple sensors that you’d like to interface with.

Key Chain LCD As Screen For A Dockstar

[Peter Gunn] added an LCD screen to his Dockstar. Now that we think of it, this really shouldn’t be all that hard since the Dockstar can run a Linux kernel and it has USB ports. [Peter] took inspiration from [Sprite_TM’s] key chain LCD4Linux hack that we looked at many moons ago. He used a cheap Coby DP182 digital picture frame that can be picked up for less than $5 used. A bit of firmware hacking and LCD4Linux has no problem pushing images to the device via USB. [Peter’s] setup refreshes the screen at one frame per second, but if all you need is a bit of feedback from the otherwise headless system this is a great solution.

[Thanks Mikka]

Projector Introduces Augmented Reality To Reality

[Raj Sodhi] and [Brett Jones] have been working on interactive augmented reality as part of their research at the University of Illinois. What they have come up with is a stylus-based input system that can use physical objects to create a virtual landscape. Above you can see that an environment was built using white blocks. A camera maps a virtual world that matches the physical design. From there an infrared stylus can be used to manipulate virtual data which is projected on the blocks.

What they’ve created is a very advanced IR Whiteboard. There are buttons on the stylus, one of which opens the menu, made up of circles that you can see above. From there, you can select a tool and make it do your bidding. After the break there’s a video demonstration where a game is set up, using the menu to place tanks and mines on the 3D playing field. We wonder how hard it would be to do this using a projector and a Kinect.

Continue reading “Projector Introduces Augmented Reality To Reality”

Build Your Own SOIC Progamming Clip

[Pyra] was looking for a way to reprogram some ATtiny13 microcontrollers in a SOIC package. He’s re-engineering some consumer electronics so adding an ISP header to the design isn’t an option. He had been soldering wires to the legs of every chip but this is quite tedious. What he needs is an adapter that can make physical contact with the legs just long enough to program new firmware. After looking around he discovered that a PCI socket can be used as a progamming clip (translated). It shares the same pitch as a standard SOIC package but is not wide enough for the chip. He cut out 4 rows of the socket and the section of motherboard it was soldered to. Then he made a cut down the middle of the plastic and bent the two sections apart. The image above illustrates this, but not shown are the eight wires that he later added to connect to the device.

We wonder if this can be adapted to program SOIC parts without removing them from a circuit board. That would be a handy tool for finishing up the LED lightbulb hack.

Well-balanced Flight Simulator

Here’s a flight simulator which uses concepts simple enough for anyone to build. As you pilot your virtual craft, the cockpit you’re sitting in moves as well. But unlike some of the more extreme simulator builds we’ve seen, this uses basic materials and simple concepts to provide that motion. Its center of gravity is balanced on a base frame. The joystick slides as you move the nose of the craft up and down, shifting the center of gravity causing the cockpit to tilt as well. The pilot sees the simulated flight through a wearable display. There is a stationary reference in front of him which allows the system to measure head movements, panning and tilting the virtual display to match. Check out the overview video after the break, or click through to the page linked above and watch all 22 episodes of the video build log.

Continue reading “Well-balanced Flight Simulator”

Global Village Construction Set

The Global Village Construction Set is an open hardware initiative aimed at sharing tool-building knowledge. They believe that to build civilization you need forty basic tools, eight of which they’ve already prototyped and made available on their wiki. Included in these is a tractor which reminds us of a beefy bobcat. It has a soil pulverizing attachment which can be used to break down soil and feed it to their soil brick compressor. That machine spits out compressed dirt bricks which are used as building materials. They’re stacked on concrete footings and then limewashed to protect the un-baked bricks from water erosion. Does this remind anyone else of real-life Minecraft?

Above you can see a group of Open Source Ecology developers showing off bricks in front of the machine that made them, with the tractor/soil pulverizer to the right. Take a look at the videos about the construction set and brickmaking after the break. And learn more by perusing their weblog.

If you think an apocalypse is on the way you might want to buddy-up with these folks. They seem to know what they’re doing.

Continue reading “Global Village Construction Set”

Electromechanical Computer Built From Relays

This is Zusie, a computer built out of electromechanical relays. [Fredrik Andersson] picked up a lot of about 100 telephone exchange circuit boards, each with about 16 relays on them. After getting to know a heat gun really well he ended up with 1500 working relays with which to play. The machine runs slowly, it iss noisy, but it definitely works. After the break you can see it running and assembly code program that he wrote.

The instruction set is based on boards running microcode. These store the operational commands for each instruction the processor has available to it and they run in parallel with the rest of the operations.

We’re always surprised to see that these home-built processors work. Mostly because of the complexity involved in assembling them. How hard is it to find a shorting connection or a malfunctioning relay? Those problems aren’t limited to this application either, what do you do if a transistor-logic CPU has a malfunctioning chip?

Continue reading “Electromechanical Computer Built From Relays”