Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. learly6
    3. Topics
    L
    • Continue chat with learly6
    • Start new chat with learly6
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by learly6

    • L

      MLX 90640 doesn't work when Ultrasonic I2C Range Sensor is also connected (via 1-to-3 Hub Unit)
      Units • • learly6

      2
      0
      Votes
      2
      Posts
      887
      Views

      Hello @learly6 maybe the issue is the I2C clock speed. Looking at each example it seems that the MLX 90640 is setup with 450 kHz (interestingly the comment says 400 kHz) whereas the Ultrasonic Range Sensor is setup with 200 kHz. The MLX datasheet indicates I2C clock speeds of 400 kHz and up. I cannot find a datasheet for the Ultrasonic Range Sensor. I'd double check the I2C frequency and whether both sensors can deal with either 200 kHz or 400 kHz. Another thing to keep in mind are the pull-up resistors. Most (if not all) I2C sensors have built-in pull-up resistors. With each additional sensor the resulting resistance gets smaller as they are all in parallel. Thanks Felix
    • L

      Using Color Sensor TC34725 with Pbhub
      Arduino • • learly6

      9
      0
      Votes
      9
      Posts
      2998
      Views

      Hello @learly6 no, you don't need a softI2C library. The ESP32 in the M5Stack device already takes care of that for you. You can select almost any two pins to be used for I2C. This tutorial explains it quite nicely. Thanks Felix
    • L

      Has anyone found a way to use the IR remote as a distance sensor?
      Modules • • learly6

      1
      0
      Votes
      1
      Posts
      853
      Views

      No one has replied