Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Cost (Score 1) 95

Affordability will be an issue for most. My wife used to use an insulin pump, the pump cost around five grand. The consumables necessary to keep it operating month after month, year after year add up quickly. The initial cost of the device is nothing compared to the cost of maintaining it. After a few years it became impossibly expensive for us to continue to use. Back to syringes and vials for us. Pumps can work great, but if it takes the house and car payment to use them, quality of life can become an issue.
Image

Zombie Pigs First, Hibernating Soldiers Next 193

ColdWetDog writes "Wired is running a story on DARPA's effort to stave off battlefield casualties by turning injured soldiers into zombies by injecting them with a cocktail of one chemical or another (details to be announced). From the article, 'Dr. Fossum predicts that each soldier will carry a syringe into combat zones or remote areas, and medic teams will be equipped with several. A single injection will minimize metabolic needs, de-animating injured troops by shutting down brain and heart function. Once treatment can be carried out, they'll be "re-animated" and — hopefully — as good as new.' If it doesn't pan out we can at least get zombie bacon and spam."
First Person Shooters (Games)

Playing a First-Person Shooter Using Real Guns 225

Blake writes "A group called Waterloo Labs rigged up a few accelerometers to a large wall and projected a first-person shooter onto it. Using some math, they can triangulate the position of impacts on the wall, so naturally they found someone with a gun and bought a large case of ammunition. Even cooler, this group usually posts a 'how we did it' video a few weeks after a project's debut, including source code."

Comment Here's the text from the story. (Score 2, Informative) 105

How to use an iPhone to Fly R/C Airplanes and Helicopters

HOW I DID IT: I've had an iPhone for about a year now, and find it quite indispensable. It's handy in so many situations, and fits into a lot of nerdy stuff I do. However, it hasn't fit in perfectly to the main nerdy thing that I like to do: Fly radio control airplanes and helicopters. For that, I use a really high quality piece of hardware from a company called JR, a JR 9303 radio. It works great. However, one day it occurred to me, how cool would it be to use my iPhone to fly my RC stuff? The answer was "So cool" obviously. I tossed around the idea for a couple of months and ultimately gave up on it because the iPhone doesn't have a receiver I can put in the airplane to fly it with.

So the idea sat untouched while I learned how to program stuff on the iPhone for other nerdy purposes. My roommate requested I make a chadwick balancer for him using the accelerometers. (For those who don't know, this is a device they use in real and model helicopters to find out if something is not balanced. Main blades, tail blades, shafts, gears etc...) While I was learning about the accelerometer functions in the iPhone, the idea pinged me again, and I thought, How cool would it be to fly an R/C model using the accelerometers inside the iPhone?! Alas, still no receiver.

IMAC Season came and went, and so did indoor season. I was busy practicing for contests I knew I'd be beat at, and building planes I knew were way to good for me. =) Then, one fateful day, I deleted some PHP program I was working on by accident. This was a LOT of work, and I was exceptionally pissed off about it. I was distracted by some girl in my bed (Don't EVAR program PHP with a girl(s) in your bed!) and maybe a beer or six in my blood. I was writing a series of test programs for a SOAP interface, and had named one of them 8.php. (The more seasoned nerds among you can probably see where this is going). The program had turned into a complete disaster and was causing "internal server errors", and I wanted to delete it. While girl was yammering in my ear I typed rm *.php instead of rm 8.php, and hit enter. Deleting every php file in the folder. Hours of hard work gone into the void.

The next day I went and bought a time capsule from Apple so this would never happen again. The side effect of this was that I had a Linksys 54 to play around with. I always had this grandiose idea of building a WIFI sniffer/jammer. I figured there may have been some people playing around with these routers. And gosh, was I right.

The DD-WRT project is a group of people who have reverse engineered many popular brands of routers and have managed to load a small linux distribution. As soon as I saw that they had independent programs running, it hit me like a bolt of lightning: My planes and helis don't need a receiver if they are carrying around the server. If I could carry around the router on board, I could fly my stuff.

So I started scheming. There were a lot of problems to be solved, and I am only just so nerdy. I made a list:

1. How do I get the router to talk to the servos? How much current can ethernet handle?

2. How do I control throttle with no stick?

3. What is the latency going to be like from iPhone->Router->Program->Servo?

4. What is the range of WiFi? Good enough for RC?

5. Can I fly with the accelerometers? I'm a stick banger. BIG time. How does one add expo to this?

6. Whose planes can I test this on? >=)

So I had my basic idea down. iPhone joins the Linksys router network. It gets an IP address. Then, I open up my pilot program. The pilot program interfaces with the router via SSH (I couldn't think of a better way that has redundancy, and speed, and was already buily by someone else). The pilot program interprets what the iphone is doing, and outputs data to one of the ethernet ports of which there are conveniently 4. Rudder, Ailerons, Throttle, Elevator.

Once I had that idea all drawn up, I said "great, I'll file this in the 'projects I'll claim to have come up with once someone else does all the work'" file. However, my friends and roommates kept egging me on, especially as more and more of them got and loved their phones. They wanted to be able to fly stuff too! Just to say they can.

So the first order of business was to come up with a user interface for the iPhone to fly things with. I know how my JR Transmitter works, but it's a whole different beast: it has sticks and buttons. So, I came up with a simple "flight interface" for the iPhone. It's sinfully ugly, but brutally functional. It has a couple of things that I felt were important:

1. Throttle Lock/Cut

2. Visual Throttle Cue so you can see if the throttle is at full and you're not getting power to the plane. Also, the phone will vibrate depending on different throttle positions. Full throttle gets a hearty shake out of the old girl.

3. Network status (Based on ping latency)

4. Really difficult to accidentally quit.

5. Ability to eventually use more than one engine. (Just in case).

6. Cool looking throttle levers like the big boys use.

The program itself wasn't too hard to make using Xdev, the iPhone/OS X development suite. The interface was pretty easy, but there was a lot of code behind tapping all the accelerometers at once. To further complicate things, how I tilt the phone may be different from how someone else tilts it.

There were some major hurdles. While range testing one night, I received a call from a girl. She was pretty insistent on me going to a party or something. So now I had two huge problems, incoming calls would kill the link to the craft, and I had to figure out if I had any clean clothes without R/C Logos on them to wear out.

The other problem I ran into was that the Linksys router can actually work on a lot of different voltages. Ironically, it's very happy at nine volts, the max output voltage for the Castle Creations Castle link.

Finally, you may ask how the servos are being driven. Well, routers are used to send bits of information down a series of twisted pair wires usually. Guess what it takes to send packeted information? An IC that would work really well as a PWM! I did some haxoring around on this, and read what other nerds had done on the internet, and the next think you know I have a servo with a Cat5E plug on the end of it. Below is a small video I made of some of the earlier tests, the first real successful flight test, and an interesting near miss at the very end.

Slashdot Top Deals

The devil finds work for idle circuits to do.

Working...