Introduction: Detecting Obstacles and Warning - Arduino UNO and Ultrasonic Part 2

About: make simple project DIY

This is tutorial to help you understand ultrasonic and buzzer and go deeper into learning Arduino, follow these steps and give me feedback

Step 1: THINGS USED IN THIS PROJECT

1. Test Board

2. Ultrasonic sensor

3. +5V buzzer

4. Male to male pins

5. 6 LED

6.Arduino uno board Tools and materials are shown in the picture

Step 2: Connect Your Circuit

trigPin (ultrasonic) to pin 7

echoPin (ultrasonic) to pin 6

+led1 (green) to pin 13

+led2 (green) to pin 12

+led3 (yellow) to pin 11

+led4 (yellow) to pin 10

+led5 (red) to pin 9

+led6 (red) to pin 8

+buzzer to pin 3

Step 3: Load the Code to Your Arduino

Arduino Contest 2017

Participated in the
Arduino Contest 2017