cancel
Showing results for 
Search instead for 
Did you mean: 

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

hashimoto_m
Associate III

私は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.

9 REPLIES 9
SofLit
ST Employee

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
ST Employee

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."

@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

 

 

The problem has been solved. Thank you.

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.

I solved the problem by following the instructions in the link below. (HTS221 only)
Some modifications were required for HTS221, but the project was able to run with simple modifications.
https://www.st.com/resource/en/design_tip/dt0141-how-to-import-stmemsstandardcdrivers-in-an-stm32cubeide-project--stmicroelectronics.pdf

Thank you.


@hashimoto_m wrote:

Some modifications were required for HTS221,.


For the benefit of future readers, please share what modifications were required.

Then please mark that as the solution:

https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256

Peter BENSCH
ST Employee

@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

In order 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.