Lesson 74: Using 2 or Sharp Infrared Sensor Module with Arduino

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

Комментарии • 34

  • @louiscelenza8017
    @louiscelenza8017 5 лет назад +1

    A very thorough and comprehensive tutorial of Sharp detectors controlled with Arduino. Excellent job. Thank you.

    • @robojax
      @robojax  5 лет назад

      You are welcome. I am glad you liked it.

    • @yashaswikulshreshtha1588
      @yashaswikulshreshtha1588 5 лет назад

      i have made project using three sensors and it was of 186 lines. With 18-20 Different possibilities and arrangments of sensor's data

  • @babamusaabbagoni3638
    @babamusaabbagoni3638 Год назад

    It's a great presentation; many thanks to you. I tried this example with two IR-sharp 10 to 80 cm sensors, but I'm getting the same distance with the two sensors even if I focused each one at a different distance. I need someone to help me out.

    • @robojax
      @robojax  Год назад

      You may have changed the code. There are different object and variable a holding the information and make sure you respect that

  • @nilsfonttarrago6362
    @nilsfonttarrago6362 4 года назад

    Awesome ! I had Some troubles with 2 tfmini and UNO programming and as soon as i saw this tutorial i changed my aproach and it went nicely. Thank you so much!

    • @robojax
      @robojax  4 года назад

      You are welcome. I am glad it helped you.

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 3 года назад +1

    Thank You

    • @robojax
      @robojax  3 года назад

      You're welcome

  • @dchavez2517
    @dchavez2517 2 года назад

    Writing to see if anyone has performed any tests with reflective
    adhesive tape for objects that are particularly troublesome for the
    Sharp IR Distance sensor. Thank You!

  • @heinisummerer5229
    @heinisummerer5229 3 года назад

    Thanks for the video! I am working on a project using 42 of these sensors at the same time, just using one arduino. I am using 3 multiplexers, so I need only 3 analog pins on the arduino. Now it seems that the power supply of the arduino is not capable to deliver enough energy for all the sensors and connecting them to a external power supply does not seem to work as they need to share at least the ground with the arduino I guess. Do you have any raccomandations how it could be possible to drive a very large amount of these sensors with just one arduino?

  • @opencv9505
    @opencv9505 5 лет назад

    Hie, thank you for the video. Am learning as a beginner and would like to add an LED to light up if motion is detected within a given distance, say 40 cm from either side of the two sensors.

    • @robojax
      @robojax  5 лет назад +2

      hi, you can do it like this if the distance is greater than 40cm
      you have to define let's say pin 10 as output then
      if(dis1 > 40){
      digitalWrite(10,HIGH);
      }
      Here is my course on Udemy that I just launched. You will learn Arduino step by step with wiring diagrams and codes explained. bit.ly/rj-udemy

  • @ahmedabdelaziz1869
    @ahmedabdelaziz1869 3 года назад +1

    'class SharpIR' has no member named 'distance' how can i solve it ?

    • @robojax
      @robojax  3 года назад

      it means you skipped the video and have not installed the library.

    • @ahmedabdelaziz1869
      @ahmedabdelaziz1869 3 года назад +1

      @@robojax I DID

  • @mohanedalthagafi306
    @mohanedalthagafi306 3 года назад

    Can you store the data onto a USB and have the Arduino portable

    • @robojax
      @robojax  3 года назад

      this is the whole point. Why then people use Arduino. we use computer to program it and then use it anywhere we want. Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135

    • @robojax
      @robojax  3 года назад

      You didn’t reply. I spend time and relied and got link for you.

  • @purplefurture6960
    @purplefurture6960 4 года назад

    hello, 50 is what ? cm or mili ?
    i spend 6 hours cant fix it
    int dis1;
    void down1(){
    while(dis1

    • @robojax
      @robojax  4 года назад

      hi, this video is focusing only on using two of the sensors. and in the video I've mentioned that you MUST watch the introduction to this ensors. so please watch the the introduction video where I have explained the full details and datasheet etc.

  • @NoClassRoll
    @NoClassRoll 3 года назад

    Thanks a lot

  • @muhammederdemaydn5067
    @muhammederdemaydn5067 5 лет назад

    I have pololu sumo(zumo) robot and i want to use it on my sumo robot. It is very important for me. Could you please help me with code part?

    • @robojax
      @robojax  5 лет назад

      Assalamu alaikum Muhammed, I am sorry I have no time to help other than replying to specific question for specific video you may have. Ahmad from Canada

  • @nodemcumexico5518
    @nodemcumexico5518 5 лет назад

    Can it work with esp8266?

    • @robojax
      @robojax  5 лет назад +1

      I would have to write code for it.

    • @nodemcumexico5518
      @nodemcumexico5518 5 лет назад

      @@robojax it's true why arduino works at 5V and esp8266 or esp32 work at 3.3V

  • @djtur1
    @djtur1 5 лет назад

    Öncelikle kolay gelsin.Servo motorla kullanışını da anlatırsanız seviniriz

    • @robojax
      @robojax  5 лет назад

      Teşekkürler. Khurasan'dan Ahmad (şimdi Kanada'da)

  • @ngothinh3507
    @ngothinh3507 5 лет назад

    It measures over 80cm ??

    • @robojax
      @robojax  5 лет назад

      This video just shows you how to connect to sensor. I have explained if you wan to learn about the module, please watch the main video on this sensor. The link is in the description of the video.

  • @MM-sc9vg
    @MM-sc9vg 4 года назад

    how to do this without using arduino?

    • @robojax
      @robojax  4 года назад

      this is NOT the introduction video. You have to watch that to under. The link is in the description of this video. This module outputs voltage proportional to the distance. and the voltage is not linear. You need processing power to do the calculation. for basic measurement you can just read voltage, then use your calculator to calculate the distance.

    • @MM-sc9vg
      @MM-sc9vg 4 года назад

      Robojax where is the link?