Introduction: Distance Sensor

We can keep social distance by using distance sensor.

Supplies

wire*6

distance sensor*1

breadboard*1

Arduino Leonardo*1

resistor*1

LED*1

Step 1: Type the Code

Copy down the program:

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

Step 2: Set the Supplies on the Breadboard

Connect the wire same as the picture.

Step 3: Do the Decoration

Hide all the materials.