🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to use DS18B20 or NTC10k in Uiflow?

    General
    3
    4
    6.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kris
      last edited by

      How to use DS18B20 or NTC10k in Uiflow?

      1 Reply Last reply Reply Quote 0
      • lukasmaximusL
        lukasmaximus
        last edited by

        Since there are no M5Stack products using these sensors, it is unlikely you will see blocks support for them in UiFlow unless you create it yourself. Therefore your best option is to switch to the micropython tab and follow a tutorial such as this https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/ on how to read from the sensor in micropython.

        1 Reply Last reply Reply Quote 0
        • L
          Lewis-H
          last edited by

          The DS18B20 uses Maxim's exclusive 1-Wire bus protocol that implements bus communication using one control signal. The control line requires a weak pullup resistor since all devices are linked to the bus via a 3-state or open-drain port (the DQ pin in the case of the DS18B20).

          1 Reply Last reply Reply Quote 0
          • K
            Kris
            last edited by

            https://github.com/stonatm/UiFlow-custom-blocks

            1 Reply Last reply Reply Quote 0
            • First post
              Last post