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

    digital write pin issue

    Scheduled Pinned Locked Moved UIFlow
    3 Posts 2 Posters 408 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.
    • G Offline
      gtv-racer
      last edited by

      Hello all,

      I'm want to use a pm25 kit to control my HVAC.

      Everything works fine untill i add a digital write pin.
      Sensors stop reading.

      94f6f469-b47a-4bb1-a817-1dbc30033612-image.png

      What is wrong. I also put in some logic but deleted it to keep it simple. What is wrong with the digital pin? I put the digital pin in another program with a wait in it and cycle from 0 to 1 it just works fine.

      17947ccf-a7ce-42c0-b75e-42344d0c034e-image.png

      robskiR 1 Reply Last reply Reply Quote 0
      • robskiR Offline
        robski @gtv-racer
        last edited by robski

        @gtv-racer said in digital write pin issue:

        pm25 kit

        is pin 18 not used for internal I2C/SPI?

        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ, M5Tab, M5CardputerAdv, M5StackChan

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gtv-racer @robski
          last edited by

          @robski

          You are right. I now use pin 33. All sensors keep updating.
          Now i have to built a relay cirquit for our 230volt net.

          Thanks!

          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