TF Luna: "Time Of Flight" Distance Measuring Arduino Sensor with I2C

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • TF Luna: "Time Of Flight" Distance Measuring Arduino Sensor with I2C
    This is my 3rd try at gettting one of these laser distance sensors to work with Arduino. Ive tried the TL53LOX and they clain to be 5V tolerant but are not. So Iwas excited to find the TF LUNA from Maker Focus.
    In this video, I'll show you how to connect it to and Arduino Nano via I2c.
    ORIGINAL ARDUINO PARKING ASSISTANT VIDEO: • Arduino Parking Assistant
    *************************************************************************
    Please help support this channel at NO COST TO YOU. If you shop on *Amazon, please use this link: amzn.to/3706t6c *
    *I will get a small commission and it costs you nothing. *
    *************************************************************************
    HEY YOU ABOUT TO POST SOMETHING STUPID:
    Yes, I know my hands are large/fat. It's because of a heart condition I suffer from called Congestive Heart Failure. Here's a link to some information about CHF: cle.clinic/2Td...
    One of the symptoms is that it causes fluid retention, mostly in the hands, feet/ankles, and face..
    -------------------------------------------------------------------------------------------------------------------
    Support learnelectronics:
    Amazon Store:
    If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ amazon.com/shop/learnelectronics
    Patreon:
    Please check out www.patreon.com/learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. Your help is appreciated.
    Paypal:
    Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
    ---------------------------------------------------------------------------------------------------------------------
    Gear I use:
    Multimeter: OWON B33+ amzn.to/3UkTJOo
    Oscilloscope: KIPRIM DS1202 amzn.to/3gfJGMN
    Signal generator: Junctek JDS8080 shorturl.at/ehTZ1
    Component Tester: T7 Multifunction amzn.to/3AYY03v
    Soldering Station: Sealody ???????

Комментарии • 26

  • @warrenking1815
    @warrenking1815 Год назад +4

    Paul, sorry to hear about your problems with pwcway. Everyone is feeling the squeeze and it hurts.

  • @onesandzeros2u
    @onesandzeros2u Год назад +3

    Sorry about the falling out with PCBWay, wishing the best. Take care man.

  • @bblod4896
    @bblod4896 Год назад +1

    It will be interesting to see the parking sensor working. Let Blake backup the car. 😎

  • @Ibrahim-rw4zq
    @Ibrahim-rw4zq Год назад

    Multiplexing output means it can be used for two purposes. On/off mode means IO mode which outputs 0V/3.3V or 3.3V/0V when the distance is less than set threshold distance or greater than threshold respectively. The second mode is IIC mode, that by utilizing the signal on this pin you can judge if the sensor is ready to read the distance packet from the sensor.

  • @memirandawong
    @memirandawong Год назад +1

    The parking sensor sounds interesting.

  • @sirnukesalot24
    @sirnukesalot24 Год назад +1

    Hopefully your next sponsor will be a better fit, and come through for you properly.
    --------------
    Multiplexing output... why wouldn't they just call it "enable"? That way they can use the space to explain to anyone who's new to the I2C protocol that every one of these devices is manufactured to have the same exact I2C address, and they were smart enough to make them so you can easily use more than one in a project.
    You can tell it took me too long to learn how I2C works.

  • @kevinflanigan8653
    @kevinflanigan8653 Год назад

    Pin 6 use is for on/off mode. Description is in the TF Luna product manual:
    6.7 On/off Mode
    On/off mode is designed from those users who only need to detect the existence of an object. TF Luna can start this mode using “Enable/disable on off mode ID_ON_OFF_MODE=0x3B” and then shows result through pin 6. Figure 6 below shows how the mode works when a high level is set to represent an object is detected........

  • @talideon
    @talideon Год назад +1

    That's very sad to hear. Fingers crossed you can find other sponsors to replace them who'll be more reliable.

  • @michaelpadovani9566
    @michaelpadovani9566 Год назад

    Hey Paul, sorry to hear about your dealings with PCB Way. Hope you get the sponsorship issues sorted out. This sounds like a cool sensor, curious, can you see if it will work detecting water level (e.g. like looking inside sump pump pit). Cheers and have a nice weekend!

    • @learnelectronics
      @learnelectronics  Год назад +1

      It works by shining a laser off of an object and timing the return. I think it would work looking down, when the water level raises it will return a smaller number. The output is expressed in cm.

    • @michaelpadovani9566
      @michaelpadovani9566 Год назад

      @@learnelectronics right, that's what i'm curious about, if it will work with water level

    • @sirnukesalot24
      @sirnukesalot24 Год назад +3

      If it still doesn't work properly for whatever reason, maybe just add a pvc pipe and a target that floats.

  • @cattflap1447
    @cattflap1447 Год назад

    I've worked a lot on those ST Time of flight sensors. They are supposed to be run at 2.8v but will run ok at 3.3 which I've always run them at. Wonder if the ones you have are fake or faulty ? Also before you try it for a parking sensor try it in sunlight first, the ST parts are next to useless in sunlight.

  • @waynegram8907
    @waynegram8907 Год назад

    PAUL, make a theory lesson about I2C and why did they make I2C protocol for what reasons to make that protocol

    • @talideon
      @talideon Год назад

      It'd be worth contrasting it with SPI in that case.

    • @waynegram8907
      @waynegram8907 Год назад

      @@talideon yes i agree, what reasons to make an SPI protocol.

  • @frankowalker4662
    @frankowalker4662 Год назад +1

    Cool sensor. Shame that PCB Way is pissing you about.

  • @Dlokey4315
    @Dlokey4315 Год назад

    Total agree

  • @newsogn5148
    @newsogn5148 Год назад

    The other thing about pcbway is it’s kid of expensive compared to others

  • @theclutteredworkbench
    @theclutteredworkbench Год назад +1

    Sorry about the clash with PCBWay. I need to start tinkering with Arduino.

    • @tonysansom
      @tonysansom Год назад

      I wanted to learn about electronics a long time ago. I picked up small bits and pieces but it wasn't until I bought an Arduino starter kit that I really started learning. Now I'm building circuits that I'd never even have dreamt of before. Go for it.

    • @theclutteredworkbench
      @theclutteredworkbench Год назад +1

      @@tonysansom I found my elegoo super starter kit in my electronics stockpile. This weekend, I am going to see what it can do.

  • @merrittderr9708
    @merrittderr9708 Год назад +1

    Maybe reach out to JLCPCB. I have all my boards made there and they are also top quality. They may not have some of the options that PCBWay has, but for most ordinary purposes they make a nice board. They are also less expensive than PCBWay. Shipping costs are steep if you want the boards relatively quickly but that's pretty much the same for all of them. 5 boards for $2 (100mm square max for that price) and $20 for fast shipping.

  • @tonysansom
    @tonysansom Год назад

    Not paying someone you've contracted to promote your services is really self-defeating.

  • @iFlyGood
    @iFlyGood Год назад

    china contract no go brrrr