Arduino Bangla Tutorial Part - 22: How to use Ultrasonic Sensor with Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • Hi friends, this is the 22th part of our Arduino Bangla Tutorial. In this video we will learn how to use ultrasonic sensor with arduino. Here i have used a ultrasonic sensor which model is HC-SR04. Ultrasonic Sensor is also known as Sonar Sensor. Please watch the full video to learn how to use ultrasonic sensor with arduino.
    If you have any question about this video please feel free to comment. If you like this video please give a thumbs up and share this video with your friends. Please Subscribe this channel to inspire us for more videos.
    List of Components:
    Arduino Uno R3: bit.ly/31AYoBW
    HC-SR04 Ultrasonic Sensor: bit.ly/2KQ79C8
    Male to Female Jumper Wire: bit.ly/2ZoUYjJ
    বাংলায় আরডুইনো বিষয়ক ধারাবাহিক টিউটোরিয়ালের এটি ২২তম পর্ব। এই পর্বে দেখানো হয়েছে কিভাবে আরডুইনোর সাথে আল্ট্রাসনিক সেন্সর ব্যবহার করতে হয়। আশা করছি আপনাদের ভালো লাগবে এবং আল্ট্রাসনিক সেন্সর সম্পর্কে নান বিষয় জানতে পারবেন।
    ভিডিও সম্পর্কে আপনার কোন প্রশ্ন বা মতামত থাকলে কমেন্ট করে জানাতে পারেন। ভিডিওটি ভালো লাগলে ভিডিওতে একটি লাইক দিন এবং আপনার বন্ধুদের সাথেও ভিডিওটি শেয়ার করতে পারেন। আমাদের ভিডিও গুলো যদি আপনাদের ভালো লাগে এবং এ ধরনের ভিডিও আরো পেতে চান তাহলে আমাদের চ্যানেলটি সাবস্ক্রাইব করে আমাদেরকে অনুপ্রাণিত করুন।
    ✔ How to make a Awesome Long Range Radar Using Arduino and Ultrasonic Sensor: • How to make a Awesome ...
    ✔ How to make a Diy Smart Dustbin using Arduino: • How to make a Diy Smar...

