İn this instructable project, i will show you how to use the hr-sr04 ultrasonic sensor
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
So you need:
1 arduino (every model is acceptable)
some jumper cables
Step 2: Get to Know You Sensor
So, the ultrasonic sensor has 4 pins.First one (on the left, 1st one) is for gnd (ground), second one is for Echo pin ,
third one is trigger, and the last one is for vcc(5v)
Step 3: Connection
Connect your sensor like this circuit.
Step 4: Coding
Open your your arduino program and type theese codes
Btw dont mind the led and if codes