TK

HC SR-04 Mesafe Sensörü #TK #5

HC SR-04 Ultrasonik ses dalgaları ile çalışan bir mesafe sensörüdür. Üzerinde ultrasonik ses alıcı/verici çifti vardır. Bu sensörler yine aynı kart üzerindeki entegreler ile işlenerek mesafe ölçümü yapılır. Yapılan ölçüm özel bir protokolle mikrodenetleyiciler tarafından anlaşılacak şekle getirilir.

Ultrasonik sensörler üzerindeki verici modülden bir ses dalgası gönderir ve diğer modülden bu ses dalgasını okur. Sesin hızı neredeyse sabit olduğu için sesin gidip gelme süresinden mesafe ölçülür.

İşin temelinde fizikte öğrenilen x=vt formili vardır.

x: yol
v: hız
t: zaman

hız sabit, zaman ölçülüyor ve buradan yol/mesafe hesaplanabiliyor.

HC SR-04 e ait datasheet bilgileri aşağıdaki gibidir.

HC SR-04 4 pine sahiptir. Bunlar;

  • VCC
  • Trig
  • Echo
  • GND

VCC, GND +5V besleme girişidir.

Ölçüm başlatmak için Trig pinine >=10uS lik bir pulse uygulanır. Sonrasında ölçüm başlar. Sonrasında Echo pininin high kalma süresi mesafeyi ifade eder.

Mesafe ölçüm formülü;

Test distance = (high level time×velocity of sound (340M/S) / 2

HC SR-04 okumak için kullanılabilecek arduino kodu aşağıdaki gibidir;

35 thoughts on “HC SR-04 Mesafe Sensörü #TK #5”

  1. I simply want to tell you that I am beginner to blogs and actually liked your web site. Most likely I’m want to bookmark your website . You amazingly have fabulous articles and reviews. Kudos for sharing your web site.

  2. I like the helpful information you provide in your articles. I will bookmark your blog and check again here regularly. I’m quite certain I will learn lots of new stuff right here! Good luck for the next!

  3. It’s genuinely very difficult in this full
    of activity life to listen news on Television, so I just use the web for that purpose, and take the most up-to-date information.

  4. I do not even know how I ended up here, but I thought this post was great.

    I do not know who you are but definitely you’re going to a famous blogger if you are not already ;
    ) Cheers!

  5. Within the present day culture look at Language is now a whole lot even more necessary and in addition well-known. Yet once i has long been younger, My spouse and i failed to comprehend with this as well as determine to like exterior instead of realize Language. Nevertheless my private mommy stated: “English can be the essential tools for being capable to consult with foreign most people, and which means it’s essential to analyze within a Language school.

  6. Hi, I do think this is an excellent site. I stumbledupon it 😉 I will come back once again since I book marked it. Money and freedom is the best way to change, may you be rich and continue to help others.

  7. Oh my goodness! Impressive article dude! Thanks, However I am experiencing troubles with your RSS. I don’t know the reason why I am unable to subscribe to it. Is there anybody else having the same RSS issues? Anybody who knows the answer will you kindly respond? Thanx.

  8. I wanted to thank you for this good read!!
    I absolutely loved every bit of it. I have got you book
    marked to check out new stuff you post…

  9. Hi there to every one, the contents existing at this website are actually remarkable for people knowledge, well, keep up the good work fellows.

  10. Hello There. I found your blog using msn. This is a very well written article.
    I will make sure to bookmark it and come back to read more
    of your useful info. Thanks for the post. I’ll certainly comeback.

  11. I’d like to thank you for the efforts you have put in penning this blog. I am hoping to check out the same high-grade blog posts by you later on as well. In fact, your creative writing abilities has inspired me to get my own website now 😉

  12. I loved as much as you will receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get got an shakiness over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this increase.

  13. I am really enjoying the theme/design of your blog. Do you ever run into any internet browser compatibility issues? A number of my blog readers have complained about my site not operating correctly in Explorer but looks great in Chrome. Do you have any recommendations to help fix this issue?

  14. You actually make it seem really easy along with your presentation but I to find
    this matter to be actually one thing that I believe I would never understand.
    It kind of feels too complicated and very huge for me.
    I’m looking ahead to your subsequent put
    up, I’ll attempt to get the hold of it!

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir