2024-10-29
06:48 PM
- last edited on
2024-12-04
02:24 AM
by
Lina_DABASINSKA
私は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.
2024-10-29 11:43 PM
Hello @hashimoto_m ,
Please write in English. Thank you for your understanding.
2024-10-30 01:39 AM
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."
2024-10-30 01:42 AM - edited 2024-10-30 01:50 AM
@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
2024-10-31 02:29 AM
2024-11-10 04:07 PM
The problem has been solved. Thank you.
2024-11-11 12:18 AM - edited 2024-11-11 02:45 AM
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.
2024-11-11 04:33 PM
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.
2024-11-12 02:18 AM
@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
2024-11-22 02:37 AM
@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