سلام به دوستان

من سعی کردم این سیستم رو راهندازی کنم . تا حد زیادی هم پیش رفتم اما نتیجه نهایی رو نمتونم بیبینم .

Arduino Playground - MPU-6050

کد:
MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: 184, -484, 14992
temperature: 29.635 degrees Celsius
gyro x,y,z : 367, 220, -812, 

MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: 116, -364, 15056
temperature: 29.635 degrees Celsius
gyro x,y,z : 373, 226, -766, 

MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: 232, -432, 15100
temperature: 29.682 degrees Celsius
gyro x,y,z : 382, 232, -790, 

MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: 280, -468, 15136
temperature: 29.635 degrees Celsius
gyro x,y,z : 368, 211, -820, 

MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: 140, -432, 15108
temperature: 29.588 degrees Celsius
gyro x,y,z : 388, 203, -806, 

MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: 220, -464, 14920
temperature: 29.541 degrees Celsius
gyro x,y,z : 374, 196, -774, 

MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: 172, -440, 15100
temperature: 29.588 degrees Celsius
gyro x,y,z : 363, 200, -769,
دارم و همچنین برای I2c هم


کد:
I2C Scanner
Scanning...
I2C device found at address 0x68  !
done
به همین ترتیب ... اما LED روی MPU-6050 حالت قرمز رو داره که نسبت به نمونه های که کار می کونه به حالت سبز ه ...

البته با سیستم های دیگه هم کامپایل گرفتم اما کار نمی کنه ..... مثل این

Gyroscopes and Accelerometers on a Chip | Geek Mom Projects

مشکل دقیقا نمی دونم کجاست ... دستگاه آنو که کار میکنه و MPU-6050 هم خروجی I2c رو می ده.

تنها چیزی که درست نیست رنگ LED روی MPU-6050 است ... ! که فکر میکنم بعد اپلود کد باید به رنگ سبز در بیاد.

منتظره راهنمایی تون هستم ...