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

  Переглядів 89,630

Electronic Clinic

Electronic Clinic

3 роки тому

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 UKposts 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 UKposts 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:

КОМЕНТАРІ: 69
@iffahsyamimi9588
@iffahsyamimi9588 3 роки тому
Thank you for the effort in making this video, sir. Great project sir!
@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 !!!
@alexnewton3376
@alexnewton3376 3 роки тому
Good explanation
@tobiasu.juliussen9896
@tobiasu.juliussen9896 2 роки тому
Great video, do you know the laser safety class of the module? Thanks!
@mr.anonymous8410
@mr.anonymous8410 2 роки тому
Hi nice video What is the field of view for this sensor?
@MyMohanty
@MyMohanty Рік тому
Is it possible to get the Two PCBs that you designed for the TF10120 laser sensor project? Thanks .
@electronic7979
@electronic7979 3 роки тому
Very good
@yourevolution7850
@yourevolution7850 Місяць тому
Did you use ultrasonic sensor in crack measuring?
@shakerileiwat4341
@shakerileiwat4341 3 роки тому
Great ♥
@createyourideas6639
@createyourideas6639 3 роки тому
Can I use to make safe distance project
@yupingliao4078
@yupingliao4078 Рік тому
Thank you
@demiurgiac
@demiurgiac 3 роки тому
Very nice work!
@ElectroniClinic
@ElectroniClinic 3 роки тому
Thanks a lot!
@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
@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.
@hazriealkhusyairie7118
@hazriealkhusyairie7118 Рік тому
hi i got problem on timer.setInterval(500L, display_measurement); in the coding. can you explain it thanks
@yulmerced4434
@yulmerced4434 Рік тому
How fast it this sensor read distances?
@deepadineshnaik7214
@deepadineshnaik7214 Рік тому
What are the main objects used in this model?
@amartripathy9874
@amartripathy9874 Рік тому
Can i replace oled & need a graph in pc
@qozia1370
@qozia1370 6 місяців тому
Every amature on UKposts like you is designing pcbs unnecessarily just to shout out to their sponsors! 😂
@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?
@niksfulari9157
@niksfulari9157 Рік тому
Hello sir ..can we use it for measurement of spring mass deflection when mass is added to spring
@unknownkingdom
@unknownkingdom Місяць тому
You definitely cannot
@raiahayabusa315
@raiahayabusa315 9 місяців тому
Hi good sir, can you please tell me the Angle Coverage of a TOF10120?
@amartripathy9874
@amartripathy9874 Рік тому
Cost of total project
@vjdas6
@vjdas6 6 місяців тому
I want such product which can attached to mobiles
@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.
@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 2 місяці тому
hi, i have same problem with you. now, i want to use LiDAR sensor. how about you ? have you solve your problem ?
@giovannimanilardi480
@giovannimanilardi480 2 місяці тому
hi, unfortunately not yet
@m.sierra5258
@m.sierra5258 2 роки тому
8:50 every single one of those solder points seems cold to me
@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.
@pauldumoulin1834
@pauldumoulin1834 5 місяців тому
can the sensor go in the water? I mean is this waterproof ?
@ElectroniClinic
@ElectroniClinic 5 місяців тому
on backside components are exposed.
@gyp_gyp
@gyp_gyp 2 роки тому
Can I use Arduino Nano with TOF10120 sensor?
@ElectroniClinic
@ElectroniClinic 2 роки тому
yes
@chimpofm
@chimpofm Рік тому
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 Рік тому
yes i can.
@ElectroniClinic
@ElectroniClinic Рік тому
how about using it with lora?
@chimpofm
@chimpofm Рік тому
@@ElectroniClinic how about using an existing wireless doorbell and make something to join the toff to the doorbell push button
@chimpofm
@chimpofm Рік тому
@@ElectroniClinic keeping it as small as possible.
@ElectroniClinic
@ElectroniClinic Рік тому
to the doorbell switch, sounds great. you are trying to make contactless doorbell?
@mohamedpedrou2898
@mohamedpedrou2898 2 роки тому
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
@emmanuelabraham9937
@emmanuelabraham9937 3 роки тому
your website not available now
@ElectroniClinic
@ElectroniClinic 3 роки тому
now online. sorry we had some issues. website is online now
@richmondm2960
@richmondm2960 Рік тому
soooooo goooooooddddddddddddddddddddd!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! great great
@ElectroniClinic
@ElectroniClinic Рік тому
thank you sooooooooooooooooo much Sir.
@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.
@ayansaqib8722
@ayansaqib8722 3 роки тому
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
@lyricalworld360
@lyricalworld360 3 роки тому
Distance range?
@ElectroniClinic
@ElectroniClinic 3 роки тому
1800mm
@lyricalworld360
@lyricalworld360 3 роки тому
@@ElectroniClinic thank you❤
@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 роки тому
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 :/
Laser vs Ultrasonic - TOF10120 vs. HC-SR04
31:09
DroneBot Workshop
Переглядів 175 тис.
Sensors - which one to use
17:06
Electronoobs
Переглядів 1,3 млн
Зомби Апокалипсис  часть 1 🤯#shorts
00:29
INNA SERG
Переглядів 3,1 млн
Bro smelt it & passed out 😂 #comedy
00:10
MrTalalaa
Переглядів 6 млн
Laser diode self-mixing: Range-finding and sub-micron vibration measurement
27:46
#203 Best LIDAR Sensors for Makers (Comparison and Test)
16:31
Andreas Spiess
Переглядів 187 тис.
We should use this amazing mechanism that's inside a grasshopper leg
19:19
Shooting laser to measure distance
7:23
nenioc187
Переглядів 256 тис.
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 147 тис.
Arduino Projects - 12 GREAT Ideas for you!!!
9:00
ToP Projects Compilation
Переглядів 328 тис.
Getting Started with LIDAR
47:27
DroneBot Workshop
Переглядів 1,4 млн
Adam Savage Unboxes a Mechanical Marble Run!
19:14
Adam Savage’s Tested
Переглядів 105 тис.
Effective Ways To Detect People With Common Sensors
7:43
Core Electronics
Переглядів 48 тис.
inventor aw - This Device is very helpful ,, you can make at home
6:47
Обзор Nothing ear (3) и ear (a) - ПРОРЫВ за $100
17:34
Обзор Nothing ear (3) и ear (a) - ПРОРЫВ за $100
17:34
Samsung or iPhone
0:19
rishton_vines😇
Переглядів 214 тис.
Photo Changing Replace And Edit Backgrounds 65mn With These 10 Tips
0:53
Irfan AN Tech
Переглядів 260 тис.