Homemade LIDAR sensor with Arduino & Processing

Sdílet
Vložit
  • čas přidán 16. 11. 2019
  • $5 discount for the first 40 to order on www.JLCPCB.com with code “JLCPCBnoob"
    JLCPCB's SMT assembly - Every customer on JLCPCB will get $7 and $8 for free engineering fee for SMT orders
    I always wanted to have an obstacle avoiding robot. I've now made some sort of lidar sensor based on Arduino for that with an infrared distance sensor TOF. I hope you like it.
    ELECTRONOOBS.io: electronoobs.io
    Help my projects on Patreon : / electronoobs
    my Q&A page: electronoobs.io/forum/index.php
    Facebook page: / electronoobs
    Canal en Español: / electronoobs en español
    LINKS
    -------------------------------------
    Tutorial: electronoobs.io/tutorial/48
    Tutorial: electronoobs.com/eng_arduino_...
    Part list: electronoobs.com/eng_arduino_...
    Schematic: electronoobs.com/eng_arduino_...
    Code Arduino: electronoobs.com/eng_arduino_...
    Code Processing: electronoobs.com/eng_arduino_...
    LIDAR case 3D files: electronoobs.com/eng_arduino_...
    PRINTERS FDM
    -------------------------------------
    All printers: bit.ly/2lPkaS7
    Tron X1 (only 89.5€): bit.ly/2kiqpx9
    Coupon: "U363AD0D5558D000"
    Creality Ender 3: bit.ly/2kLbJa7
    Coupon (169.9$): "1J6X3Z40U1"
    Alfawise U30 (145€): bit.ly/2kLtMNr
    Alfawise U20 (236€): bit.ly/2kBYZmi
    Alfawise U50 (181€): bit.ly/2kNSk8m
    Crealitu CR10 (345€): www.banggood.com/custlink/mvK...
    Creality CR20 (363€): www.banggood.com/custlink/KvD...
    TEVO Tarantula Pro (199€): bit.ly/2mcbeGn
    Anycubic MEGA- S (354€): bit.ly/2lSiQh8
    PRINTERS RESIN
    -------------------------------------
    Anycubic Photon SLA (400€): www.banggood.com/custlink/mKD...
    Alfawise W10 SLA (245€): bit.ly/2lOiQPf
    Longer Orange 10 (208€): bit.ly/2mkgCaN
    Like share and subscribe to motivate me. Thank you
    #Arduino
    #lidar
    #homemade
  • Věda a technologie

