Kinect Hacked To Work With Garry’s Mod Means Endless Hours Of Virtual Fun

garrys_mod_kinect

[John B] is a software engineer and had some spare time on his hands, so he started messing around with his Kinect which had been sitting unused for awhile. He wanted to see what he could create if he was able to get Kinect data into a virtual environment that supported real-world physics. The first idea that popped into his head was to interface the Kinect with Garry’s Mod.

If you are not familiar with Garry’s Mod, it is a sandbox environment built on top of Valve’s Source engine. The environment supports real-world physics, but beyond that, it pretty much lets you do or build anything you want. [John] found that there was no good way to get Kinect data into the software, so he built his own.

He used OpenNI to gather skeletal coordinate data from Kinect, which was then passed to some custom code that packages those coordinates inside UDP packets. Those packets are then sent to a custom Lua script that is interpreted by Garry’s Mod.

The result is just plain awesome as you can see in the video below. Instead of simply playing some random game with the Kinect, you get to design the entire experience from the ground up. The project is still in its infancy, but it’s pretty certain that we’ll see some cool stuff in short order. All of the code is available on github, so give it a shot and share your videos with us.

Continue reading “Kinect Hacked To Work With Garry’s Mod Means Endless Hours Of Virtual Fun”

On-the-go Desktop

Here’s a desktop you can take with you. [Rbean] built it at a hackerspace in Milwaukee, Wisconsin (go Badgers!) using very basic materials and techniques. The utilitarian construction of the wooden body reminds us of Cub Scout tool box projects. It features an open space in the top which house the keyboard and mouse during travel. The blue strap lets you sling all forty pounds over one shoulder, but we’d also love to see a thick dowel to go along with the toolbox concept we’ve got stuck in our mind.

The lower half of the case is removable, serving as the mounting area for what looks like a mini ITX motherboard, hard drive, and full-sized power supply. As you can see the LCD screen mounts to the side of the box which allows you to rest the unit on its side and protects the display if the whole thing were to be knocked over. [Rbean] mentions that he’d like to try another revision using aluminum instead of wood, but we like this version. The only thing we’d want to see added is a set of speakers mounted inside the case on either side of the monitor.

DIY Racing Sim Shift Box

diy_pc_racing_shiftbox

Ask anyone who has ever owned a car with a manual gearbox – in real life and in video games, nothing beats stick shift. Rather than shell out gobs of money to purchase a pre-made shift box, forum member [nikescar] built his own for about $20.

Using some scrap wood and a plastic cutting board, he went to work building a prototype. The “H” shift pattern was designed in CAD and laid over the cutting board, which was hand-cut with a Dremel. Using some tips found online, he constructed a simple shifting mechanism, then wired in a cheap USB game pad found on Ebay. Using safety pins as temporary micro switches, he ran a few laps, and was quite happy with the results. Once the switches arrived, they were fitted to the shift box and it was off to the races.

[nikescar] reports that the shifter works extremely well, allowing him to row through the gears with the greatest of ease, sans any fear of breaking things. Keep reading to get a better look at the shift box internals.

Continue reading “DIY Racing Sim Shift Box”

Motion Activated Monitor Wakeup

This hardware is used to keep a computer monitor awake when there is motion in the room. The monitor displays important information for firefighter in the vehicle bay, but only needs to be on when they are getting ready to go out on a call. The solution is a simple one, a PIR sensor combines with a mouse for motion sensitive input. When the PIR sensor detects motion it causes a mouse button click via a 2N3904 transistor. Now the monitor will not waste power or have burn-in over the long term, but whenever someone is in the room it will be displaying the information that the emergency workers need to know.

[Thanks Andy]

Emulating Oric-1 Floppy Disk Hardware

This device is called the Cumulus and it’s used to emulate the floppy disk hardware for Oric-1 and Oric Atmos computers. These 1980’s era computers included an expansion slot to which you could connect a floppy drive. That module, called a Microdisc system, also included the driver circuit which means you can’t just use a modern-day floppy drive as a replacement. [Retromaster] sidestepped the need for magnetic media all together by building an SD card interface which emulates the original module. We can tell by the use of a color screen and clean board layout that a lot of love went into the project. A CPLD implements the communications protocol used by the Microdisc system and creates all of the registers that would have been found on the original hardware. A PIC takes care of the SD card communications and the user interface.

With the exception of comforting noises, we’d bet there are few who have fond memories of using floppy disks. No wonder we’ve been seeing hacks to replace them quite a bit lately.

Grinding Down Your Computer To Just 8.5 Watts

What can you do to make sure your system is running as efficiently as possible? Take a page out of [Mux’s] book, who went to great lengths to measure and adjust his system for ultimate efficiency (translated). What he ended up with is 8.5 Watts of consumption at idle and about 50 Watts under load. Luckily he posted a six-part series with all of the details.

Some of the changes he made were in software, like reducing voltage to certain hardware by adjusting BIOS settings, and installing display drivers that put the screen into the proper sleep mode. Others were hardware changes like swapping out the power supply with a hacked PicoPSU and removing unnecessary parts from the motherboard like the MAX232 com-port chip. Looks like we need to audit our always-on MythTV box and see if we can apply any of these power-saving techniques.

[Thanks Gijs]

Analog Computer Does Math

This analog computer can multiply, divide, square numbers, and find square roots. It has a maximum result of ten billion with an average precision of 2-3%. [Miroslav’s] build recreates something he saw in a Popular Electronics magazine. It uses a resistor network made up of three potentiometers with a digital multimeter is an integral part of the machine. To multiply a number you set the needles on the first two knobs to the numbers on which you are operating. To find the result turn the third knob until the multimeter has been zeroed out and read the value that knob is pointing to. It seems much more simple than some of the discrete logic computers we’ve seen, yet it’s just as interesting.