Computer Sensor
![IMAG0551_BURST001.jpg](/proxy/?url=https://content.instructables.com/FBG/HNRZ/KJA02O1P/FBGHNRZKJA02O1P.jpg&filename=IMAG0551_BURST001.jpg)
Supplies: Google Slide, Ultrasonic sensor, circuits, computer
Circuit
![IMAG0548.jpg](/proxy/?url=https://content.instructables.com/F13/HOYR/KJA02NV6/F13HOYRKJA02NV6.jpg&filename=IMAG0548.jpg)
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
![IMAG0548.jpg](/proxy/?url=https://content.instructables.com/FOV/6XWZ/KJA02NT4/FOV6XWZKJA02NT4.jpg&filename=IMAG0548.jpg)
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
![IMAG0550.jpg](/proxy/?url=https://content.instructables.com/FV2/27TD/KJA02NWW/FV227TDKJA02NWW.jpg&filename=IMAG0550.jpg)
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.