Simulink Support pkg for Raspberry Pi - reconfiguring SenseHat blocks

2 ビュー (過去 30 日間)
cdlapoin
cdlapoin 2021 年 8 月 21 日
回答済み: Reeno Joseph 2021 年 8 月 26 日
I want to use a different hat (https://ozzmaker.com/berrygps-berrygps-imu-quick-start-guide/) that has very similar devices on board. instead of using a single LSM9DS1 IMU in the SenseHat, the berry-imu uses seperate LSM6DSL Accellerometer and Gyro with a seperate LIS3MDL magnetometer.
they should communicate using the same protocols but may have differenit pin assignments. Is it possible to modify the built-in IMU block or do I need to start over building up from an SPI/I2C block?

回答 (1 件)

Reeno Joseph
Reeno Joseph 2021 年 8 月 26 日
Hi Casey,
You can try either way to create a block for LSM6DSL.
FYI, MATLAB Support package for Raspberry Pi has inbuilt function for the same.

カテゴリ

Help Center および File ExchangeRaspberry Pi Hardware についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by