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

Поделиться
HTML-код
  • Опубликовано: 18 дек 2024

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

  • @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.

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

    The parking sensor sounds interesting.

  • @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.

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

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

  • @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........

  • @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.

  • @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.

  • @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.

  • @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.

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

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

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

    Total agree

  • @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.

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

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

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

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

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

    china contract no go brrrr

  • @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.