Arduino LiDAR Quick Start Guide with the TF-Luna

Поділитися
Вставка
  • Опубліковано 2 жов 2024

КОМЕНТАРІ • 84

  • @Nazira-l8y
    @Nazira-l8y 7 місяців тому +1

    Can i work TF-Luna module sensor with Arduino Uno or ESP32? Thanks

  • @alanmusicman3385
    @alanmusicman3385 2 роки тому +5

    Fantastic. LIDAR accuracy at this price point will make a lot of new things possible.

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

      Yeah. I'm really excited to do some more stuff with it.

  • @abdulaziza
    @abdulaziza 11 місяців тому

    Thank you, does it only works in a straight line? Detection profile plz

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

    is it okay for outdoor use? i planned to use it on my drone. Thanks for the video

  • @lostinbizz
    @lostinbizz 8 місяців тому

    i'm working on a tech to detect potholes in water logged roads can this sensor detect the abnormalities below water or in other words can this thing work under water?

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

    if i use arduino uno and tf-luna LIDAR will your code still work?

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

      You will have to tweak it to use software serial since the Uno only has one serial port.... I feel like I gave that option in the code but it's been a little while

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

      @@AnotherMaker Which tweaks may that be?

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

    can you give us the circuit diagram please

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

      Hey. Thanks for watching. I don't have a diagram but I do tell you where to connect the pins at the top of my sketch. github.com/mudmin/AnotherMaker/blob/master/arduino-lidar-tf-luna/arduino-lidar-tf-mini.ino

  • @DeeegerD
    @DeeegerD 11 місяців тому

    Beam width? Beam divergance? Is that info available?

  • @danielevan4564
    @danielevan4564 11 місяців тому

    Ty @AnotherMaker I’m going to try and apply this in the real world… someday. For now I just figured out how to get an electric motor wired up to a switch.

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

    I have connected the TF Luna to my arduino uno and the code can be compiled and uploaded. However when viewing the data monitor I do not get any data recorded. Only 00 00 00 00 00 00 00 00 00.

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

      I've heard that different versions of this have a different wiring pinout. I showed mine in the pic, but your wires could be in the wrong order. You might need to experiment.

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

    what part of the code signals to us that we should be using pins 17 and 16?

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

      oh wait I think I found it, it is
      Serial2.begin(115200); // Initialize TFMPLus device serial port.
      delay(20); // Give port time to initalize
      tfmP.begin(&Serial2); // Initialize device library object and...
      right?

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

    Are there DIY lidar sensors that have a shorter range? I'm looking to make one for a laser engraver. Accuracy of 1mm or less with a range approx. 150mm to (don't care).

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

      Yeah. there are basically every length range

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

    Thank you for this video! I followed it exactly but am having an error issue that reads as follows: Status: HEADER / Data: 00 00 00 00 00 00 00 00. Any ideas on why this would be happening?

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

      I knew there are several different variations of the sensor that have different wiring diagrams. Yours may be different than mine

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

    Many thanks for this well done and informative video. I have a question for you, can I use this sensor to map the surface of wavey water. Which one is better in such application, the ultrasonic or the Lidar?

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

      I do think lidar is the better tech for this but they do make lidar sensors that do more scanning as opposed to a measurement at a specific point

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

    I installed the library but cannot seem to find the folder at all in my directory. Not sure what is happening

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

      Look in your documents folder under documents - arduino - libraries

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

    Hi...Can we use TF Luna lidar in detecting potholes?? If yes...Does it provide results in water stagnated potholes or it will give result only in dry potholes??

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

      You would need some sort of servo to do any sort of pan and tilt. They also do have 2d and 3d models that may be better suited.

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

    since it is a laser, does it work for measuring the water level in a rain barrel?

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

      I would need to check, but since they have an ip67 version that I was thinking of getting, I may have to try that. I will let you know.

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

      I am interested as well

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

      @@AnotherMaker u already have the waterproof sensor? I was thinking to use on of these to replace multiple ir sensors. But its in a cold environment like a fridge. It should shine lengtwise over a.convayorbelt instead of multiple ir sensors sideways

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

      work well

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

    Can you please provide a pinout of the device? The colors of the wires on the cable that came with my unit are different.

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

      I have the pinout and details in my github but this is the image by itself github.com/mudmin/AnotherMaker/blob/master/arduino-lidar-tf-luna/LIDAR-Mega.png

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

      Did you solve your problem with this. I think I have the same issue

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

    can i use this on a samsung phone with the app scanner 3d via usb???

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

      I think you would have a hard time doing that. I think you would have a much easier time connecting it to something like an ESP32 and then using the ESP32 to Bluetooth it to your phone... I wouldn't even begin to know how to do that. Those would be things you'd probably have to Google one at a time

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

      @@AnotherMaker thanks..

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

    Hmm i am thinking about printing and making a spot micro these come in very handy

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

    And when you mount it on a fast servo or stepper motor, the fun REALLY begins! ;)

    • @blaircox1589
      @blaircox1589 10 місяців тому

      No? Why? Using ROS2, there is no reason you can not use this and sweep to create a map. Mount on a slip ring and rotate, it will do the same as commercial unit, just you need to do the work to configure.

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

      @@blaircox1589But can ROS be slow if you need to do multiple publications or subscriptions in one function? It takes time to publish and for the subscriber to respond.

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

    Can you plz share a diagram showing how to connect this with Arduino Nano?

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

      My code here tells you how to hook it to pins 10 and 11 and use software serial github.com/mudmin/AnotherMaker/blob/master/arduino-lidar-tf-luna/arduino-lidar-tf-mini.ino

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

      @@AnotherMaker thank you!

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

    Thanks for the info. Can you describe how to use this with an Arduino Uno? Thanks!

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

      There are comments in the code about using "software serial" to turn on a second "fake" serial port on the uno. I believe it's pins 10 and 11, but I know I mentioned it somewhere in the code that's linked in the description to my github.

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

      @@AnotherMaker I am trying to use this with a Seeeduino XIAO and software serial. I'm using the example that comes with the TFMP library. I get the following output:
      20:05:08.180 -> Status: HEADER
      20:05:08.180 -> Data: FE 59 AD 93 80 2B 08 4B EA
      20:05:09.205 -> Status: HEADER
      20:05:09.205 -> Data: 59 AD 93 80 AE 86 6C A1 FF
      20:05:10.269 -> Status: HEADER
      20:05:10.269 -> Data: E8 59 AD 93 80 2B 08 4B E9
      Any ideas?

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

    almost nice, next time explain where u connected the circuit so we can follow thru

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

      The code I linked to in the description breaks all that down. It lists what pin goes where right at the top.

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

      @@AnotherMaker yeah, can you do this on arduino uno? and only using the hardware serial not integrating software serial please

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

    can it use for water level inside the Tank?

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

      Yes. I think that's actually a common use for them.

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

      @@AnotherMaker if u could make a video for that it will be a big help us,anyway thanks for video

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

    hi, is there any idea to install print.h? i couldn't get the example run smoothly.please get e any idea.

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

      Be sure that 'printf.h' is in the same folder with your sketch.

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

      Hey I was just coming here to get the link the video, but I see you found it :)

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

      @@AnotherMaker appreciate if you could email me the example for this coding.

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

      @@shaebahtv Here is the code that gets pasted in a file called print.h into your sketch folder. github.com/budryerson/TFMini-Plus/blob/master/example/printf.h

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

    lidar able 40m like lidar lite?

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

      I know they make a ton of different versions of that sensor that all differ by distance.

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

    USE OF THAT PRINT F FILE?

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

    Hey! I'm wondering if you could share a video on "How to send 'Hello word!'" Between to arduino's using the LASER module and the LASER Sensor Non-Modulator module.
    I think this would be amazing!

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

      Can you link to the modules?

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

      @@AnotherMaker The second link got remove by big brother 🙄. you would have to add the fallowing. 3 times the twenty-third letter of the English alphabet, 𝘢𝘮𝘢𝘻𝘰𝘯, 𝘊𝘰𝘮𝘦 without the 'e',
      𝘚𝘭𝘢𝘴𝘩 dp 𝘚𝘭𝘢𝘴𝘩 B091GBJLX5. I hope you get to read this and please big brother leave us alone.

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

      @@nikolas8741 Oh so you are talking about the straight up laser sensors that I use in my duck hunt and shooting gallery stuff, right?

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

      @@AnotherMaker yes that one and send messages between two arduinos. Or hook it to a router grab the data from the router then send it over the laser to the computer laser receiver that is conected over Ethernet

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

      @@nikolas8741 This guy does it and gives code. ua-cam.com/video/IEFcJW1R57E/v-deo.html

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

    Great job, can i use this TF-Luna for 3d mapping ?

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

      You would need some type of servo (or robot) to handle your pan and tilt. This one is 1d. They also have 2d and 3d versions.

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

      @@AnotherMaker do you have any code for the servo ?

    • @justinc2633
      @justinc2633 10 місяців тому

      @@yzkwn did you ever do it that would be a very interesting and very difficult project

  • @jstro-hobbytech
    @jstro-hobbytech 2 роки тому

    The cheap arduino thing is useless. I have that ordered and I also have a lidar that has the same range except it has 360 degree range with a built it stm32f throwing tons of data that needs to be parsed haha. I have a long term project that involves spacial data in real time by more than one sensor. Eight now I'm evaluating different 3d data representation solutions. I believe I'm going to end up settling on js and Vulcan or opengl. I don't know java, it's probably the only popular language I'm not fluent in. By fluent I mean can read and follow the logic. I'm probably gonna pull and transform the data, do all the spacial parsing and pass it to simple vector based representation so I can debug. I'd love to get a jetson Xavier for msrp so I'm going to use a pi3 I think and capture the data on my pc and let the 3090 do the heavy lifting. The 3090 was cheaper than a vanilla 6 or 7 year old jetson xavier based on the 9xx nvidia cores. I'd not have bought a new gpu otherwise. Cyberpunk does look awful pretty but it did on the 2080ti I sold during the mining craze. I sold it for a fair, unscalp-like price to buy a new oscilloscope haha

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

      I wouldn't call the arduino thing useless. It definitely depends on how much you need to process. They've offered me a Jetson nano to work with this and some of their other lidar products, but I don't really have time to learn it right now.

    • @jstro-hobbytech
      @jstro-hobbytech 2 роки тому

      @@AnotherMaker that's true. It's what I learned on and donated like ten of them to a kids program. Sorry for nattering on there brother. I'm on a medication that makes me ramble and when it's about our thing I'm worse. None of my friends even know what a jetson nanao is hahaha. I had one ordered back in 2019 and cancelled it like a fool haha

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

    Heya, my LIDAR sensor came in with a 6-pin communication wire. Is there a way I can use it using only normal jumper wires? If so then how?

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

      I'm honestly not sure. There are a lot of variations of this thing apparently. I'm not sure of the other wiring diagrams

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

      @@AnotherMaker Well, thx for replying anyway.

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

      @@AnotherMaker Another question, is there a converter for this? If there is it might be possible to do my project.

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

      @@zhtan1173 I'm not sure, but if you look at the pin labels on mine and the pin labels on yours, I wouldn't be surprised if yours just has an extra pin that you don't need. You could just wire it up according to my code and see what happens. That said, I know they made some that worked on different protocols. So there's a chance mine is rs232 and yours is i2c or something like that. I'm really not sure.