MatrixPortal BLE setup

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Rebtop
 
Posts: 146
Joined: Fri Jan 31, 2020 9:25 pm

MatrixPortal BLE setup

Post by Rebtop »

Both mandatory folders are in LIb.
I am trying to execute the three lines:

from adafruit_ble import BLERadio
ble = BLERadio()
ble.name
_____________________________________________________________________
>>> from adafruit_ble import BLERadio
>>> ble = BLERadio()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "adafruit_ble/__init__.py", line 146, in __init__
RuntimeError: No adapter available
>>> ble.name

If it has something to do with initialize the M4 from WIFI to BLE, I will need an explanation about how to do that.

I installed Bluefruit connect on my Iphone 13, but i cannot get to the point of testing.

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: MatrixPortal BLE setup

Post by dastels »

Start by having a look at https://learn.adafruit.com/adafruit-air ... python-ble. the MatrixPortal is very m,uch like an M4 board (e.g. Feather M4 Express or Metro M4 Express) and an AirLift ESP32 module.

Dave

User avatar
Rebtop
 
Posts: 146
Joined: Fri Jan 31, 2020 9:25 pm

Re: MatrixPortal BLE setup

Post by Rebtop »

Dave

Thanks I did read the info in the link. That is how i got to the point where i am.

I tried upgrading the firmware to the Passthru.UF2 and the M4 stopped working.
A question i have is the comment about putting the board into BLE mode at startup? If this is necessary, how do i do that?

Bob

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: MatrixPortal BLE setup

Post by dastels »

What do you mean by the SAMD51 stopped working? With the passthru installed it allows loading the ESP32 firmware, nothing else. You'll need to reinstall CircuitPython (or whatever) once you've updated the ESP.

Dave

User avatar
Rebtop
 
Posts: 146
Joined: Fri Jan 31, 2020 9:25 pm

Re: MatrixPortal BLE setup

Post by Rebtop »

Dave
OK
I installed the Passthru. i was advised that was not the proper thing to do. I then reloaded MatrixPortal UF2.

Can you please tell me what is the correct procedure to get BLE working on my MatrixPortal M4.
I am still very new to ADAFruit and learning my way around.

Bob

User avatar
Rebtop
 
Posts: 146
Joined: Fri Jan 31, 2020 9:25 pm

Re: MatrixPortal BLE setup

Post by Rebtop »

Dave

This is the advice i read and do not know how to address it.

Ensure the AirLift firmware is version 1.7.1 or higher for BLE to work.

How do i ensure the firmware is 1.7.1 or higher? No further information on how to do this.
My unit is only 4 months old so i am guessing it is.

I update the libraries to 03/30/2022 so i know they are the latest.

What is the next step for me to get this BLE at boot up as i am required to do, per more instructions.

Thanks

User avatar
Rebtop
 
Posts: 146
Joined: Fri Jan 31, 2020 9:25 pm

Re: MatrixPortal BLE setup

Post by Rebtop »

Dave

i have been waiting for a constructive rely.

i am at an impasse.

i you dont know, i understand and will try to get additional help

bob

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”