Sensor Ultrasónico Arduino Hc Sr04
It essentially gives your arduino eyes spacial awareness and can prevent your robot from crashing or falling off a table.
Sensor ultrasónico arduino hc sr04. As a beginner you will be mostly using this for making a distance calculator or obstacle avoiding sensor. It is commonly used in obstacle avoiding robots and automation projects. Ultrasonic sensor hc sr04 is a sensor that can measure distance. Spesifikasi dari sensor ultrasonic tersebut.
The hc sr04 ultrasonic sensor is a very affordable proximity distance sensor that has been used mainly for object avoidance in various robotics projects. The hc sr04 is one of the most used ultrasonic sensors. Modul yang ada dipasaran yang sering digunakan untuk arduino yaitu tipe hc sr04 seperti gambar diatas. You can determine how far away something is by the time it takes for the sound waves to get back to the sensor.
Tutorial sederhana mengakses sensor ultrasonic via. Trig trigger pin is used to trigger the ultrasonic sound pulses. Ultrasonic sensor hc sr04 is a sensor that can measure distance. The computer aided design cad files and all associated content posted to this website are created uploaded managed and owned by third party users.
It emits an ultrasound at 40 000 hz 40khz which travels through the air and if there is an object or obstacle on its path it will bounce back to the module. It is commonly used to measure distance in close proximity ranges but it was actually to detect the presence of nearby objects without any physical contact. Dimensi modul 45mm x 20mm. Konsumsi arus berkisar 2ma.
The hc sr04 is an inexpensive easy to use ultrasonic distance sensor with a range of 2 to 400 cm. Sensor ultrassônico arduino hc sr04 arduino. Tingkat kepresisisan pengukuran jarak 3 mm. It emits an ultrasound at 40 000 hz 40khz which travels through the air and if there is an object or obstacle on its path it will bounce back to the module.
Echo pin produces a pulse when the reflected signal is received. Vcc is the power supply for hc sr04 ultrasonic distance sensor which we connect the 5v pin on the arduino. Jarak deteksi antara 2cm 300cm. The length of the pulse is proportional to the time it took for the transmitted signal to be detected.
In this project i will introduce you to the hc sr04 ultrasonic sensor. It works by sending sound waves from the transmitter which then bounce off of an object and then return to the receiver. In this tutorial you will learn how the sensor works and how to use it with arduino. Tegangan operasional 5 vdc.
Let s get right to it. Arduino nano v3 0 hc sr04 ultrasonic sensor wires to connect it all together connect the components and wires as shown in the two pictures.