Simulating motion sensor MPU

guide me?