Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    P8 as input always high even if pulled low?

    Scheduled Pinned Locked Moved WiPy 2&3
    wipy 2.0
    7 Posts 2 Posters 1.7k Views 2 Watching
    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.
    • I Offline
      iotmaker
      last edited by

      Ont he Wipy 2.0 I found out yesterday that if i declare pin 8 as input then pull it low.. it will stay high. is this a known problem?

      L 2 Replies Last reply Reply Quote 1
      • L Offline
        livius @iotmaker
        last edited by

        @iotmaker
        What frmware version do you have?

        os.uname()
        

        and do you mean

        p_in = Pin('P8', mode=Pin.IN, pull=Pin.PULL_UP)
        p_in() -- this is high if you wire it to GND?
        

        think about people first, then computers

        1 Reply Last reply Reply Quote 0
        • I Offline
          iotmaker
          last edited by iotmaker

          sysname='WiPy', nodename='WiPy', release='1.6.13.b1', version='v1.8.6-607-g9c8a0e9e on 2017-05-01', machine='WiPy with ESP32')
          
          p_in = Pin('P8', mode=Pin.IN, pull=Pin.PULL_UP)...this will measure 3.3v because is pull up
          

          This is supposed to measure a 0 but it still measure 3.3V.

          p_in = Pin('P8', mode=Pin.IN, pull=Pin.PULL_DOWN)
          
          
          L 1 Reply Last reply Reply Quote 0
          • L Offline
            livius @iotmaker
            last edited by

            @iotmaker
            what about with current firmware?
            `1.7.2.b1'
            i can check it but only in the evening

            think about people first, then computers

            1 Reply Last reply Reply Quote 0
            • L Offline
              livius @iotmaker
              last edited by

              @iotmaker
              I can confirm this issue
              pin P8 is never pulled down

              if we declare it to

              p_in = Pin('P8', mode=Pin.IN, pull=Pin.PULL_DOWN)
              

              it stay high
              but work as input pin if i wire it to GND it go to low but after wire is removed it go back to high.
              can you report this as issue at:
              https://github.com/pycom/pycom-micropython-sigfox/issues

              think about people first, then computers

              I 1 Reply Last reply Reply Quote 0
              • I Offline
                iotmaker @livius
                last edited by

                @livius are you running the up to date firmware on that test?

                thanks for checking the issue...

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  livius @iotmaker
                  last edited by livius

                  @iotmaker
                  yes, current firmware

                  thanks for the report
                  https://github.com/pycom/pycom-micropython-sigfox/issues/19

                  think about people first, then computers

                  1 Reply Last reply Reply Quote 0

                  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
                  • 1 / 1
                  • First post
                    Last post

                  Pycom on Twitter

                  Pycom