[solved] lopy BLE antenna not switching to external
-
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!
-
@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-classAre 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.
-
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
-
@mgarrett
Is this the LoPy or LoPy4?May I ask how you know it's not switching?
-
I think I have an older version, ill update..
new firmware fixed the issue!! Thank you for the quick response!
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