Skip to main content
Associate II
October 30, 2024
Question

I want to acquire sensor data using B-L475E-IOT01A2 (development board)

  • October 30, 2024
  • 5 replies
  • 1968 views

私はB-L475E-IOT01A2(開発ボード)が手元にあります。
B-L475E-IOT01A2に含まれている以下のセンサーを使ってデータを取得をしたいと思っています。
相対湿度と温度の静電容量式デジタルセンサー (HTS221)
高性能3軸磁力計(LIS3MDL)
3D加速度計と3Dジャイロスコープ(LSM6DSL)

これらのセンサーからデータを取得するサンプルプログラムが欲しいです。
最終的にはここで取得したデータをNANOEDGE AI STUDIOで使用する予定です。

Translated by ST community team

I have the B-L475E-IOT01A2 (development board).

I would like to acquire data using the following sensors included in the B-L475E-IOT01A2: Relative humidity and temperature capacitive digital sensor (HTS221) High-performance 3-axis magnetometer (LIS3MDL) 3D accelerometer and 3D gyroscope (LSM6DSL)

I would like a sample program to acquire data from these sensors. I plan to eventually use the data acquired here in NANOEDGE AI STUDIO.

5 replies

mƎALLEm
Technical Moderator
October 30, 2024

Hello @hashimoto_m ,

Please write in English. Thank you for your understanding.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Mike_ST
Technical Moderator
October 30, 2024

Hello,

I have translated to English, and will move the topic to the dedicated sensors section:

"I have the B-L475E-IOT01A2 (development board).

I would like to acquire data using the following sensors included in the B-L475E-IOT01A2: Relative humidity and temperature capacitive digital sensor (HTS221) High-performance 3-axis magnetometer (LIS3MDL) 3D accelerometer and 3D gyroscope (LSM6DSL)

I would like a sample program to acquire data from these sensors. I plan to eventually use the data acquired here in NANOEDGE AI STUDIO."

Andrew Neil
Super User
October 30, 2024

@hashimoto_m for software, go to the B-L475E-IOT01A2 Product Page, and look on the 'Tools & Software' tab:

https://www.st.com/en/evaluation-tools/b-l475e-iot01a.html#tools-software

 

You could also look on the Product Pages for the individual sensors; eg,

https://www.st.com/en/mems-and-sensors/lis3mdl.html#tools-software

https://www.st.com/en/mems-and-sensors/lsm6dsl.html#tools-software

 

In particular, see X-CUBE-MEMS1 and C-DRIVER-MEMS:

https://www.st.com/en/embedded-software/x-cube-mems1.html

https://www.st.com/en/embedded-software/c-driver-mems.html

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate II
November 11, 2024

The problem has been solved. Thank you.

mƎALLEm
Technical Moderator
November 11, 2024

Hello,


@hashimoto_m wrote:

The problem has been solved. Thank you.


Please provide how you did solve it.

If one of the comments above guided you to the right direction, please accept it as solution otherwise provide how you did solve it and accept it as solution.

Thank you.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Andrew Neil
Super User
October 31, 2024
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Peter BENSCH
Technical Moderator
November 22, 2024

@hashimoto_m Please note that HTS221 is already obsolete and LIS3MDL is on NRND (Not Recommended for New Designs). It is not recommended to use these devices for new developments anymore and check possible alternatives.

Regards
/Peter