3021 views|0 replies

171

Posts

0

Resources
The OP
 

Driver transplantation of pedometer bracelet based on F103 and X-NUCLEO-IKS01A3 [Copy link]

 

This porting of the X-NUCLEO-IKS01A3 sensor driver is based on the CORE-STM32F103C8 development board. The driver porting is similar to the previous NUCLEO-STM32L011K4, mainly due to the difference in hardware configuration. The driver porting uses the official en.x-cube-mems1.zip resource package. The sensor functions are enabled one by one through the compilation options, and the enable flag is located in the iks01a3_conf.h file. In order to facilitate data viewing, an OLED display is connected to display the collected sensor data.

With the previous debugging experience of NUCLEO-ST, M32L011K4 and STM8S-DISCOVERY, no abnormalities were found during the debugging process, and it was relatively smooth.

After considering using this CORE-STM32F103C8 as a pedometer bracelet, I made a shape for several boards together.

CORE-STM32F103C8 Development Board

Use CubeMX to configure pin functions and initialization. The main configuration is I2C (PB8, PB9).

Drive HTS221 and collect data.

Drive LPS22HH and collect data.

Drive STTS751 and collect data.

Drive LSM6DSO and collect data.

Drive LIS2DW12 and collect data.

Drive LIS2MDL and collect data.

Attached source code: CORE-STM32F103C8_FOR_X-NUCLEO_IKS01A3-DRIVER.rar (12.68 MB, downloads: 42)

 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list