Distance Sensor

by s09085 in Circuits > Arduino

237 Views, 1 Favorites, 0 Comments

Distance Sensor

IMG_0314 (1).JPG

We can keep social distance by using distance sensor.

Supplies

wire*6

distance sensor*1

breadboard*1

Arduino Leonardo*1

resistor*1

LED*1

Type the Code

Copy down the program:

https://create.arduino.cc/editor/s09085/ec7ab897-2fe0-4507-bea0-c89d5fbebdf7/preview

Set the Supplies on the Breadboard

截圖 2020-11-22 上午11.08.33.png

Connect the wire same as the picture.

Do the Decoration

Hide all the materials.