The Computational Virtual World and the Real Physical One

Posted by:

Preamble

It is always fascinating when the virtual reality starts to compete with real world, particularly when one can track user’s locomotion, head movement, gestures, EEG and vital statistics etc. Here is just a little teaser project about virtual reality.

Parts needed

  1. Breadboard
  2. Arduino Uno or other board
  3. Hc-sr04 Ultrasonic Distance Measuring Sensor
  4. connecting wires

The fritzing schematic

ultra_distancefzz_bb.png

sketch code

python code with vpython

A picture means a thousand of words.

If you look carefully, you will notice that ruler measurement matches the reading from virtual world.

Scr_ultra_distance.png

ultrasonic-distance.JPG

0
  Related Posts

Add a Comment