HOME » Computers & Accessories » Desktop Computers » Server PC » GY-521 MPU-6050 module three-axis acceleration gyroscope 6DOF

GY-521 MPU-6050 module three-axis acceleration gyroscope 6DOF
GY-521 MPU-6050 module three-axis acceleration gyroscope 6DOF1GY-521 MPU-6050 module three-axis acceleration gyroscope 6DOF2GY-521 MPU-6050 module three-axis acceleration gyroscope 6DOF3GY-521 MPU-6050 module three-axis acceleration gyroscope 6DOF4GY-521 MPU-6050 module three-axis acceleration gyroscope 6DOF5

ส่งฟรี เก็บเงินปลายทาง
ฟรีค่าจัดส่ง จัดส่งเร็วภายใน 2-3 วัน
คืนเงิน/คืนสินค้าได้ใน 7วัน

GY-521 MPU-6050 module three-axis acceleration gyroscope 6DOF


รหัสสินค้า : 4556951060

แสดงความคิดเห็น

เก็บโค้ดส่วนลด

ราคา :

65

65฿

ประหยัดทันที  0%

FLASH⚡SALE

จะหมดใน 59:00 นาที


โปรโมชั่น ถึง 1/10/2024

Share :

GY-521 MPU-6050 module three-axis acceleration gyroscope 6DOF

เซนเซอร์ GY-521 หรือ MPU 6050 6-axis สามารถวัดได้ 6 แกน 1. Accelerometer วัดความเร่ง 3 แกน 2. Gyroscope วัดความเร็วเชิงมุม 3 แกนโดยต่อแบบ i2c
Introduction:

MPU-6000 is the worlds first 6-axis motion processing system. Compared to multi-component solutions the MPU-6000 eliminates the problem of axial distinction when gyroscopes and accelerators are combined thus reducing the amount of packaging space.
The MPU-6000 includes a 3-axis gyroscope 3-axis accelerator and includes a digital processor hardware acceleration (DMP) that can be connected to an accelerator magnetic sensor or other sensors via an I2C port. Second the engine from the I2C master port outputs a complete 9-core fusion algorithm to the application as a single data stream.
InvenSenses motion processing database manages complex data for motion detection reduces the load on the operating system for motion processing operations and provides architected APIs for application development.
MPU-6000s speed range of full sensing is 250 500 1000 and 2000 / sec (dps) which tracks fast and slow motion and programmable users can feel the fullness of the measurements. Is 2g 4g 8g and 16g transmission products can be transmitted via I2C up to 400kHz or SPI up to 20MHz.
The MPU-6000 can operate at different voltages with a supply voltage VDD 2.5V 5% 3.0V 5% or 3.3V 5% and the VVDIO logic interface supplies 1.8V 5% MPU-. The 6000 comes in a 4x4x0.9mm package (QFN) and is an industry revolutionary model. Other features include a built-in temperature sensor and an oscillator with only 1% variation in the operating environment.

Characteristics:


1.Chip: MPU-6050
2.Power supply: 3v-5V power
3. Gyroscope: + 250 500 1000 2000 / s
4. Acceleration: 2 4 8 16 g
5.Communication: standard IIC communication agreement.
6. Built-in 16 bit AD converter chip 16 bits of data output.
7.Pin spacing 2.54mm



#include Wire.h
#include math.h
const int MPU=0x68;
int16_t AcXAcYAcZTmpGyXGyYGyZ;
double pitchroll;