Komentáře • 198

  • @ELECTRONOOBS
    @ELECTRONOOBS  Před 4 lety +1

    Sign up at ELECTRONOOBS.io: electronoobs.io/
    Follow me on FACEBOOK for more: facebook.com/Electronoobs
    help me on Patreon: www.patreon.com/ELECTRONOOBS

  • @slavisaasus
    @slavisaasus Před 4 lety +58

    Maybe you should have corrected measured distance with relative position of sensor to the center of the spinning disk. Anyway, good job.

  • @LaughingInfidel
    @LaughingInfidel Před 4 lety +24

    You could eliminate the slip ring (which will wear out) by rotating a front-surface mirror instead of the sensor. And you don't need a stepper motor. A slow, geared motor powered by a voltage regulator with an optical sensor detecting its position on every revolution would work as well. Cool project. Next do an up/down left/right scanning version that can make a 3D image!

  • @Alpha_Mods
    @Alpha_Mods Před 4 lety +10

    That device is like a 360-version of the popular arduino ultrasonic radar. Great job :)

  • @davidgoodwin16
    @davidgoodwin16 Před 3 lety +2

    This is a brilliant project - it covers a range of interesting concepts - sending data through a slip ring, etc.

  • @emiliomota2459
    @emiliomota2459 Před 4 lety +2

    Dude i must say that you are one of the greatest electronic channel here in youtube, you have so much passion

  • @manickn6819
    @manickn6819 Před 4 lety +1

    You put out some of the most interesting projects. Thanks for sharing.

  • @user-dg1lf2nb4h
    @user-dg1lf2nb4h Před 4 lety +3

    You are discovered the "slip ring for me,
    thank you from Kazakhstan :)

  • @techbash97
    @techbash97 Před 4 lety +3

    Dude, you're doing a great job. Keep doing whatever you're doing. Loves from Turkey

  • @walidebdelli1046
    @walidebdelli1046 Před 4 lety

    Very well made dude, Thank you for the video.

  • @guru3829
    @guru3829 Před 4 lety +6

    Thank you man I waiting for this

  • @peerappel2012
    @peerappel2012 Před 4 lety

    Amazing unique project! Thank you!

  • @31fishon47
    @31fishon47 Před 4 lety

    This is really awesome. Thanks for the tutorial.

  • @mianjeetech1047
    @mianjeetech1047 Před 4 lety

    Great video and tutorial as always

  • @slimanemosbah
    @slimanemosbah Před 4 lety

    big fan; from Algeria .. Thank you, man, I waiting for this

  • @PhG1961
    @PhG1961 Před 4 lety

    Excellent video ! Just what I need !

  • @MCsCreations
    @MCsCreations Před 4 lety

    Pretty interesting project, dude! Awesome! 😃

  • @gabrielchagas2061
    @gabrielchagas2061 Před 4 lety

    Absolutamente fantástico! Good job!

  • @akthamahmed2171
    @akthamahmed2171 Před 4 lety

    Very nice project you smart and creative.
    Thank you 👍

  • @BrunoSantosN
    @BrunoSantosN Před 4 lety

    Just thank you!!
    I’ve been trying to do this but with no success, so far.

  • @thehackerindustry8165
    @thehackerindustry8165 Před 4 lety

    Thanks for the Video. It's really exciting.

  • @Vikas_Singh_Kushwaha
    @Vikas_Singh_Kushwaha Před 4 lety

    Hell yeah !!!! I had exactly the same comments and design in mind you Did it before 😉

  • @aberateklehaimanot9804

    just fantastic,thanks for sharing.

  • @electronic7979
    @electronic7979 Před 4 lety +1

    Excellent project 👍

  • @mancio92M
    @mancio92M Před 4 lety

    beautiful project

  • @duncanx99
    @duncanx99 Před 4 lety +2

    An interesting idea, despite the inaccuracy of that particular sensor.

  • @user-cs5zh9lu5o
    @user-cs5zh9lu5o Před 6 měsíci

    Thank you so much sir...
    LOVE FROM INDIA ❤❤❤

  • @jamessewell5788
    @jamessewell5788 Před 4 lety +6

    Could try microstepping the stepper motor and only triggering the sensor at each incremented step and only once data is received back, step the motor again . Could easily achieve 3200 data points at the cost of some stop start delay. Cool project👍🏻

  • @r5bc
    @r5bc Před 4 lety

    Worth watching and subscribing

  • @senceryazici
    @senceryazici Před 4 lety +43

    Use another TOF range sensor on the rotating head, symetrically. You’ll gather data faster

    • @AndersJackson
      @AndersJackson Před 4 lety +2

      It looks like there are a place on the rotor for another TOF range sensor on the opposite place for the current sensor.

  • @user-sh5ni
    @user-sh5ni Před 4 lety +1

    Tank you
    Your brother from lebanon

  • @ScienceFunInnovations
    @ScienceFunInnovations Před 4 lety

    Nice project!

  • @waqasahmad5733
    @waqasahmad5733 Před 4 lety

    nice job and great idea

  • @andrejladislavsmith
    @andrejladislavsmith Před 4 lety +2

    I was making one lidar and I recommend you to put everything inside the rotating part and balance it. And also you could make it faster

  • @ranganatennakoon
    @ranganatennakoon Před 4 lety

    this is awesome !!!

  • @gerokatseros
    @gerokatseros Před 4 lety +3

    Wonderful and detailed explanation!!! in some part you mention about better sensors and link in the description ... I didn't find any recomendations somewhere .. what better sensors would you suggest?

  • @iamZairul
    @iamZairul Před 4 lety

    the best.ty for sharing

  • @edslab5383
    @edslab5383 Před 4 lety

    One of the nicer projects I've seen. Please consider make an improved version.

  • @wolfganggosejacob779
    @wolfganggosejacob779 Před 4 lety

    Design looks like a world war I tank :D

  • @aa_nenashev
    @aa_nenashev Před 4 lety

    Pretty good

  • @electric_mix
    @electric_mix Před 4 lety

    Very nice

  • @rohithrao2790
    @rohithrao2790 Před 4 lety +1

    It is nice projects

  • @sciencetech9922
    @sciencetech9922 Před 4 lety

    Very nice tutorial 👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌

  • @aronhighgrove4100
    @aronhighgrove4100 Před 4 lety

    Thanks for the video! 0:17 is not an infrared distance sensor, it is laser-based: "The VL53L0X’s 940 nm VCSEL emitter (Vertical Cavity Surface-Emitting Laser), is totally invisible to the human eye, coupled with internal physical infrared filters."

  • @AJB2K3
    @AJB2K3 Před 4 lety +16

    0:46 getting some frame flicker there

    • @ELECTRONOOBS
      @ELECTRONOOBS  Před 4 lety +4

      WOW. I don't knwo wwhat that is....

    • @panigrc
      @panigrc Před 4 lety +15

      @@ELECTRONOOBS subliminal messaging perhaps in order to buy from jlcpcb ? here is a screenshot of that flicker: i.imgur.com/TNDUpXt.png

    • @Fabsenet
      @Fabsenet Před 4 lety +3

      @@ELECTRONOOBS did you use davinci resolve? I have this also from time to time. Do the usual full restart, avoid browsers and other apps while exporting and clear all caches in davinci. You may also switch some fusion nodes to software processing

    • @AnthonyGoodley
      @AnthonyGoodley Před 4 lety +1

      @@panigrc You stole pretty much the exact comment I planned to leave.

    • @Anastassios
      @Anastassios Před 4 lety

      @@panigrc It's obvious.

  • @GaryMcKinnonUFO
    @GaryMcKinnonUFO Před 4 lety

    Great stuff. A larger diameter rotor would increase resolution.

  • @VideoStefan17
    @VideoStefan17 Před 4 lety

    awesome!!

  • @hamjudo
    @hamjudo Před 4 lety +1

    Important note on the light sensor part number. The one in the video is the VL53L0X, vee ell five three ell Zero ex.
    The confusing part number has both the letter L and the number zero.
    For those who are interested in a slightly faster, and 4 meter range, try the VL53L1X. It needs a different software library, but it can use the same schematic and PCB. For those building their own boards, the VL53L0X runs at 2.7-ish to 2.9-ish. It does not work at 3.3 volts. The VL53L1X works from 2.7 to 3.4 volts.
    For a project that uses 3.3 volts, the 1x doesn't require another voltage regulator and i2c level shifters.
    Some 3.3volt Arduinos work at 2.8 volts. In my experience, USB ports continue to work with 2.8 volt data lines even though it is out of spec. I assume USB has a much lower noise margin and maximum cable length with 2.8 volt data.

  • @UCanDo
    @UCanDo Před 3 lety

    Hello. I always watch your videos with interest.
    Please, tell me in which editor you are making the video. Thank you!

  • @steverichab
    @steverichab Před 4 lety +2

    Great Project Thank you, Where can I find the slip ring?

  • @jaishankarm5920
    @jaishankarm5920 Před 4 lety

    Nice 👍

  • @TOPP3RHARL3Y
    @TOPP3RHARL3Y Před 3 lety

    great video! Thanks! How do you do the visualization? Which Software is it?

  • @Not-C-418
    @Not-C-418 Před 4 lety

    Make a video showing the tools you use it will be cool

  • @siddharthmali5841
    @siddharthmali5841 Před 4 lety

    Awesome ✌️✌️✌️

  • @omprakeshchopra2632
    @omprakeshchopra2632 Před 4 lety +1

    Good

  • @Andreas-gh6is
    @Andreas-gh6is Před 4 lety

    Some more info on the stepup converter would be helpful!

  • @countZ74
    @countZ74 Před 4 lety

    As a building/programming exercise this is great. But there are complete 360° lidars available, for less than 100€, which also have much better specs.

  • @TinLethax
    @TinLethax Před 4 lety +1

    There's the VL53L1X the bro of the L0X you can measure up to 4.5meter in mm !

  • @zachsylvester309
    @zachsylvester309 Před 2 lety

    Instead of counting steps what if you just used time? Since you have a hall effect sensor you could calculate the time the disk takes to rotate. Say we measure one rotation and it takes 5 seconds per rotation. This means that the front will be changing 73 degrees per second. So that means we could do something like f(s)= 73s so if we take a sample at .5 seconds using the time delta since the hall effect sensor has been activated we would get. 36.5 degrees. So depending on how you want your accuracy you can just change your sample rate. But given that the Arduino is having issues with just incrementing a variable maybe this wouldn't help. A raspberry pi pico might be a better fit for this since you could utilize multi-threading. Alternatively, if we know the sample rate we could store the expected angles and times in a dictionary. This would save on having to do the multiplication each time and instead having to look it up from memory. This would look something like this. Say we have a sample rate of once per second we know that our sensor travels 73 degrees per second. so we could say lookup = {1:73, 2:146, 3:219,4:292,5:365} this could then be accessed by the distance function. Obviously, for more accuracy, you would ideally have a larger dictionary with a higher sample rate.

  • @wecksell
    @wecksell Před 4 lety

    Could you use a lens to focus the wide beam and get better accuracy and range?

  • @aronhighgrove4100
    @aronhighgrove4100 Před 4 lety +1

    You mentioned better distance sensors in the links below at 10:28, I couldn't find any in the description nor on your website? What did I miss?

  • @sonwander1
    @sonwander1 Před rokem +1

    Hello! Thanks for the great video. I need a LIDAR sensor to detect when an object trespasses an imaginary line limit. By customizing your project, can I achieve that?

  • @namenameson8353
    @namenameson8353 Před 4 lety

    Nice

  • @notsure6222
    @notsure6222 Před 4 lety

    I've never thought of this until seeing this video, but how do we account for the shape of the spinning head causing "inconsistencies". In the video we see the walls curves, since the spinning head is round, so objects close to it will obviously register close, but if we are scanning a straight wall and we may want to accurately represent the environment. How can we correct this?

  • @Vhbaske
    @Vhbaske Před 4 lety

    My friend, there is a cockroach inside the box! It's a joke. Nice work!

  • @thomasjones145
    @thomasjones145 Před 4 lety +2

    00:46 IT'S UTAH!!!

  • @arjunremesh4027
    @arjunremesh4027 Před 4 lety

    great

  • @01Duke390
    @01Duke390 Před 3 lety

    What sensor on the lidar do you reccomend to use for an autonomous gps robot?

  • @Abu-cb6bj
    @Abu-cb6bj Před 4 lety

    excellent video once again. i have some questions regarding the inverter video you made some time back. how can i reach you? please reply

  • @justintyler4814
    @justintyler4814 Před 2 lety

    If you're the guy in the intro you look like big Jay Oakerson a famous comedian.

  • @ishanneilbhargav7675
    @ishanneilbhargav7675 Před 3 lety +1

    Though it is clear that the sensor will no longer hold the properties of being a LIDAR when an Ultrasonic sensor is used instead of a TOF sensor, will it still work? The only difference will be that u have to play with the speed of light when using the TOF sensor, whereas with the ultrasonic sensor, u gotta play with the spead of sound.

  • @franckalbertfonkouakamdem2895

    Which setup you use in order to show the shape of the obstacles ?

  • @FilmFactry
    @FilmFactry Před 4 lety +1

    Question, Anyway to focus or limit the field of view to be more accurate, like a cone or tube?

  • @sonydedz
    @sonydedz Před 2 lety

    Interesting, can this be applied to measure the water depth in a river

  • @monkeybytegames
    @monkeybytegames Před 4 lety +3

    Banana spotted at 00:12

  • @yasirahmad2515
    @yasirahmad2515 Před 4 lety

    Sir make a video on long range racing quacopter

  • @icebluscorpion
    @icebluscorpion Před 2 lety

    could you make a Automatic 3D scanner out of it if it detects inward instead of outward?

  • @carlosisasmendi4737
    @carlosisasmendi4737 Před 4 lety

    Yo queria hacer uno de esos, ¿cual es el maxima velocidad de giro?

  • @TerribleShmeltingAccident

    sub'd based on the channel name alone.

  • @mentalthink1
    @mentalthink1 Před 4 lety

    Wow very interesting... if you put the sensor in a Z-Axis you can do a 3D Scanner?¿ Scanner Real object and pass to the 3dPrinter (Perhaps using Blender , reading an XML file with all the data from the sensor)

  • @Shubhamjain94
    @Shubhamjain94 Před 4 lety

    You mentioned there are better ToF sensors but haven't given the details. Can you please share them...
    Big fan from India..

  • @kenkaneki-ls3iz
    @kenkaneki-ls3iz Před 4 lety +1

    Notificarion squad

  • @Mr0neShotAway
    @Mr0neShotAway Před 4 lety

    can't find the list for other distance sensors.

  • @dakuoni7510
    @dakuoni7510 Před 3 lety

    Can it go any faster to get faster data/results for faster reactions

  • @omerdurmus2980
    @omerdurmus2980 Před 2 lety

    Hi, I am going to make a LIDAR like yours. I will wrtie LIDAR data to a TXT file. But how will it be inside of the TXT file. What format should the data be written in? Thanks for answer

  • @josephshubin8465
    @josephshubin8465 Před 4 lety

    How do you make 3d models, liking scanning terrain using this?

  • @sahiltrivedi69
    @sahiltrivedi69 Před 4 lety

    Is there any upper limit on the RPM of the stepper motor?

  • @lasersbee
    @lasersbee Před 4 lety

    4:12... What if you used a lens to focus the beam a bit tighter ???

  • @enderoftime2530
    @enderoftime2530 Před 7 měsíci

    Which link is supposed to have the better distance sensors?

  • @destinationsatyug
    @destinationsatyug Před 2 lety

    What application is being used to display lines on monitor.

  • @user-gb7lj9yn1o
    @user-gb7lj9yn1o Před 4 lety

    Погрешность кажется из за неравномерного движения модуля.
    The error seems due to the uneven movement of the module.

  • @jameswiz
    @jameswiz Před 3 lety

    Could you turn this into a 3d mapper for 3d printing object? Like a 3d scanner?

  • @alexismotet9393
    @alexismotet9393 Před 2 lety

    is there a way to buy the rotating support? ty

  • @yvessteven3159
    @yvessteven3159 Před 4 lety

    Can this lidar be used for bathymetric mapping?

  • @samuelebaiano6505
    @samuelebaiano6505 Před 4 lety

    How i can make the "tracking" application?

  • @seguridadlaboral3233
    @seguridadlaboral3233 Před 4 lety

    De que canal sacaste el video?

  • @JohnDuthie
    @JohnDuthie Před 2 lety

    OH MY GODS

  • @billloveless6869
    @billloveless6869 Před 4 lety

    What is the max distance an object can be detected?

  • @subhabratabasu266
    @subhabratabasu266 Před 4 lety

    Can I rotate this in high speed?

  • @michelbrasseur9296
    @michelbrasseur9296 Před 2 lety

    0:45 JLCPB subliminal flash