This page will be populated with all exercises given in the class. Use it as a reference for compiling your documentation
...
Alternative: Operate a motor so it “reverses” itself until it is too close to an object.
Exercise 4.0: Visualize the state of a servo in Processing (Arduino to Processing)
Send the servo state (speed, direction) through Serial to a Processing application. The Processing receives these parameters and visualizes the state of the servo, which could look like the following image:
In the beginning, it is ok just to display text which represents the motor state.
...
.
Exercise 5.0: Sensor visualizer
...
What if I can't get either of my sensors to work? Use the VCNL4040 that you already used in the exercise 3.3.
Exercise 7.1:
Build a stopwatch with the smart servo and two buttons.
The movement of servo indicates the seconds elapsed.
Clicking the first button starts and stops the stopwatch. The 2nd button resets the stopwatch.
TIP: Use the millis() function to find the elapsed time.
Exercise 7.2:
Develop an interactive device, taking inputs from one sensor and providing a physical output such as lights or movement.
...