This week, because my sponge still leaves in my kitchen, so I made another new switch.
The purpose of this week’s courses is to let us learn different types of switches and the difference between analog and digital input, so I combine three different switches together, which are toggle switch, potentiometer and normal switch, and use Arduino as a microcontroller to transfer the distance of hand to the ultrasonic sensor to the voltage of circuit. Then I used behavior like Taichi as a trigger to control led bright and dimmer slowly.
Finally, I hide every pieces into a box in order to make it neat.
Here are some photos in making process.