...
Alternative: Operate a motor so it “reverses” itself until it is too close to an object.
Exercise 4.0: Sensor visualizer
Create a visual output on your computer from one sensor, using Arduino and Processing.
Steps:
- Using one of the sensors you have been provided, research on how to correctly connect up the sensor, install a library and get a basic example up and running.
- Output at least one value from the sensor over serial, and interpret that information in a visual form using processing.
What if I can't get either of my sensors to work? Use the VCNL4040 that you already used in the exercise 3.3.