MacBook Sonar

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
337 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 3, 2009

This is probably the most useless-but-still-cool program I've written. It uses only my stock MacBook Pro (no external hardware) to measure the distance to the ceiling. It seems to be accurate to within about 1-2 inches. Currently I'm not making the program available to the world because it's a dirty hack, but it's only about 200 lines of code.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (DaveTheYellowDart)

  • thats pretty cool but its hard to believe. So it sends a sound off, and all within a milisecond stops listening, then listens again before the sound bounces off the cealing and returns ? I mean i wouldnt think the laptop would stop vibrating before the sound returned...let alone initiate and process the microphone

  • It's actually even simpler than you said: you start recording, and then immediately play the sound. After some amount of time you just stop recording and begin processing. Finding the original chirp in the signal eliminates any latency issues which would otherwise be a killer.

    If memory serves the laptop stopped vibrating well within about 5ms, which corresponds to a dead zone of about 2.75 feet round trip.

see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • GG. Love your other videos.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more