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

    [solved] lopy BLE antenna not switching to external

    Scheduled Pinned Locked Moved LoPy
    bluetoohantennable
    5 Posts 2 Posters 1.2k 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.
    • M Offline
      mgarrett
      last edited by jmarcelino

      Hello!!

      I have a lopy system, and the antenna is not switching to external. I have tried:

      bluetooth = Bluetooth(antenna=Bluetooth.EXT_ANT)

      and

      bluetooth.init(antenna=Bluetooth.EXT_ANT)

      both functions run without an error, but the antenna does not switch to external.

      The lopy is attached to a sense board. Thank you in advance!

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @mgarrett
        last edited by jmarcelino

        @mgarrett
        I believe that's been working since 1.17.0.b1
        https://forum.pycom.io/topic/2734/new-firmware-release-v1-17-0-b1-completely-new-lte-class

        Are you running an up-to-date firmware?

        Are you also running WiFi at the same time? If so you'll need to to make sure WiFi is also using the same antenna setting because they share the same RF path and switch.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mgarrett
          last edited by

          Does not seem to be working. I tried to deinit the WLAN

          from network import WLAN
          wlan = WLAN()
          wlan.deinit()

          then tried this:

          from network import WLAN
          wlan = WLAN()
          wlan.antenna(WLAN.EXT_ANT)

          still not switching..

          Im using a LOPY with this revision:

          MicroPython v1.8.6-849-b9d53b40

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jmarcelino @mgarrett
            last edited by

            @mgarrett
            Is this the LoPy or LoPy4?

            May I ask how you know it's not switching?

            1 Reply Last reply Reply Quote 0
            • M Offline
              mgarrett
              last edited by

              I think I have an older version, ill update..

              new firmware fixed the issue!! Thank you for the quick response!

              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