This content is originally created by EEWORLD forum user lxdiyi . If you want to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source.
1. Introduction
X-NUCLEO-IKS01A3 is a motion MEMS and environmental sensor evaluation board system. It is compatible with the Arduino UNO R3 connector layout and features LSM6DSO (3-axis accelerometer + 3-axis gyroscope) , LIS2MDL (3-axis magnetometer) , LIS2DW12 (3-axis accelerometer) , HTS221 (humidity and temperature sensor) , LPS22HH (pressure sensor) , and STTS751 (temperature sensor) . X-NUCLEO-IKS01A3 connects to the STM32 microcontroller via the IC pins, and the default IC port can be changed. All relevant development resources can be downloaded directly from the ST official website: https://www.st.com/zh/ecosystems/x-nucleo-iks01a3.html#resource. Thanks to the help of the forum, I quickly got two development kits after applying (because of work, my review was sent out a lot later, I am very sorry). The actual picture is as follows:
All the evaluation contents and introductions are basically based on the four resources on STMicroelectronics' official website, which can be found in the above link. The main ones are as follows:
1).X-NUCLEO-IKS01A3 Quick Start Guide;
2). X-NUCLEO-IKS01A3 User manual;
3). X-NUCLEO-IKS01A3 SCHEMATIC;
4). Sensor and motion algorithm software expansion for STM32Cube ;
2. Onboard resources
2.1 Board Features and Layout
LSM6DSO: MEMS 3D accelerometer (±2 / ±4 / ±8 / ±16 g) + 3D gyroscope (±125 / ±250 / ±500 / ±1000 / ±2000 dps)
LIS2DW12:MEMS 3D Accelerometer (±2 / ±4 / ±8 / ±16 g)
LIS2MDL:3D Magnetometer (±50 Gauss)
LPS22HH:MEMS Pressure Sensor, 260-1260 hPa Absolute Digital Output Barometer
HTS221:Capacitive Digital Relative Humidity and Temperature
STTS751:Temperature Sensor (-40°C to +125°C)
2.2 Software Architecture
ST provides three levels of software packages: Hal library, Middleware (scenario), and Application (application).
3. Related important information
1). Power supply of the development board
There are 6 sensors on the development board, of which STTS751 is powered by 2.5V, and the other sensors are powered by 1.8V: these are all provided by the LDO on the X-NUCLEO-IKS01A3 board , which brings great convenience to our debugging. We only need to provide 3.3V level for X-NUCLEO-IKS01A3.
There are differences in the voltage levels of the GPIO and sensor pins on the development board: the MCU board is usually 3.3 V or 5V; most of the sensors on the X-NUCLEO-IKS01A3 are 1.8V or 2.5V: Fortunately, the X-NUCLEO-IKS01A3 board provides a level logic conversion chip, so we don't need to worry about this.
2). Selection of rapid test board
The official software package has covered various demonstration projects of sensors. By inserting X-NUCLEO-IKS01A3 into the following four boards, you can use the existing projects in the software package to demonstrate and experience various functions: NUCLEO-F401RE / NUCLEO-L053R8 / NUCLEO-L152RE / NUCLEO-L476RG (reference picture) .
I have the NUCLEO-L476RG development board, so I will choose to use this development board to experience its functions.
3). Schematic matters
---By default, all sensors on the board share one IIC, and you can also adjust JP7/JP8 as needed;
---J2 is the IIC communication port for connecting X-NUCLEO-IKS01A3 and other MCU models;
---JP6 is the sensor interrupt/ready selection pin;
---Sensor IIC Address refer to the figure below (for more information, please refer to official information):
4.Official Demo:
1). Download the software resource packagedownload attach
save to album
2019-8-20 16:56 上传