【2024 DigiKey Innovation Competition】Gesture Sensor
[Copy link]
This post was last edited by StreakingJerry on 2024-10-6 22:47
1. Introduction of the Work
The BME280 sensor integrates temperature, humidity, and air pressure, and uses the commonly used I2C for communication, which can support the use of multiple sensors together. I plan to use it as the center and add another dimension to the conventional attitude tracker to increase the height acquisition on the basis of the spatial attitude, so as to achieve a wider range of applications. The main difficulty here is that the height acquisition is calculated by air pressure and temperature, and the data disturbance will be large, so multiple sensors are needed for data fusion, calibration, and filtering to finally achieve effective high-number data. Another point is the realization of the visual display of the host computer.
2. System Block Diagram
3. Functional description of each part
The first part is to obtain quaternion data, which is obtained through the LSM6DSV16X sensor. The performance of this sensor is very powerful. I use the sensor on the XSNUCLEO attitude sensor expansion board, which is very simple to use and can be directly plugged into the board.
As for the BME280, I drew the circuit board myself. The circuit includes voltage stabilization circuit and level conversion circuit, so that both 5V and 3.3V can be adapted.
The order of the four pins is exactly the same as the I2C interface on the upper left corner of the Nucleo development board. Since the power of the module is not high, it is not a problem to use AVDD directly for power supply. In this way, no additional wiring is required, and board-to-board connection is still possible.
4. Source Code
The project code is divided into two parts. The first part is the source code that needs to be uploaded to the Nucleo development board, which is written in Arduino. The second part is the host computer source code that needs to be placed on the Raspberry Pi, which is written in Python.
5. Demonstration video of the work’s functions
236cb2dd7cb63c36ce0dd1242796bee5
6. Project Summary
Through this activity, I tried ways of playing that I had never tried before. It was a very interesting experiment.
|