Introduction: ARDUINO 101 | ULTRASONIC SENSOR

About: ENGINEERING & TECHNOLOGY | The creator is extremely passionate about Digital content creation, Arduino projects, Mechatronic projects, and RC modelling.

This Instructable will guide you through the process of using an HC-SR04 ultrasonic sensor with an Arduino Pro Mini.

Supplies

1) Any Arduino board: Arduino Pro Mini Compatible Board

2) An HC-SR04 ultrasonic sensor: HC-SR04

3) A mini breadboard: Mini Solderless Breadboard

4) FT232RL if using the Arduino Pro Mini: FT232RL

5) Male jumper wires: Male jumper wires

Step 1: CONNECTIONS

HC-SR04 VCC -> VCC

HC-SR04 ECHO -> D2

HC-SR04 TRIG -> D3

HC-SR04 GND -> GND

Step 2: PROGRAMMING

1) Download the code.

2) Verify the code.

3) Select your board, and port, and upload the code.

Step 3: TEST YOUR SENSOR

SKIP TO 2:06