void setup(){
Wire.begin();
Wire.beginTransmission(MPU);
Wire.write(0x6B);
Wire.write(0);
Wire.endTransmission(true);
Serial.begin(9600);
}
void loop(){
Wire.beginTransmission(MPU);
Wire.write(0x3B);
Wire.endTransmission(false);
Wire.requestFrom(MPU14true);

int AcXoffAcYoffAcZoffGyXoffGyYoffGyZoff;
int temptoff;
double ttxtf;

//Acceleration data correction
AcXoff = -950;
AcYoff = -300;
AcZoff = 0;

//Temperature correction
toff = -1600;

//Gyro correction
GyXoff = 480;
GyYoff = 170;
GyZoff = 210;

//read accel data
AcX=(Wire.read()8|Wire.read()) + AcXoff;
AcY=(Wire.read()8|Wire.read()) + AcYoff;
AcZ=(Wire.read()8|Wire.read()) + AcYoff;

//read temperature data
temp=(Wire.read()8|Wire.read()) + toff;
tx=temp;
t = tx/340 + 36.53;
tf = (t * 9/5) + 32;

//read gyro data
GyX=(Wire.read()8|Wire.read()) + GyXoff;
GyY=(Wire.read()8|Wire.read()) + GyYoff;
GyZ=(Wire.read()8|Wire.read()) + GyZoff;

//get pitch/roll
getAngle(AcXAcYAcZ);

//send the data out the serial port
Serial.print(Angle: );
Serial.print(Pitch = ); Serial.print(pitch);
Serial.print( | Roll = ); Serial.println(roll);

Serial.print(Temp: );
Serial.print(Temp(F) = ); Serial.print(tf);
Serial.print( | Temp(C) = ); Serial.println(t);

Serial.print(Accelerometer: );
Serial.print(X = ); Serial.print(AcX);
Serial.print( | Y = ); Serial.print(AcY);
Serial.print( | Z = ); Serial.println(AcZ);

Serial.print(Gyroscope: );
Serial.print(X = ); Serial.print(GyX);
Serial.print( | Y = ); Serial.print(GyY);
Serial.print( | Z = ); Serial.println(GyZ);
Serial.println( );
delay(333);
}

//convert the accel data to pitch/roll
void getAngle(int Vxint Vyint Vz) {
double x = Vx;
double y = Vy;
double z = Vz;

pitch = atan(x/sqrt((y*y) + (z*z)));
roll = atan(y/sqrt((x*x) + (z*z)));
//convert radians into degrees
pitch = pitch * (180.0/3.14);
roll = roll * (180.0/3.14) ;
}

ติดต่อ/สอบถาม :

Mobile-Gadgets

ฟิล์มกระจก ฟิล์มไฮโดรเจล ASUS ROG Phone 2 เต็มจอ กาวเต็มแผ่น พร้อมส่ง ฟิล์มกระจก ฟิล์มไฮโดรเจล ASUS ROG Phone 2 เต็มจอ กาวเต็มแผ่น พร้อมส่ง...

฿ 70

49 Share

Wu อะแดปเตอร์สายชาร์จ USB สําหรับ Suunto 9 Spartan Ultra Wu อะแดปเตอร์สายชาร์จ USB สําหรับ Suunto 9 Spartan Ultra...

฿ 176

98 Share

(พร้อมส่งจากไทย) เคส Realme เคสขอบสีหลังด้านกันกล้อง C21y C25y C11(21) 5/5i/6i/C3 C35 9i (พร้อมส่งจากไทย) เคส Realme เคสขอบสีหลังด้านกันกล้อง C21y C25y C11(21)...

฿ 59

59 Share

สายชาร์จ สายชาร์ท สำหรับ นาฬิกา Garmin Approach S62 Data Charging Cable สายชาร์จ สายชาร์ท สำหรับ นาฬิกา Garmin Approach S62 Data Charging Cabl...

฿ 99

99 Share

[Focus] โฟกัสฟิล์มกระจกเต็มจอใส Vivo รุ่น V25 5GT1 5GT1xY11Y12Y15sY17Y95Y93Y91iY22 2022Y35 2022Y1sY16Y22s [Focus] โฟกัสฟิล์มกระจกเต็มจอใส Vivo รุ่น V25 5GT1 5GT1xY11Y12Y15sY17Y...

฿ 99

99 Share

เคสโทรศัพท์ เคส huawei y7a 2021 เคสซิลิโคนนิ่ม ลายหมีสตรอเบอร์รี่ กันกระแทก สําหรับ huawei y7a 2021 YTHSX01 น่ารัก ลายการ์ตูน กันกระแทก เคสโทรศัพท์ เคส huawei y7a 2021 เคสซิลิโคนนิ่ม ลายหมีสตรอเบอร์รี่ กันก...

฿ 105

28 Share