ความคิดเห็น • 119

  • @naimeimran3247
    @naimeimran3247 ปีที่แล้ว

    Thanks

  • @testname367
    @testname367 4 ปีที่แล้ว +1

    Those who know the behind science please save time and start from here 12:58. It's a good video. I saved your time .

  • @arunkumarsengupta9612
    @arunkumarsengupta9612 3 ปีที่แล้ว

    Bhalo laglo

  • @afnanrahman6905
    @afnanrahman6905 4 หลายเดือนก่อน

    bro i did it as you did but in my seral monitor it is always showing 0.00 cm i dont why i checked evrything but still it is shwong 0.00 cm

    • @NabaTechWorld
      @NabaTechWorld  4 หลายเดือนก่อน

      ২টা কারণে হতে পারে। হয়তো সেন্সরটা নষ্ট নতুবা সেন্সরের কানেকশন ঠিক নেই।

  • @professionalgamer2433
    @professionalgamer2433 5 ปีที่แล้ว +2

    Hi vaiya Amar video Kobe release pabe

    • @NabaTechWorld
      @NabaTechWorld  5 ปีที่แล้ว

      Sorry Dihan. Ami bhulei geci tomar video tar kotha.

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @anisurrahman2768
    @anisurrahman2768 ปีที่แล้ว

    Thanks sir

  • @bikramsarkar2622
    @bikramsarkar2622 6 หลายเดือนก่อน

    Is it will work like e sonar? Can I detect obstacle under water.? Please help

    • @NabaTechWorld
      @NabaTechWorld  6 หลายเดือนก่อน

      No. The water surface will work as a reflector.

  • @sadiaakter5348
    @sadiaakter5348 ปีที่แล้ว

    Vaiya amr ei khane all time 0cm show korche ekhon er jonno amader kajo off.

    • @NabaTechWorld
      @NabaTechWorld  ปีที่แล้ว

      সেন্সরে হয়তো সমস্যা নয়তো কানেকশন ভুল আছে। আমাদের ফেসবুক পেজে মেসেজ দিন।

  • @siamhasanshuvo9233
    @siamhasanshuvo9233 4 ปีที่แล้ว +1

    Vai jodi amra 2 ta altrasonick sensor use kori sakhana 1st altrasonick sensor on thakla 2nd ti off thakba and 2nd ti on thakla 1st ti off thakba ata ki vaba kora jai ai doronar kono vedio dela kub valo hoto

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      Ami apnar kotha ta buji ni. Amader facebook page e details likhe send koren.

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @tanvirakhil2856
    @tanvirakhil2856 3 ปีที่แล้ว

    vai (if/void/int/else emon kito word ase and erder kaj ki janaben

    • @NabaTechWorld
      @NabaTechWorld  3 ปีที่แล้ว

      Please amader video gulo suru theke dekhe asun serially.

  • @shovonkumarray4349
    @shovonkumarray4349 3 ปีที่แล้ว +1

    All of your explanation and equipments are good

  • @md.ashrafulislam2348
    @md.ashrafulislam2348 2 ปีที่แล้ว

    কতগুলো আলট্রাসনিক সেনসর একটি আরডুইনোতে লাগানো যায়?

    • @NabaTechWorld
      @NabaTechWorld  2 ปีที่แล้ว +1

      হিসেব করে দেখিনি। তবে একাধিক সেন্সর ইউজ করলে পুরো বিষয়টা কিছুটা ধীর গতির হয়ে যাবে।

    • @md.ashrafulislam2348
      @md.ashrafulislam2348 2 ปีที่แล้ว

      @@NabaTechWorld Thanks for your reply 🥰

  • @sadiaakter5348
    @sadiaakter5348 ปีที่แล้ว

    Vaiya apnr sathe ki jogajog kora jabeee

    • @NabaTechWorld
      @NabaTechWorld  ปีที่แล้ว

      আমাদের ফেসবুক পেজে মেসেজ দিন।

  • @CRAZY-ELECTRONICS
    @CRAZY-ELECTRONICS 5 ปีที่แล้ว

    sir apni প্রতি সপ্তাহে at least দুটো arduino tutorial ভিডিও আপলোড দেন pls

    • @NabaTechWorld
      @NabaTechWorld  5 ปีที่แล้ว

      ভাই ব্যস্ততার মধ্যে থাকতে হয়। যখন সুযোগ পাই তখনই আপনাদের জন্য ভিডিও বানানোর চেষ্টা করি।

  • @kinkarmandal5503
    @kinkarmandal5503 2 ปีที่แล้ว

    Code gulo apnar kache thakle ektu google dive ba website e upload kore dile subidhe hoy..

  • @tahmidahnaf3826
    @tahmidahnaf3826 4 ปีที่แล้ว +1

    Ami 13 bochor boyoshe arduino er basic bishoy shikhechi

  • @TheNaeemIslam
    @TheNaeemIslam 3 ปีที่แล้ว

    vaia...bit.ly link gula kaj kore na

    • @NabaTechWorld
      @NabaTechWorld  3 ปีที่แล้ว

      জ্বী। লিংক গুলো আপডেট করে দেয়া হবে।

  • @sajalchakraborty3810
    @sajalchakraborty3810 2 ปีที่แล้ว

    Eksathe 2 to ultrasonic sensor eksathe use korbo jode ektu bolen cord ta ki hobe
    Ek e sathe 2 to kaj korbe

  • @kinkarmandal5503
    @kinkarmandal5503 2 ปีที่แล้ว

    Ami ei playlist ta follow korchi... Khub valo kore explain kora.. very helpful thank you 👌👍..

  • @md.mahadihossain8670
    @md.mahadihossain8670 2 ปีที่แล้ว

    Thanks a lot.
    I like yiur vdio

  • @jamilofficial2418
    @jamilofficial2418 10 หลายเดือนก่อน

    Very helpful for everyone 🙂

  • @bulbulahmed3519
    @bulbulahmed3519 2 ปีที่แล้ว

    Kindly upload video on gsm

  • @saqadirbd
    @saqadirbd 4 ปีที่แล้ว

    আলট্রাসনিক হিটার করবো কি ভাবে ভাই?

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      আমাদের ফেসবুক পেজে মেসেজ দিন। facebook.com/nabatechworld

  • @jawad6170
    @jawad6170 3 ปีที่แล้ว

    343 hobe

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @LearnWithFardin
    @LearnWithFardin 3 ปีที่แล้ว

    Vaia, Display te je output result dekhabe numerically, tar digit kivabe fix korajay??
    Like dhoren output Z=1.81348563....
    Eta ashlo ekhon ami chacchi only point er por 4ta digit nibo Z≈1.8135
    So eta kivabe kora jay??

    • @NabaTechWorld
      @NabaTechWorld  3 ปีที่แล้ว +1

      Just learn about float type variable. You can customize it.

    • @LearnWithFardin
      @LearnWithFardin 3 ปีที่แล้ว

      @@NabaTechWorld 💝💝💝

  • @LearnWithFardin
    @LearnWithFardin 3 ปีที่แล้ว

    Can I use here a temperature sensor module to get a highly accurate distance?
    As we all know that the speed of sound in the air is a function of temperature, humidity, and pressure!!
    And I wanna use a temperature sensor in it to make my output more accurate!
    I want to write the velocity of sound as a function of temperature by a little physics! [V=Vo√(1+T°\273.15)]
    Here Vo is the velocity of sound at 0°C which is 331.1187 ms-¹.
    Instead of writing V=340ms-¹, I want to write V as a function of temperature as shown here!
    And the temperature reading will get from the temperature sensor! Simply means the velocity will be a variable of temperature!
    Will it be possible???
    I am an SSC-2021 Candidate and don't know much about coding!
    I am learning gradually!
    How can I contact you??
    I have to discuss something about it!

    • @NabaTechWorld
      @NabaTechWorld  3 ปีที่แล้ว +1

      Yeah, you can do that.

    • @LearnWithFardin
      @LearnWithFardin 3 ปีที่แล้ว

      @@NabaTechWorld Thank you vaia!😍😍😍

  • @shourav10nrl
    @shourav10nrl 7 หลายเดือนก่อน

    Helpful Video ❤

  • @sabbirahmed4685
    @sabbirahmed4685 4 ปีที่แล้ว

    Thank you vai

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      Welcome.

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @shihanalam4594
    @shihanalam4594 4 ปีที่แล้ว +1

    thanks for these wonderful videos.it help me a lot to run my project

  • @more_tech_bd
    @more_tech_bd 2 ปีที่แล้ว

    arduino uno te kono code upload hocchena,, "avrdude" e problem hocche onk tutorial dekhsi but kaj korena,,,plz help

    • @NabaTechWorld
      @NabaTechWorld  2 ปีที่แล้ว

      আরডুইনোর সাথে কোন কিছু লাগানো থাকলে খুলে ফেলেন। শুধু ইউএসবি ক্যাবল লাগিয়ে কোড আপলোড করার ট্রাই করুন। যদি তারপরও না হয় তাহলে সম্ভবত আরডুইনো বোর্ডে সমস্যা আছে।

  • @anwarsir3142
    @anwarsir3142 3 ปีที่แล้ว

    Vai void loop function a ki digitalWrite hobe

    • @NabaTechWorld
      @NabaTechWorld  3 ปีที่แล้ว

      আপনার প্রশ্নগুলোর কোন স্ট্যান্ডার্ড নেই। এগুলো কোন প্রশ্নই না ভাই। Void loop ফাংশন এ digitalWrite হবে কিনা এটা আবার কি প্রশ্ন?

  • @মুহাম্মদসল্লাল্লাহুআলাইহিওয়া

    assalamulaykum.vay apnar video gula khub valo lage.thanks .vay cod gula jode copy kore den khub valo hoy

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      ভাইয়া কোডতো আমি একদম লিখে লিখে দেখাই।

  • @zaforahammad2636
    @zaforahammad2636 5 ปีที่แล้ว +1

    continue

    • @NabaTechWorld
      @NabaTechWorld  5 ปีที่แล้ว

      Inshaallah we shall try our best to continue this tutorial.

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @abdullahmdsadik1668
    @abdullahmdsadik1668 4 ปีที่แล้ว

    ultrasonic sensor er jonno kono library function declare ba setup korte hoi Arduino te?

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว +1

      Video ta please arekbar monojog sohokare dekhun.

  • @aruptest9247
    @aruptest9247 2 ปีที่แล้ว

    Is it possible to control a display's screen on off by using Ultrasonic sensor by distinguishing if a person is in front or no person is detected?

    • @NabaTechWorld
      @NabaTechWorld  2 ปีที่แล้ว +1

      Ofcours. Why not?

    • @aruptest9247
      @aruptest9247 2 ปีที่แล้ว

      @@NabaTechWorld How to connect Sonic sensors/UNO with Tab to work this out bhai

  • @অপদার্থবিজ্ঞানী
    @অপদার্থবিজ্ঞানী 5 ปีที่แล้ว

    Assalamu Alaikum Wa Rahmatullahi Wa barakatuhu

  • @tahmidahnaf3826
    @tahmidahnaf3826 4 ปีที่แล้ว +1

    Apni khub i valo bujhan.

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      Thanks

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @jahidhassan9329
    @jahidhassan9329 4 ปีที่แล้ว +1

    Love you vai❤

  • @AlamKhan-yt9wd
    @AlamKhan-yt9wd 5 ปีที่แล้ว

    আপনার ভিডিওগুলো অনেক ভালো লাগে রোবটিক্স মানে হচ্ছে লজিক এবং মেকানিজম এবং আপনি এই দুটি জিনিস খুব ভালোভাবে বুঝিয়ে দেন
    আপনার কাছে একটি অনুরোধ থাকবে আপনি যদি পি আইডি কিভাবে কাজ করে এবং এর মেকানিজম কি এটি নিয়ে বিস্তারিত দিলে ভালো লাগবে

    • @NabaTechWorld
      @NabaTechWorld  5 ปีที่แล้ว

      পি আইডি কি? ঠিক বুজতে পারলাম না। একটু বুজিয়ে বলুন। কমেন্ট করার জন্য ধন্যবাদ।

    • @AlamKhan-yt9wd
      @AlamKhan-yt9wd 5 ปีที่แล้ว

      @@NabaTechWorld PID stands for Proportional-Integral-Derivative. These three controllers are combined in such a way that it produces a control signal.
      Pid line follower robot er jonno lage.
      www.elprocus.com/the-working-of-a-pid-controller/
      Pid

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

    • @AlamKhan-yt9wd
      @AlamKhan-yt9wd 3 ปีที่แล้ว

      @@sahusamay8944 good

  • @omorfaruk1
    @omorfaruk1 3 ปีที่แล้ว

    vi ami ei code ti use korechi, kintu result always zero(0) ase keno?
    #define trigpin 4 // digital pin 4
    #define echopin 2 // digital pin 2
    #define buzzer 13

    void setup()
    {
    Serial.begin(9600);
    pinMode(trigpin, OUTPUT);
    pinMode(echopin, INPUT);
    pinMode(buzzer, OUTPUT);
    digitalWrite(buzzer, LOW);
    }

    void loop()
    {
    int duration, distance;
    digitalWrite(trigpin, HIGH);
    delayMicroseconds(1000);
    digitalWrite(trigpin, LOW);

    duration = pulseIn(echopin,HIGH);
    distance = ( duration / 2) / 29.1;
    if ( distance < 0 )
    {
    Serial.println("out of Range");
    }

    if ( (distance >= 0) && (distance 30 )
    {
    digitalWrite(buzzer, LOW);
    }
    Serial.print(distance);
    Serial.print(" Centimeters
    ");

    }

    • @NabaTechWorld
      @NabaTechWorld  3 ปีที่แล้ว

      আমি টিউটোরিয়ালে যেভাবে দেখিয়েছি সেটা আগে ট্রাই করুন।

  • @mamunurrashid6020
    @mamunurrashid6020 4 ปีที่แล้ว

    ভাই আপনার টিউটোরিয়ালগুলো খুব ভালো লাগে love you brother.

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      কমেন্ট করার জন্য ধন্যবাদ ভাই।

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @moinulhasanmoin5939
    @moinulhasanmoin5939 5 ปีที่แล้ว

    Vaia Ami same kaj korsi. kintu distance er khetre (0.00cm) dekhasse.@

    • @moinulhasanmoin5939
      @moinulhasanmoin5939 5 ปีที่แล้ว

      Vaia arekta question hosse
      Eta ki sonar er somossa??

    • @NabaTechWorld
      @NabaTechWorld  5 ปีที่แล้ว

      সমস্যাটা কোথায় হচ্ছে সেটা খুঁজে বের করতে হবে। এভাবে বললে তো বুজবো না। আপনি অনলাইনে আরো কিছু টিউটোরিয়াল ঘাঁটাঘাঁটি করে দেখুন কোন সমাধান পান কিনা।

  • @samiraonuva1219
    @samiraonuva1219 4 ปีที่แล้ว

    2 ta sensor use korlay code ta kemon hobay?

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      Amader facebook page e message din.

  • @SalmanKhan-pu6sc
    @SalmanKhan-pu6sc 4 ปีที่แล้ว

    Make a video on ir sensor and EPs modules

  • @mrmknowledge786
    @mrmknowledge786 4 ปีที่แล้ว

    Thanks

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @ummemahfuzahaque5809
    @ummemahfuzahaque5809 4 ปีที่แล้ว

    Vaia.'float'niye age kisu bolen nai.

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      আপনি বোধহয় সব ভিডিওগুলো ভালো করে দেখে আসেননি।

  • @differentvideo539
    @differentvideo539 4 ปีที่แล้ว

    vai program ta dile valo hoto

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      Code to video te dekhanoi ace bhai

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @samiraonuva1219
    @samiraonuva1219 4 ปีที่แล้ว

    if i use two sensor ,both for calculating distance .one will be connected to a servo.another with a led light.how the code would look?,can you please write it .it's an emergency ,i have project to submit within 3 days.

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      Amader facebook page e message din. facebook.com/nabatechworld

    • @samiraonuva1219
      @samiraonuva1219 4 ปีที่แล้ว +1

      @@NabaTechWorld ok i will

  • @shiamabdullahador8661
    @shiamabdullahador8661 4 ปีที่แล้ว

    Via amni kothay thaken

    • @NabaTechWorld
      @NabaTechWorld  4 ปีที่แล้ว

      Inbox us on our facebook page

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @anismahmud3636
    @anismahmud3636 5 ปีที่แล้ว

    please continue

    • @NabaTechWorld
      @NabaTechWorld  5 ปีที่แล้ว

      Inshaallah we shall try our best to continue this tutorial.

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @firozhossain5780
    @firozhossain5780 3 ปีที่แล้ว

    ভাগ এগুলো কোথায় পাওয়া য়ায়

    • @NabaTechWorld
      @NabaTechWorld  3 ปีที่แล้ว

      www.nabatechshop.com এ পাবেন

  • @anismahmud3636
    @anismahmud3636 5 ปีที่แล้ว

    super

    • @NabaTechWorld
      @NabaTechWorld  5 ปีที่แล้ว

      Thank you for your comment.

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html

  • @shilpimondol4009
    @shilpimondol4009 5 ปีที่แล้ว

    Sir please make a video on servo programming

    • @NabaTechWorld
      @NabaTechWorld  5 ปีที่แล้ว

      আমাদের টিউটোরিয়ালের ২৪ তম পর্বেই সার্ভো নিয়ে আলোচনা করা হবে। আমাদের চ্যানেলে সাবস্ক্রাইব করে নিয়মিত আপডেট চেক করুন। আশা করছি খুব শীঘ্রই পেয়ে যাবেন।

    • @shilpimondol4009
      @shilpimondol4009 5 ปีที่แล้ว

      Many many thanks

    • @CRAZY-ELECTRONICS
      @CRAZY-ELECTRONICS 5 ปีที่แล้ว

      @@NabaTechWorld sir pls video upload din

    • @NabaTechWorld
      @NabaTechWorld  5 ปีที่แล้ว

      @@CRAZY-ELECTRONICS আমাদের আসলে এক একটা ভিডিও রেকর্ড করে রেডি করা পর্যন্ত অনেক সময় লাগে। তাছাড়া ব্যস্ততার কারণে সবসময় ভিডিও বানানো সম্ভব হয় না। তাই ভিডিও আপলোড করতে কিছুটা দেরী হয়। আমাদের চ্যানেলটি সাবস্ক্রাইব করে সাথে থাকা বেল আইকনটি বাজিয়ে দিন। নতুন ভিডিও আপলোড করলে নোটিফিকেশন পেয়ে যাবেন।

    • @sahusamay8944
      @sahusamay8944 3 ปีที่แล้ว

      th-cam.com/channels/fIiN_2qq_vgMZHcx7aQ1MA.html