传感器
R2026b连接到不同传感器读取数据。
使用 Arduino 资源管理器的 Pin Explorer 和 Pin Configuration 窗格,在 MATLAB® 和 MATLAB Online™ 中与传感器对接并可视化来自传感器的数据。
有关安装版 MATLAB 中支持的硬件的完整列表,请参阅Supported Hardware。有关 MATLAB Online 支持的板、工作流和平台的详细信息,请参阅Get Started with MATLAB Online for Arduino。
在“引脚配置”面板中,设置模式,如果需要,还指定标签以唯一标识该引脚。您也可以使用 App 的绘图面板以交互方式查看从 Arduino 板读取的数据。有关详细信息,请参阅 Use Arduino Explorer App。
函数
主题
- Read and Plot Real-Time Data from BNO055 Sensor in NDOF Mode
This example shows you how to read and plot calibrated data from a Bosch Sensortec BNO055 a 9-axis absolute orientation sensor in real time.
- Calibrate BNO055 Sensors
Steps to calibrate the BNO055 sensors.
- Limitations
Limitations when using sensors and GPS receiver.
- Calculate Pitch and Roll on Arduino Using IMU Sensor (Simulink)
This example shows how to read the acceleration and angular velocity data from IMU sensor mounted on Arduino® hardware and calculate the pitch and roll angles.
- Measure LSM9DS1 Sensor Outputs Using Nano 33 BLE Sense
Read data from a LSM9DS1 sensor using Bluetooth®.
- Use Arduino Explorer App
Learn how to use the Arduino Explorer app to configure GPIO pins and communication protocol interfaces and visualize data.
疑难解答
Troubleshoot sensors.


