Introduction: Easy Ultraonic Sensor on Uno
What one man con dream, other men can make true
We often no too often, hear this, though it means a lot. I'm pretty sure that a lot of you want to do an Ultrasonic Sensor project with Senor HC-SR04, without scams or stealing away your personal information, so I'm here to stop that.
Supplies
You will need as follows:
- Arduino UNO
- Ultrasonic sensor HC-SR04
- 4 Male-to-male wires
- A breadboard
- Arduino IDE
Step 1: Insert the Basic Stuff
Put the breadboard on the ground and put the Ultrasonic sensor on the Breadboard. For example, put it on pins 30a,31a,32a and 33a.
Step 2: Wiring
Attach as following:
- GND to GND
- VCC to 5v
- Trig to pin 8
- Echo to pin7
Step 3: Writing the Code
Open IDE and open this code




