View Single Post
electroaudio's Avatar
Posts: 381 | Thanked: 336 times | Joined on Jan 2011 @ Stockholm, Sweden
Originally Posted by viic View Post
hi, using the infrared port anyone can create an application for measuring a room.
The apps must to sell a IR signal and then start a timer...the signal bounce on the wall and return to the IrDA...the application can stop the timer and using the timer we can calculate the distance between the wall and the phone!
IR-light moves with a speed of 299792.458 kilometers each second so you really need to speed up the N900 too
But if it is a silent room then maybe a soundpulse and a measurement of the reflected echoes could guve a much more accurate reading, since sound only travels 340 meter on a second.

The Following 4 Users Say Thank You to electroaudio For This Useful Post: