This project utilizes the Xiao ESP32-S3 to collect acceleration data from an MPU9250 sensor. It leverages MQTT for both command control and data transmission.
- Xiao ESP32-S3
- MPU9250 Accelerometer
- MQTT Broker
- esp-idf (v5.2 in my env)
- Python3
- paho-mqtt (v1.6.1 in my env)
-
Setup esp-idf in your local machine
-
Pip install paho-mqtt
-
Clone this repository to your local machine.
-
Setup the configuration in menuconfig
-
Flash the project into Xiao ESP32-S3
idf.py flash
-
Execute python application to collect acceleration data
-
You will see the file in "save" folder.