PyBytes + EXT_ANT
-
Good morning
I am currently trying to set the Wifi Antenna as external with the PyBytes config.
I added "wlan_antenna": 1 in the pybytes_config.json.
wlan.antenna() result is 1 but the Pin('P12') give Pin('P12', mode=Pin.IN, pull=None, alt=-1).
As the doc for ext_ant it should be Pin.OUT. Maybe I miss something in the config.Thank you
Br
-
@sylvainm Please tell us:
- which device are you using
- which firmware version
-
-
@sylvainm OK. So P12 should be indeed the antenna switch pin. Can you test the voltage at the Pin?
I recall that there was a bug, causing P12 not set to output mode on init. So you can do that in your code. But that was fixed in Nov. last year:Author: iwahdan88 <islam@pycom.io> Date: Thu Nov 8 18:35:10 2018 +0100 esp32/util: fixed problem in antenna switch in newer esp32 chip models -
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