The project is about 1 ultrasonic sensor and if you are in front of it for at least 1 Meter the LED will light up

The way how to build is quite easy.

 

 

1.

 

Get the stuff you need:

 

Wires

1 LED

1 Ultrasonic sensor (HC-SR04)

1 Arduino Motherboard (In my case Arduino MEGA 2560)

1 Resistor

A Breadboard

 

2.

 

Build it:

 

First of all, you need to place the sensor on the board there are 4 outputs:

 

GND = pin: -

Echo = pin: 2

Trig = pin: 3

Vcc = +

 

3

 

The LED:

 

just place the LED somewere on your breadboard and place a wire at the long pin to pin 4

the other one you need to connect with a transistor and after that to -

 

Upload the code!

 

LET IT GLOW!