Тёмный

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

Electronic Clinic
Подписаться 87 тыс.
Просмотров 105 тыс.
50% 1

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 RU-vid 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 RU-vid 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:

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 71   
@ahmetmutlu348
@ahmetmutlu348 3 года назад
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 года назад
Thank you for the effort in making this video, sir. Great project sir!
@electronic7979
@electronic7979 3 года назад
Very good
@yulmerced4434
@yulmerced4434 2 месяца назад
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?
@PBGBen
@PBGBen 3 года назад
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.
@yupingliao4078
@yupingliao4078 Год назад
Thank you
@alexnewton3376
@alexnewton3376 3 года назад
Good explanation
@demiurgiac
@demiurgiac 3 года назад
Very nice work!
@ElectroniClinic
@ElectroniClinic 3 года назад
Thanks a lot!
@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 !!!
@mr.anonymous8410
@mr.anonymous8410 2 года назад
Hi nice video What is the field of view for this sensor?
@createyourideas6639
@createyourideas6639 3 года назад
Can I use to make safe distance project
@qozia1370
@qozia1370 11 месяцев назад
Every amature on RU-vid like you is designing pcbs unnecessarily just to shout out to their sponsors! 😂
@yourevolution7850
@yourevolution7850 6 месяцев назад
Did you use ultrasonic sensor in crack measuring?
@tobiasu.juliussen9896
@tobiasu.juliussen9896 3 года назад
Great video, do you know the laser safety class of the module? Thanks!
@richmondm2960
@richmondm2960 2 года назад
soooooo goooooooddddddddddddddddddddd!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! great great
@ElectroniClinic
@ElectroniClinic 2 года назад
thank you sooooooooooooooooo much Sir.
@giovannimanilardi480
@giovannimanilardi480 Год назад
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 7 месяцев назад
hi, i have same problem with you. now, i want to use LiDAR sensor. how about you ? have you solve your problem ?
@giovannimanilardi480
@giovannimanilardi480 7 месяцев назад
hi, unfortunately not yet
@MyMohanty
@MyMohanty Год назад
Is it possible to get the Two PCBs that you designed for the TF10120 laser sensor project? Thanks .
@НикитаФинагин-ъ3н
@НикитаФинагин-ъ3н 4 месяца назад
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(
@hazriealkhusyairie7118
@hazriealkhusyairie7118 Год назад
hi i got problem on timer.setInterval(500L, display_measurement); in the coding. can you explain it thanks
@deepadineshnaik7214
@deepadineshnaik7214 2 года назад
What are the main objects used in this model?
@amartripathy9874
@amartripathy9874 Год назад
Cost of total project
@shakerileiwat4341
@shakerileiwat4341 3 года назад
Great ♥
@joemy20tobe
@joemy20tobe Год назад
How much maximum distance it can detect?
@thorgraum1462
@thorgraum1462 Год назад
how accurate can this measure? i need microns
@filmyzone6640
@filmyzone6640 Год назад
How to find water depth using this sensor?
@pauldumoulin1834
@pauldumoulin1834 11 месяцев назад
can the sensor go in the water? I mean is this waterproof ?
@ElectroniClinic
@ElectroniClinic 11 месяцев назад
on backside components are exposed.
@niksfulari9157
@niksfulari9157 Год назад
Hello sir ..can we use it for measurement of spring mass deflection when mass is added to spring
@unknownkingdom
@unknownkingdom 6 месяцев назад
You definitely cannot
@amartripathy9874
@amartripathy9874 Год назад
Can i replace oled & need a graph in pc
@yulmerced4434
@yulmerced4434 2 года назад
How fast it this sensor read distances?
@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.
@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.
@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.
@m.sierra5258
@m.sierra5258 3 года назад
8:50 every single one of those solder points seems cold to me
@Smart-Tech9999
@Smart-Tech9999 3 года назад
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
@gyp_gyp
@gyp_gyp 3 года назад
Can I use Arduino Nano with TOF10120 sensor?
@ElectroniClinic
@ElectroniClinic 3 года назад
yes
@emmanuelabraham9937
@emmanuelabraham9937 3 года назад
your website not available now
@ElectroniClinic
@ElectroniClinic 3 года назад
now online. sorry we had some issues. website is online now
@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 года назад
@@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?
@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
@lyricalworld360
@lyricalworld360 3 года назад
Distance range?
@ElectroniClinic
@ElectroniClinic 3 года назад
1800mm
@lyricalworld360
@lyricalworld360 3 года назад
@@ElectroniClinic thank you❤
@raiahayabusa315
@raiahayabusa315 Год назад
Hi good sir, can you please tell me the Angle Coverage of a TOF10120?
@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 года назад
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 :/
@vjdas6
@vjdas6 11 месяцев назад
I want such product which can attached to mobiles
Далее
Laser vs Ultrasonic - TOF10120 vs. HC-SR04
31:09
Просмотров 185 тыс.
Sensors - which one to use
17:06
Просмотров 1,3 млн
Effective Ways To Detect People With Common Sensors
7:43
Shooting laser to measure distance
7:23
Просмотров 258 тыс.