About this project

Arduino-UE5 enables the transmission of real-time pitch, roll, and yaw data from a BNO055 IMU sensor connected to an ESP32 microcontroller to an actor within Unreal Engine 5. The system utilizes Wi-Fi UDP to broadcast sensor data as JSON packets at approximately 10 Hz. Key technical features include: - Sensor Fusion: Combines accelerometer, gyroscope, and magnetometer data using a complementary filter for stable Euler angles. - Hardware Integration: Supports ESP32 dev boards and Adafruit BNO055 sensors via I2C. - UE5 Integration: Uses the SocketIOClient plugin to receive UDP packets on a specified port (default 3002) and apply the rotation to an in-engine actor. - Data Format: Transmits JSON objects containing the device name and orientation angles in degrees. The repository provides the complete Arduino sketch for the ESP32 and a corresponding Unreal Engine 5 project including the necessary plugins.