Computer Sensor
Supplies: Google Slide, Ultrasonic sensor, circuits, computer
Circuit
Please follow the picture to complete your circuits. However, you can decide where the Ultrasonic sensor is. The D pin can change. For example, you can change D1 to D2 but you must connect the GND.
Code&Measured
Link of the code: https://create.arduino.cc/editor/vincenthxl/c761dd...
There's something you have to notice. The ultrasonic sensor's circuit that you connect must match the code that you make. Otherwise, your code won't work.
Create a Slide Which Contains Warning Words in the Another Table
Finish
After finish your code, you can test your machine. Theoretically, your computer will change to the other table you make automatically when you approach the Ultrasonic sensor.