Analog Input / Output

To demonstrate an analog input / output, I wanted to use an ultrasonic distance sensor and map its values to the angle of a servo motor. With this very simple configuration, I used it to create a wave generator.

To elevate the idea, I wanted there to be two servos on either side of the water channel so that the waves can collide.

Screen Shot 2019-09-21 at 6.35.55 PM.png