Computer Sensor

by Moyue_Kaito in Living > Hiding Places

259 Views, 0 Favorites, 0 Comments

Computer Sensor

IMAG0551_BURST001.jpg

Supplies: Google Slide, Ultrasonic sensor, circuits, computer

Circuit

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

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

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.