Slashdot Mirror


Using Hacked Wiimotes As Scientific Sensors

garg0yle writes "Scientists are repurposing Wiimotes as scientific sensors to help measure wind speed or evaporation from lakes, among other things. At about $40 per unit, the controller is much cheaper than specialized sensors. The scientists are still considering how to add storage and extend the battery life."

29 of 110 comments (clear)

  1. Is this what the University of East Anglia is usin by Anonymous Coward · · Score: 2, Funny

    to detect global warming?

  2. "scientists" by Anonymous Coward · · Score: 2, Insightful

    Seems like more of an engineering challenge than a scientific one.

    1. Re:"scientists" by fuzzyfuzzyfungus · · Score: 3, Insightful

      While you can get a fair amount of science kit off the shelves these days, "science" has always involved a good bit of engineering, if you want your experiments to actually happen.

      Sometimes there is an explicit division of labor, sometimes the same person performs both functions.

    2. Re:"scientists" by HNS-I · · Score: 2, Insightful
      Clifford Stoll:

      The first time you do something it's science, the second time it's engineering, the third time it's just being a technician.

  3. Oh Science. by Interoperable · · Score: 4, Insightful

    “There are probably better ways to measure wind, but it was a day well-spent,” Hut said. “I really felt the need to solder something.”

    A day well-spent indeed! There's nothing like spending a day to save a few dollars by not having to buy a specialized sensor. Sounds like my Master's research; why buy good equipment when grad students can spend ages building a poor imitation of it? Still, those days are usually the most fun part of "science" and certainly afford excellent learning opportunities.

    --
    So if this is the future...where's my jet pack?
    1. Re:Oh Science. by Shakrai · · Score: 4, Funny

      There's nothing like spending a day to save a few dollars by not having to buy a specialized sensor.

      They won't be saving any money when they get hit with the DMCA lawsuit ;)

      --
      I want peace on earth and goodwill toward man.
      We are the United States Government! We don't do that sort of thing.
    2. Re:Oh Science. by boxxertrumps · · Score: 2, Informative

      http://www.nintendo.com/consumer/systems/wii/en_na/privacyEULA.jsp

      The agreement only restricts what devices/software you can use with the Wii console, not the controller.

  4. It's not about how much it costs to make by Anonymous Coward · · Score: 4, Insightful

    ...this equipment can run $500 or more...

    The scientific equipment is more expensive because laboratories are willing to pay more, and have the money. Gamers aren't willing to pay $500 for a controller.

    Look here: Digikey has 18000 pressure sensors available. I picked one at random, and it can measure pressure up to 115 psi, which is about 60 meters deep in water. It only costs $12. I could make you the serial port/USB interface for like 20 bucks.

    Scientists only pay that much because they are willing to pay that much.

    1. Re:It's not about how much it costs to make by Psaakyrn · · Score: 5, Insightful

      However, you're underestimating the cost of time. Mass production decreases both the cost and time of making a specific product (or combination of products).

    2. Re:It's not about how much it costs to make by Mr.+Freeman · · Score: 4, Informative

      That, and the fact that a lot of scientific instruments are of the quality needed to do science. Sure, your bathroom scale is $20, but that won't do you any good when you need to measure masses on the order of one tenth of one milligram. Even a 3-place "precision" balance for $200 won't cut it for a lot of work. You need a 4-place analytical balance, which will run you about $4k.

      Cheap sensors work great for things like wind speed and the water level of a lake because any small variation in these readings means absolutely nothing.

      Now, as for the wiimote being an amazing tool, it's really not. It's being touted as such by scientists who apparently aren't actually examining how this thing works.

      The case in the article mentioned using it to measure water level by using the IR camera on the sensor to record an IR beacon on a floaty thing in the water. You can do the same thing with a cheap ass digital camera and the same laptop that reads the data from the wiimote for about $10-15. They also mention putting wiimotes on a collapsing building to gather data. This is because the wiimote contains a chap accelerometer which you can actually buy on sparkfun.com for much cheaper than an entire wiimote.

      Apparently these guys have never heard of embedded devices. The arduino, PIC microcontrollers, and NI DAQ devices have been around for years and would perfectly suit the purpose of data collection. As I'm attending an engineering university currently I've noticed something. Engineers seem to be much more up to date and logical about what's PRACTICAL. Sure, you could use a wiimote, but you could get an arduino, a flash drive, and some cheap accelerometers for about $50 and you could use it to collect AND PROCESS five times the amount of data and use it on orders of magnitude more applications.

      --
      -1 disagree is not a modifier for a reason. -1 troll, flaimbait, redundant, overrated are NOT acceptable substitutes.
    3. Re:It's not about how much it costs to make by gmhowell · · Score: 5, Funny

      However, the cost of a grad student per hour is asymptotic at $0.

      --
      Jesus was all right but his disciples were thick and ordinary. -John Lennon
    4. Re:It's not about how much it costs to make by idolcrash · · Score: 4, Interesting

      This is because, for the most part, scientists are focused on their research subject and their area of expertise, cost reduction, not so much. You can't really expect everyone everywhere (especially outside of engineering) to know the intricacies of arduinos, NI DAQs, etc. as well as how to best implement them. That's for the engineers, really, and having and extra engineer on the research team most likely costs more than the savings they could help with...plus I'm not sure how many, say electrical engineers, would be interested in that kind of work anyways.

    5. Re:It's not about how much it costs to make by confused+one · · Score: 2, Informative

      You got your units wrong. That's a 115 kPa sensor, or 16.7 PSIA. It's a barometer; a baro of 1.5% accuracy. A waterproof UL / IS / FM approved water level transducer in a rugged welded stainlesss steel casing in roughly the same accuracy range (1%) will cost you a few hundred dollars.

    6. Re:It's not about how much it costs to make by SleazyRidr · · Score: 2, Insightful

      Which brings us back to the problem of a market that is too small.

      Not enough people are doing high-end research to make it worth Nintendo's (or anyone's) effort to produce them on a mass scale.

    7. Re:It's not about how much it costs to make by hairykrishna · · Score: 3, Insightful

      So the accelerometer set up you propose would cost about the same as the wiimote only they'd have to build it from scratch and write some software for it? Plus, why would you want to process the data on board? You're not doing anything with it immediately. I see your point about the camera though. What res are wiimote cameras?

      --
      "Physics is to math as sex is to masturbation." -R. Feynman
  5. Other Sensor Platforms by Tisha_AH · · Score: 5, Interesting

    I think the pricing of scientific instrumentation is based largely upon the limited number of devices produced. The folks who make sensors really do not care too much about the price and are looking at recovering their development, manufacturing and marketing costs off of very small sales quantities.

    A case in point; I work with AMI (SmartGrid) systems for measuring water and electricity consumption. These devices have a surprising level of sophistication, very long battery lives (10-20 years off of a Li-Ion battery) and can store a data-point every fifteen minutes and report it back across a radio network. I "know" the manufacturing costs are down in the $30-60 range for each device. The manufacturers are all anxious to get customers (utilities) to spend their millions on projects to put SmartGrid technologies into cities so the more you buy, the cheaper they get. The data is frequently coming from "absolute encoders" on water meters and less frequently, from pulse encoders that generate a certain number of pulses per 1000's of gallons (the device counts them up, multiplies them by a K factor and gives you a corrected value for gallons of water consumed).

    The Nintendo Wi is a good example. How many millions of the Wi devices are made? If they were $250 each there would not be many consumers buying them so they mass-produce and keep the prices low. You see the same effect when you hear about banks of PlayStation 3's being used in clusters for supercomputing.

    --
    Tisha Hayes
    1. Re:Other Sensor Platforms by Attila+Dimedici · · Score: 3, Informative

      The pricing of scientific equipment also reflects several other factors (not to say that some scientific equipment isn't overpriced): first, there is very high quality control. Scientific equipment generally goes through fairly rigorous quality testing. Second, and more importantly, any device that is used to capture scientific data for electronic storage must comply with 21 CFR part 11 if that data will be submitted to a regulatory agency in the U.S. (and similar regulations if it will be submitted to regulatory agencies in the E.U., Canada, Japan or several additional countries which I don't know the identity of off the top of my head).

      --
      The truth is that all men having power ought to be mistrusted. James Madison
    2. Re:Other Sensor Platforms by tlhIngan · · Score: 4, Interesting

      And the flipside happens too - scientific instruments are used for cooking. In this case, it's for cooking delicate foods using a thermal immersion circulator to cook sous-vide.

      http://gizmodo.com/5346014/what-is-this

      It's used because it's the best way to do precision temperature control.

  6. Scientific Value of Wii, PS3, XBox 360? by Psaakyrn · · Score: 2, Funny

    I'm curious on the non-game advances the Wii, PS3, and XBox 360 has provided for the community.

    The Wii advances via it's mass-produced controller, the PS3 advances via mass-produced mini-computer, the XBox 360... um... (need some help here).

    1. Re:Scientific Value of Wii, PS3, XBox 360? by Megane · · Score: 3, Funny

      The 360 advances via its mass-produced red LEDs.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
  7. Anything goes... by MindPrison · · Score: 2, Insightful

    ...thats the beauty of science, we're not limited to "have to", but more what we could do - "because we can".

    In amateur science circles, we also used commercially available TV-tuners as spectrum analyzers, instead of purchasing a commercial test-instrument that cost up to a 100.000 dollars, it could be made to perform pretty close and pretty well with some external circuitry for a few hundred bucks, made it affordable for the radio-amateur, science amateurs, and science students everywhere.

    Absolutely LOVE to see people use the resources like the Wiimote like that, excellent!

    So yeah - sky's the limit!

    --
    What this world is coming to - is for you and me to decide.
  8. Funny coincidence by idolcrash · · Score: 5, Interesting

    The lab I work in uses hacked Wiimotes to study visual pecerption in autism, Alzheimer's, and Parkinson's. They can be programmed with C#, which our PI and another undergrad learned to work with the Wiimotes...the ease of use and the hackability are pretty good selling points besides the price.

  9. Extend the battery life by Craig+Davison · · Score: 4, Informative

    There's a few Wii battery packs out there that allow the controller to be powered over USB with a standard A to mini-B cable. Here's one:
    http://www.dealextreme.com/details.dx/sku.4978
    Of course, if you drain the battery pack faster than you can recharge it, you might have a problem.

    1. Re:Extend the battery life by nametaken · · Score: 2, Insightful

      What I found interesting was that they were able to figure out the relatively complicated parts of performing the measurements and recording them in a way they can use later, and yet they still haven't worked out a larger battery?

  10. Re:Power Glove by inode_buddha · · Score: 2, Interesting

    it would sell if you had interactive pr0n games...

    --
    C|N>K
  11. Re:Power Glove by Zerth · · Score: 2, Informative

    More specifically, a tuning fork gyroscope.

    Apparently it is easy to read with i2c as a standalone part, too.

  12. Re:Power Glove by 'nother+poster · · Score: 2, Informative

    Yep. That socket in the bottom of a Wiimote is nothing but a proprietary i2c interface connector. You can get accelerometer, button, and joystick input from a nunchuck with a $2.50 Atmel microcontroller. I don't know if they still have them, but sparkfun used to have a little adapter board to let you connect a Wiimote accessory to a .1" pitch 4 pin header.

  13. Re:Power Glove by Nyeerrmm · · Score: 3, Informative

    While a gyro is necessary to actually do full 6-DOF position tracking (otherwise you must assume that you're holding a specific orientation... this can still be good for something like an in-the-air mouse), the Wii system still wouldn't be good for detecting absolute motion without the sensor bar as well.

    The problem is that while the sensors are fairly precise as far as measuring the accelerations (if they're anything like the iPhone sensors they're around 0.02g precise), when you try and integrate them twice to get the position, things start to fall apart. Imagine you do a simple up-and-down motion. You get a sinusoidal acceleration curve that when you integrate it once gives you an offset sinusoid to represent your velocity, and a second integration gives a third one to represent your position. However, at the end, your integration to the velocity level comes out to be not quite zero, because those small acceleration errors will mostly cancel out, but not perfectly. This is still a pretty good velocity estimate, since its close to zero. However, as far as your position is concerned, close to zero and actually zero are very different, so you get a constant, growing drift in your position from a small velocity error. The same things apply to gyros, although the math is a little more complex.

    Basically if you want to use a sensor as a double integrator it has to be extraordinarily precise, and even then you're going to get some drift that you have to remove every once in a while, or have an absolute position value to keep it in check (kalman filters do a great job of interpreting data from multiple sensors). What the sensor bar and IR sensors do is give you an incomplete but useful reference on position and orientation that you can use to keep that drift in check. Adding the gyros definitely helps a lot too, but you still need the sensor bar to keep drift in check.

  14. Re:fun but probably not that accurate by pbrooks100 · · Score: 2, Interesting

    In my experience, doing some sensor systems with cheap sensors and expensive sensors, the difference is that cheap ones can be fast or accurate, while good ones can be both. ... Its really a matter of knowing what you need. In many cases a cheap sensor works really well.

    Using cheap sensors can allow you to validate your hypothesis. This can in turn help you justify the additional expense of calibrated and more precise sensors to accurately describe the relationship observed. (You can also use spares of the cheap sensor equipment to play games and blow off steam while the experiment is running; Mario Kart anyone? :)