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

    WiPy P12 antenna select pin

    Scheduled Pinned Locked Moved WiPy 2&3
    p12wifiantennawipy 3.0
    4 Posts 2 Posters 744 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.
    • J Offline
      jmpratt
      last edited by

      How do you use this pin to select an external antenna?

      When I use this pin as a GPIO output, it turns off the internal WIFI antenna.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        Sympatron @jmpratt
        last edited by

        @jmpratt said in WiPy P12 antenna select pin:

        How do you use this pin to select an external antenna?

        When I use this pin as a GPIO output, it turns off the internal WIFI antenna.

        Exactly. You answered your own question. When P12 is pulled high the internal antenna is disconnected and instead the external antenna is connected.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jmpratt @Sympatron
          last edited by

          @sympatron
          Is there a way to disable that functionality? Otherwise, that pin is unusable if you want you use the internal WIFI antenna.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            Sympatron @jmpratt
            last edited by

            @jmpratt I don't think so, because the pin is hardwired to the antenna switch internally. This has been a problem for us, too.

            I would advise against using P12 for anything anyway, because it also selects the boot mode. Therefore it will force the device into safe boot if P12 is for some reason high while it is booting.

            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