HI-SHIELD Microfiber Wipes 2 pc. ผ้าไมโครไฟเบอร์ 100% HI-SHIELD Microfiber Wipes 2 pc. ผ้าไมโครไฟเบอร์ 100%...

฿ 290

150 Share

เคสโทรศัพท์มือถือแบบนิ่ม TPU ใส กันกระแทก ลายแมงมุม สําหรับ iPhone 15 Pro max 14 promax 13 12 11 XS XR XSMAX 7G SE2020 7 Plus [XF114] เคสโทรศัพท์มือถือแบบนิ่ม TPU ใส กันกระแทก ลายแมงมุม สําหรับ iPhone 15 ...

฿ 160

80 Share

เคสซัมซุงS21 Fe S23 S22 S20 เคส Samsung A23 A24 A04 A03 A54 A53 A52 A51 A50 A20 A30 A02 A10 A12 A13 A14 A21s A32 A34 A71 เคสซัมซุงS21 Fe S23 S22 S20 เคส Samsung A23 A24 A04 A03 A54 A53 A52 A5...

฿ 61

61 Share

Body RealmeC12 บอดี้C12 เคสกลาง+ฝาหลัง Realme C12 บอดี้โทรศัพท์ บอดี้เรียวมี บอดี้เรียวมีC12 แถมชุดไขควง Body RealmeC12 บอดี้C12 เคสกลาง+ฝาหลัง Realme C12 บอดี้โทรศัพท์ บอดี้เ...

฿ 175

175 Share

เคสโทรศัพท์มือถือ ลายการ์ตูนปิกาจูน่ารัก สําหรับ Wiko Power U10 U20 เคสโทรศัพท์มือถือ ลายการ์ตูนปิกาจูน่ารัก สําหรับ Wiko Power U10 U20...

฿ 99

69 Share

เคส infinix hot 8 9 9 Play 10 10 Play 11 Play 10i 10S infinix hot 11 Play เคสโทรศัพท์มือถือ ลายสุนัขน่ารัก สําหรับ gg เคส infinix hot 8 9 9 Play 10 10 Play 11 Play 10i 10S infinix hot 11 P...

฿ 100

49 Share

เคสโทรศัพท์ซิลิโคน TPU แบบนิ่ม ลายดอกไม้ สีเขียว มีขาตั้ง สําหรับ iPhone 14 13 12 11 8 7 6 6s Pro Plus Max X XS | Zj A013 เคสโทรศัพท์ซิลิโคน TPU แบบนิ่ม ลายดอกไม้ สีเขียว มีขาตั้ง สําหรับ iPho...

฿ 71

36 Share

เสาวิทยุสื่อสารยี่ห้อ KENJI CB 245 MHz เสาวิทยุสื่อสารยี่ห้อ KENJI CB 245 MHz...

฿ 250

250 Share

เคสโทรศัพท์มือถือ กันกระแทก ป้องกันกล้อง พร้อมแหวนขาตั้งแม่เหล็ก สําหรับ Oppo Reno8 5G 8Pro Reno 8 Z A57 A77s 2022 4G 5G Reno8Pro เคสโทรศัพท์มือถือ กันกระแทก ป้องกันกล้อง พร้อมแหวนขาตั้งแม่เหล็ก สําหร...

฿ 115

69 Share

ของแท้ เคสโทรศัพท์มือถือ ซิลิโคนนิ่ม TPU ใส กันกระแทก ลาย MOFI สําหรับ Xiaomi Mi 13T Pro 5G Mi13T 5G ของแท้ เคสโทรศัพท์มือถือ ซิลิโคนนิ่ม TPU ใส กันกระแทก ลาย MOFI สําหรับ...

฿ 150

90 Share


หมวดหมู่ที่แนะนำ :

Screen Protectors | Screen Protectors | Selfie Accessories | Mobile Lens | Mobile Flashes Selfie Lights | USB Mobile Fans | Stylus | Phone Grips | Phone Straps Keychains | Memory Cards | Casting Devices | Mobile Pouches | Cables Chargers Converters | USB Mobile Lights | Pocket Wifi | Powerbanks Batteries | Wearable Accessories | Screen Protectors | Cases Covers Skins | Others |