This project is designed to read data from multiple MPU6050 IMUs and store the collected values on an SD Card using the ESP32 DEV KIT and Arduino IDE (version 1.8.19). This is part of a OpenSenseRT based project. More details on the main repository and on the other repos .
-
SimpleLoop Tag: The first version of this project, using a single CPU core to process data. The code is simpler but may run slower.
-
RTOS-based Tag: A different version that utilizes one CPU core for reading sensor data and the other for writing to the SD card. This configuration enhances performance, providing a faster frequency.
- Arduino IDE 1.18.19
- ESP32 DEV KIT
- MPU6050 IMUs
- SD Card Module
-
Clone the repository:
git clone https://github.com/Xuxxus/MovementSensoring
-
Open the Arduino IDE and load the project.
-
Configure the Arduino IDE for ESP32 DEV KIT and install any required libraries.
-
Connect the MPU6050 IMUs and SD Card Module to the ESP32 DEV KIT following the provided pin configurations.
-
Choose the appropriate tag (SimpleLoop or RTOS-based) in the Arduino IDE based on your requirements.
-
Upload the code to the ESP32 DEV KIT.
-
Monitor the serial console for debugging information.
If you want to contribute to this project, follow these steps:
-
Fork the repository.
-
Create a new branch for your feature:
git branch feature-name
git checkout feature-name
-
Make your changes and commit them:
git add .
git commit -m 'Add your feature'
-
Push to the branch:
git push origin feature-name
-
Create a pull request. Please, be clear about what you did.
-
OpenSense Data Processing: Main repository for processing data suitable for OpenSense software.
-
PCB Repository: Repository for the PCB used in this project.
Professors Wellington Pinheiro, MSc. and Maria Claudia Castro, PhD. from FEI University Center for their absolute great job on guiding our project.