TOF10120 Laser Range Sensor with Arduino to Measure Distance + Oled Display. laser for measurements

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 พ.ย. 2020
  • PCBWay Yearly-end Promotion with the Biggest Sale Coming In December: www.pcbway.com/
    Download Circuit diagram, Programming, and Libraries:
    www.electroniclinic.com/tof10...
    Subscribe to my New TH-cam Channel, if you want to watch my videos in Hindi/Urdu
    / @letsgetstartedd
    Support me on Patreon and get access to hundreds of projects:
    / electroniclinic
    sign up for a free account and download hardware designing and programming books:
    amzn.to/2WeBCw1
    ***********
    free Amazon Business Account:
    amzn.to/2MiPiBT
    ************
    Project Description:
    ********************
    In today’s episode, we will use the ToF10120 Laser Range Sensor module for measuring the distance.
    As usual, before I am going to use this sensor in some intermediate and advanced level projects, first I will cover the extreme basics to help you get started with this small tiny beautiful piece of hardware. I performed a series of experiments and displayed the values on the serial monitor and once satisfied, I further modified the code and displayed the measured distance in millimeters and Inches on the Oled Display module. Unlike the Ultrasonic Sensor, this Laser Sensor Module can also be used for monitoring the water level, it can be used in security systems, obstacle avoidance robots, and so on. Anyhow, I continued with the experiments, modified the code one more time, and this time I was able to control a 110/220Vac light Bulb, Make sure you wear protective gloves as 220Vac can be really dangerous. You can replace this bulb with a water pump, or any other electrical device that you want to control. The Bulb is turned ON when the distance is less than 5 inches and remains ON until the distance is greater than 10 inches. While performing the experiments, when the Laser Sensor was facing the camera, I could see this light coming out of the sensor which you can’t see with naked eyes, if you have this sensor go ahead and check.
    In this tutorial, we will cover,
    1. ToF10120 Laser Range Sensor Module Pinout and technical specifications.
    2. Complete circuit diagram explanation.
    3. Arduino Programming, and finally
    4. Testing
    ********************
    Amazon Purchase links:
    *****************
    Arduino Nano USB-C Type ( recommended):
    amzn.to/4ahGLdk
    ESP32 WiFi + Bluetooth Module for iOT Projects (recommended), more IO pins, improved speed, and supports a Lipo Battery:
    amzn.to/3v40DkE
    TOF10120 Laser Range Sensor:
    amzn.to/2Kloy7o
    LM7805 Voltage Regulator:
    amzn.to/39V2vx3
    DC Female Power Jack:
    amzn.to/2Pnoljp
    128x64 Oled Display Module SSD1306:
    amzn.to/3h1COwT
    Other Must-Have Tools and Components:
    Top Arduino Sensors:
    amzn.to/3vZbnfM
    Super Starter kit for Beginners
    amzn.to/3cq56C5
    Top Oscilloscopes
    amzn.to/3ctF3d8
    Variable Supply:
    amzn.to/2PEAqE7
    Digital Multimeter:
    amzn.to/2QGRPg1
    Top Soldering iron kits: "best"
    amzn.to/39nqDtb
    Top Portable drill machines:
    amzn.to/3suQMh7
    Jumper Wires:
    amzn.to/2NYPEDA
    3D printers:
    amzn.to/3ruG1dt
    CNC Machines:
    amzn.to/3cuZWVv
    Electronics Accessories:
    amzn.to/3sueV7z
    Hardware Tools:
    amzn.to/3m9UhaN
    DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
    ****************
    Follow me on Facebook:
    / electronic-clinic-7697...
    Email: stu_engineering@yahoo.com
    About the Electronic Clinic:
    Electronic Clinic is the only channel on TH-cam that covers all the engineering fields. Electronic Clinic helps the students and other professionals to learn electronics designing and programming. Electronic Clinic has tutorials on
    Arduino
    Raspberry PI
    image processing
    gsm based projects
    Bluetooth based projects
    esp8266 projects
    Nodemcu projects
    robotics
    desktop application designing and programming
    Project Related Tags:
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @qozia1370
    @qozia1370 7 หลายเดือนก่อน +1

    Every amature on TH-cam like you is designing pcbs unnecessarily just to shout out to their sponsors! 😂

  • @iffahsyamimi9588
    @iffahsyamimi9588 3 ปีที่แล้ว +2

    Thank you for the effort in making this video, sir. Great project sir!

  • @ahmetmutlu348
    @ahmetmutlu348 3 ปีที่แล้ว +7

    using optic rules its possible to calculate far distant distances too by checking movement of lasers dot on screen, but that partially depends on focus of used camera and used lasers degree of direction. anyway still try and learn technique probably will work. ;p

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

      Helal olsum dayım, ingilizce çeviri değilse harikasın

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

    can you please exlplain what is the IC1 thinkie you always have in the left of your boards, right below the voltage jack ? And if you have the exact model /purchage link it whould be extra helpfull . Thank you immersely for all these amazing videos !!!

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

    Is it possible to get the Two PCBs that you designed for the TF10120 laser sensor project? Thanks .

  • @tobiasu.juliussen9896
    @tobiasu.juliussen9896 2 ปีที่แล้ว

    Great video, do you know the laser safety class of the module? Thanks!

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

    Good explanation

  • @user-pb5up6kj8e
    @user-pb5up6kj8e 12 วันที่ผ่านมา

    Hello, I need help. I wanna try create this project. And now I have problem with code for Arduino IDE. Exactly problem with "SimpleTimer" library. Code doesn't work(

  • @mr.anonymous8410
    @mr.anonymous8410 2 ปีที่แล้ว +1

    Hi nice video
    What is the field of view for this sensor?

  • @electronic7979
    @electronic7979 3 ปีที่แล้ว +2

    Very good

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

    Very nice work!

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

    Can I use to make safe distance project

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

    Thank you

  • @yourevolution7850
    @yourevolution7850 2 หลายเดือนก่อน

    Did you use ultrasonic sensor in crack measuring?

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

    Great video, only thing I would say is there is not enough clearance on that relay board for high voltage shown.

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

      i have a complete video on relays and how to make relay drivers.

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

    hi i got problem on timer.setInterval(500L, display_measurement); in the coding. can you explain it thanks

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

    Great ♥

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

    What are the main objects used in this model?

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

    How fast it this sensor read distances?

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

    How much maximum distance it can detect?

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

    Can i replace oled & need a graph in pc

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

    Hello sir ..can we use it for measurement of spring mass deflection when mass is added to spring

    • @unknownkingdom
      @unknownkingdom 2 หลายเดือนก่อน

      You definitely cannot

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

    how accurate can this measure? i need microns

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

    How to find water depth using this sensor?

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

    Cost of total project

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

    Hi, I should measure the height of water in a well that is 50 meters deep. Could you kindly point me to a laser or ultrasonic sensor capable of such a measurement? Thank you.

    • @miwaaw1353
      @miwaaw1353 3 หลายเดือนก่อน

      hi, i have same problem with you. now, i want to use LiDAR sensor. how about you ? have you solve your problem ?

    • @giovannimanilardi480
      @giovannimanilardi480 3 หลายเดือนก่อน

      hi, unfortunately not yet

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

    I want such product which can attached to mobiles

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

    soooooo goooooooddddddddddddddddddddd!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! great great

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

      thank you sooooooooooooooooo much Sir.

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

    Can I use it for angle measures like ultrasonic

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

      you can use it for the distance measurement and for the angle measurement you can use a compass.

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

    what is the operating range in (centimeters or metres)? My use case is to measure the water level in the well. The water level in the well is at the distance of 100 metres from the ground level. is it possible to measure the water level?

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

      100 meters it's too much. What you can do is install this sensor near the water surface and then from there you can transmit data via rf modules like LoRa.

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

      @@ElectroniClinic And how much this laser module costs

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

      @@roopesh668 2 or 3 dollars. It's a low cost sensor.

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

    Hi good sir, can you please tell me the Angle Coverage of a TOF10120?

  • @m.sierra5258
    @m.sierra5258 2 ปีที่แล้ว

    8:50 every single one of those solder points seems cold to me

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

    if i want bulb ON only if object gets near at 2 inches to that sensor. can i change distance through code??

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

      yes, you can.

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

      Thanks for replying. I will check availability of above material because I’m not sure either these things are available in Pakistan or not :/

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

    video request. can you join a tof to a 433mhz transmitter/ reciever. so i have a lazer trip wire allarm for a door or gatè way... if distance decreeses. transmit signal to reciever that makes a noise.

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

      yes i can.

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

      how about using it with lora?

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

      @@ElectroniClinic how about using an existing wireless doorbell and make something to join the toff to the doorbell push button

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

      @@ElectroniClinic keeping it as small as possible.

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

      to the doorbell switch, sounds great. you are trying to make contactless doorbell?

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

    Can I use Arduino Nano with TOF10120 sensor?

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

    Does it work in front of sunlight?

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

      works outdoors, but i didnt check this directly under sunlight or directly facing the sun.

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

    can the sensor go in the water? I mean is this waterproof ?

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

      on backside components are exposed.

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

    Can I get water level with this sensor ?

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

      yes

    • @m.sierra5258
      @m.sierra5258 2 ปีที่แล้ว

      Officially I think it's not compatible with water, but I tried and it works fairly well. Of course only if the water is quiet, it won't work if the water moves around as water behaves like a mirror and a distorted mirror doesn't reflect properly

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

    your website not available now

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

      now online. sorry we had some issues. website is online now

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

    Distance range?

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

    Can it measure up to 0.01mm precision?

    • @m.sierra5258
      @m.sierra5258 2 ปีที่แล้ว

      I have the same thing, and no, the noise of each measurement is ~3-4mm. You can improve that by taking the average of many measurements, but in my experience with 150 measurements you get ~0.5mm, and that only every 5 seconds, as the sensor can give you a maximum of 30 measurements per seconds

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

      @@m.sierra5258
      Thanks for providing accurate statistics
      Unfortunately that's not enough
      I was looking for a laser detector with 0.01mm precision
      But I am not searching now anymore
      Because i lost the job offer