EquiliSim is a simulation interface designed to visualize sensor data in real time using Unity3D. It allows the representation of an IMU (Inertial Measurement Unit) sensor's pitch and roll angles through a 3D model.
- Real-time data visualization: The simulation updates according to the IMU sensor's pitch and roll values.
- Unity3D Integration: Uses Unity for 3D rendering and animation.
- Serial Communication: Communicates with a microcontroller via a serial port.
- Custom 3D Model: Integrates a model from Mixamo to represent movements dynamically.
- Microcontroller: ESP8266
- IMU Sensor: MPU6050
- Unity3D installed (Download Unity)
- ESP8266 microcontroller with an MPU6050 IMU sensor
- ArduinoIDE or another method for handling serial communication (optional)
# Clone this repository
git clone https://github.com/yourusername/equiliSim.git
cd equiliSim
- Open the Unity project in Unity3D.
- Connect the ESP8266 microcontroller via USB.
- Modify the serial port settings in the script to match your device:
using System.IO.Ports;
SerialPort serialPort = new SerialPort("COM3", 115200);
- Run the Unity simulation to visualize sensor data in real time.
- Start the Unity simulation.
- Ensure the ESP8266 microcontroller is properly sending data from the MPU6050.
- Observe the 3D model adjusting its orientation based on IMU readings.
Contributions are welcome! Feel free to submit pull requests or open issues for improvements.
This project is licensed under the MIT License. See the LICENSE
file for details.
For any inquiries, please contact [email protected] or [email protected].