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

    ExtPort for Core2, two DS18B20 and one Kmeter, pin problem

    Scheduled Pinned Locked Moved General
    2 Posts 1 Posters 2.6k Views
    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.
    • H Offline
      honkkis
      last edited by

      I have Core2 with Extport for Core2. I soldered A port to open connector as it's easier to use with mounting frame than using A connector in Core2. This A-port has Kmeter connected and works well. I have stonatm DS18B20 custom component (https://github.com/stonatm/UiFlow-custom-blocks/tree/master/ds18b20), that requires every DS to have separate pin. I have one DS18B20 connected to Port C, using pin 13 (default).

      Now, the problem is, which port to use for second DS18B20? A-port is used for Kmeter. ESP32 reserves pin 34-39 for "input only" and if I try to use port B, D or E, Core2 gives error on screen. Is it possible to set dip switches in a such manner, that those previously mentioned ports can be used? Or use B port and rewire DS18B20 connector by swapping pins 1 and 2 in Grove-connector, as then pins 26 and 36 will are swapped in port B. Will it work?

      If there's working DS18B20 custom component that allow multiple sensors in single line, can someone link to it, it will work in this use case too.

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • H Offline
        honkkis
        last edited by

        I did rewiring for DS-sensor grove-connector, works perfectly and was easiest.

        1 Reply Last reply Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post