ARDUINO 101 | ULTRASONIC SENSOR
by HertzandMadden in Circuits > Arduino
185 Views, 4 Favorites, 0 Comments
ARDUINO 101 | ULTRASONIC SENSOR
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
CONNECTIONS
HC-SR04 VCC -> VCC
HC-SR04 ECHO -> D2
HC-SR04 TRIG -> D3
HC-SR04 GND -> GND
PROGRAMMING
1) Download the code.
2) Verify the code.
3) Select your board, and port, and upload the code.
Downloads
TEST YOUR SENSOR
SKIP TO 2:06