Bluetooth Connection Error to Arduino Nano 33 BLE Sense

12 次查看(过去 30 天)
I have properly programmed my Arduino Nano 33 BLE Sense for Bluetooth connection using the arduinosetup command with the Arduino connected via COM port. The test connection fails after programming, but the board still shows up when I use blelist and checking for available devices on my labtop. I made sure I have windows 10 and am attempting to use a=arduino("the board address") to connect.

采纳的回答

Stephen Scripp
Stephen Scripp 2023-3-23
The newer versions of MATLAB have an error. Use version 2021b and you should be able to connect to board over Bluetooth.

更多回答(1 个)

Vidip Jain
Vidip Jain 2023-2-22
Hi Stephen, since you're experiencing issues with the test connection, here are some steps that you can follow to troubleshoot the problem:
  1. Make sure that you have the MATLAB Support Package for Arduino Hardware installed. If not, you can download it from the MATLAB Add-Ons page.
  2. In the "Arduino" window, click "Add Board" and select "Arduino Nano 33 BLE" from the list.
  3. Once the correct port is selected, click "Test Connection" to verify that the Arduino is properly connected.
Test with a different device: If you're still unable to connect to your Arduino Nano 33 BLE Sense, try connecting to it from a different device. This will help you determine if the issue is with the device or with your laptop.
  1 个评论
Stephen Scripp
Stephen Scripp 2023-3-23
After strenuous testing, there is a bug in the newer versions of MATLAB to connect to this device. For anyone trying to use the Arduino Nano 33 BLE Sense over Bluetooth, use the 2021b version of MATLAB as the bug is not present here.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Run on Target Hardware 的更多信息

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by