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

Поділитися
Вставка
  • Опубліковано 23 сер 2024
  • PCBWay Yearly-end Promotion with the Biggest Sale Coming In December: www.pcbway.com/
    Download Circuit diagram, Programming, and Libraries:
    www.electronic...
    Subscribe to my New UA-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 UA-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:

КОМЕНТАРІ • 71

  • @qozia1370
    @qozia1370 10 місяців тому +2

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

  • @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

  • @iffahsyamimi9588
    @iffahsyamimi9588 3 роки тому +2

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

  • @yulmerced4434
    @yulmerced4434 Місяць тому

    Question: How fast can the sensor update reading? Also will a nano be able to read tof at around 60hz per second and log data for 10hrs?

  • @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 !!!

  • @yulmerced4434
    @yulmerced4434 2 роки тому +2

    How fast it this sensor read distances?

  • @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.

  • @electronic7979
    @electronic7979 3 роки тому +2

    Very good

  • @createyourideas6639
    @createyourideas6639 3 роки тому +1

    Can I use to make safe distance project

  • @yourevolution7850
    @yourevolution7850 5 місяців тому

    Did you use ultrasonic sensor in crack measuring?

  • @mr.anonymous8410
    @mr.anonymous8410 2 роки тому +1

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

  • @user-pb5up6kj8e
    @user-pb5up6kj8e 3 місяці тому

    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(

  • @yupingliao4078
    @yupingliao4078 Рік тому +1

    Thank you

  • @MyMohanty
    @MyMohanty Рік тому

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

  • @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 6 місяців тому

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

    • @giovannimanilardi480
      @giovannimanilardi480 6 місяців тому

      hi, unfortunately not yet

  • @alexnewton3376
    @alexnewton3376 3 роки тому +1

    Good explanation

  • @tobiasu.juliussen9896
    @tobiasu.juliussen9896 2 роки тому

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

  • @demiurgiac
    @demiurgiac 3 роки тому +1

    Very nice work!

  • @hazriealkhusyairie7118
    @hazriealkhusyairie7118 Рік тому

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

  • @deepadineshnaik7214
    @deepadineshnaik7214 Рік тому

    What are the main objects used in this model?

  • @joemy20tobe
    @joemy20tobe Рік тому

    How much maximum distance it can detect?

  • @filmyzone6640
    @filmyzone6640 Рік тому

    How to find water depth using this sensor?

  • @amartripathy9874
    @amartripathy9874 Рік тому

    Cost of total project

  • @thorgraum1462
    @thorgraum1462 Рік тому

    how accurate can this measure? i need microns

  • @niksfulari9157
    @niksfulari9157 Рік тому

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

  • @amartripathy9874
    @amartripathy9874 Рік тому

    Can i replace oled & need a graph in pc

  • @pauldumoulin1834
    @pauldumoulin1834 9 місяців тому

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

  • @shakerileiwat4341
    @shakerileiwat4341 3 роки тому

    Great ♥

  • @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.

  • @richmondm2960
    @richmondm2960 2 роки тому +1

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

  • @raiahayabusa315
    @raiahayabusa315 Рік тому

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

  • @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?

  • @free_intertaining
    @free_intertaining 2 роки тому

    Does it work in front of sunlight?

    • @ElectroniClinic
      @ElectroniClinic  2 роки тому

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

  • @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.

  • @gyp_gyp
    @gyp_gyp 3 роки тому

    Can I use Arduino Nano with TOF10120 sensor?

  • @emmanuelabraham9937
    @emmanuelabraham9937 3 роки тому +1

    your website not available now

    • @ElectroniClinic
      @ElectroniClinic  3 роки тому

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

  • @salmanbutt1113
    @salmanbutt1113 3 роки тому

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

    • @ElectroniClinic
      @ElectroniClinic  3 роки тому +1

      yes, you can.

    • @salmanbutt1113
      @salmanbutt1113 3 роки тому

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

  • @Smart-Tech9999
    @Smart-Tech9999 3 роки тому +1

    Can I get water level with this sensor ?

    • @ElectroniClinic
      @ElectroniClinic  3 роки тому

      yes

    • @m.sierra5258
      @m.sierra5258 3 роки тому

      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

  • @m.sierra5258
    @m.sierra5258 3 роки тому

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

  • @lyricalworld360
    @lyricalworld360 3 роки тому +1

    Distance range?

  • @vjdas6
    @vjdas6 9 місяців тому

    I want such product which can attached to mobiles

  • @mohamedpedrou2898
    @mohamedpedrou2898 3 роки тому

    Can it measure up to 0.01mm precision?

    • @m.sierra5258
      @m.sierra5258 3 роки тому

      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 3 роки тому

      @@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