Bugün siz izleyicilerime hc-sr04 ultrasonik mesafe sensörünün çalışma prensibini anlatacağım.
Gnd; topraklama manasına gelir.
Trig; ultrasonik dalga çıkışı sağlayan pindir.
Echo; Echo pini Trig pininin yolladığı dalgayı giriş formatı ile alır.
Vcc; karta bağlanacak güç kaynağının bağlandığı pindir.
Trig pini ultrasonik dalga gönderir, dalga ilerideki nesneye çarpar ve Echo pinine geri föner. Bu geri dönen dalgaların kaç saniyede geri döndüğünü ölçen sensörümüz bu süreyi uzaklığa dönüştürür.
Ve Serial port'a yazar.
*****************************************
Today I'm going to tell my audience the working principle of the hc-sr04 ultrasonic distance sensor.
GND; earthing means.
Trig; The ultrasonic wave is the output that allows the output.
Echo; Echo pini takes the wave sent by Trig pin with the input format.
Vcc; the power supply to which the power supply is connected to the card.
The Trig sends the ultrasonic wave, the wave hits the forward object and back to the Echo pin. Our sensor, which measures how many seconds these return waves return, converts this time to a distance.
And write to the Serial port.
Yorumlar
Yorum Gönder