[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-700686-105":59,"doc-detail-700686-en":130,"doc-similar-700686":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","az-delivery-gy-521-mpu-6050-3-axis-gyroscope-and-acceleration-sensor-module-usage-and-setup-guide","AZ-Delivery GY-521 MPU-6050 3-axis Gyroscope and Acceleration Sensor Module - Usage and Setup Guide","","AZ-Delivery GY-521 MPU-6050 3-axis gyroscope and acceleration sensor module uses the MPU6050 sensor chip combining a 3-axis gyroscope, 3-axis accelerometer, and a digital thermometer. The built-in hardware DMP converts processed sensor data into an Earth-relative position, reducing microcontroller load. The module supports I2C communication, configurable I2C address (0x68/0x69), and selectable full-scale ranges for both motion sensing. Applications include stabilization, gesture and motion control, navigation, and wearable and gaming sensors, with detailed specs, gyroscope/accelerometer feature sets, and pinout guidance.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/az-delivery-gy-521-mpu-6050-3-axis-gyroscope-and-acceleration-sensor-module-usage-and-setup-guide/700686/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/az-delivery-gy-521-mpu-6050-3-axis-gyroscope-and-acceleration-sensor-module-usage-and-setup-guide/700686.png","ImageObject",300,407,{"name":92,"@type":93},"lilac","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-22","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What sensors and processing does the GY-521 (MPU6050) module include?","Question",{"text":112,"@type":113},"It combines a 3-axis gyroscope, a 3-axis accelerometer, and a digital thermometer. It also has a built-in DMP that processes data into a position relative to the Earth.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the module communicate and what I2C addresses are supported?",{"text":117,"@type":113},"The module communicates via I2C using two wires for the protocol plus two power-supply wires. The default I2C address is 0x68, and pulling AD0 low can change it to 0x69.",{"name":119,"@type":110,"acceptedAnswer":120},"What selectable measurement ranges are available for the gyroscope and accelerometer?",{"text":121,"@type":113},"The gyroscope full-scale range is ±250, ±500, ±1000, and ±2000 °/sec, while the accelerometer full-scale range is ±2g, ±4g, ±8g, and ±16g.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},700686,1794520008,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":26,"preview_page_count":19,"preview_urls":144},3985747861865,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Welcome!  \nThank you for purchasing our AZ-Delivery GY-521 MPU-6050 3-axis Gyroscope and Acceleration sensor module . On the following pages, you will be introduced to how to use and set-up this handy device.  \nHave fun!  \nTable of Contents  \nIntroduction....................................................................................................3  \nSpecifications................................................................................................4  \nFeatures........................................................................................................5  \nGyroscope Features..................................................................................5  \nAccelerometer Features.............................................................................6  \nThe pinout.....................................................................................................7  \nHow to set-up Arduino IDE............................................................................8  \nHow to set-up the Raspberry Pi and Python ............................................... 12  \nConnecting the module with Uno................................................................. 13  \nSketch example....................................................................................... 14  \nConnecting the module with Raspberry Pi..................................................18  \nLibrary and tools for Python..................................................................... 19  \nEnabling the I2C interface........................................................................20  \nPython script............................................................................................22  \nIntroduction  \nThe GY-521 is a module based on MPU6050 sensor chip which is a system that combines a 3-axis gyroscope, a 3-axis accelerometer and a digital thermometer. Its special feature is the built-in hardware DMP (Digital Motion Processor) unit, which facilitates the conversion of processed data from all three sensors to a specific position relative to the Earth, thus relieving the microcontroller. The DMP unit can be programmed to also use an external magnetometer for its calculations.  \nThe MPU6050 features three 16-bit analog-to-digital converters (ADCs) for digitizing the gyroscope outputs and three 16-bit ADCs for digitizing the accelerometer outputs. For precision tracking of both fast and slow motions, the parts feature a user-programmable gyroscope full-scale range of ±250,±500, ±1000, and ±2000°/sec (dps) and a user-programmable accelerometer full-scale range of ±2g, ±4g, ±8g, and ±16g.  \nThe module has various applications such as Video/Still Image Stabilization, Security/Authentication, “no touch” UI Application Control/Navigation, technology (for Gesture Short-cuts) Motion-enabled game and application framework, gesture recognition, Location based services, Handset and portable gaming, Motion-based game controllers, 3D remote controls for Internet connected DTVs and set top boxes, 3D mice, wearable sensors for health, fitness and sports, Toys, etc.  \nSpecifications  \n\n| Operating input voltage` | 3V to 5V |\n| --- | --- |\n| Operating current | 4mA ( max.) |\n| Gyroscope operating current | 3.6mA |\n| Accelerometer operating current | 500µA |\n| Gyroscope range: | +/-250 500 1000 2000 degree/sec |\n| Acceleration range | +/-2g, +/-4g, +/-8g, +/-16g |\n| Communication interface | I2C |\n| G-Force tolerance | 10,000g (up to 0 .2ms) |\n| ADC Internal converter | 16bit (high precision) |\n| Operating temperature range | -40 to +105℃ |\n| Dimensions | 34x 16x10 mm (1 .3x0 .6x0 .4in) |\n\nThe module communicates through I2C protocol and it uses only two wires. Additional two wires are for power supply.  \nThe default I2C address is 0x68 . By setting the AD0 pin to low, the modules I2C address can be changed to 0x69 which allows other devices to be connected with the I2C protocol.  \nFeatures  \nGyroscope Features  \nThe triple-axis MEMS ","cbCaibSXf7NywTc4","https://ap.wps.com/l/cbCaibSXf7NywTc4","pdf",1178305,24,"English","# Introduction\n# Specifications\n# Features\n## Gyroscope Features\n## Accelerometer Features\n# The pinout\n# How to set-up Arduino IDE\n# How to set-up the Raspberry Pi and Python\n# Connecting the module with Uno\n# Sketch example\n# Connecting the module with Raspberry Pi\n# Library and tools for Python\n# Enabling the I2C interface\n# Python script","[{\"question\":\"What sensors and processing does the GY-521 (MPU6050) module include?\",\"answer\":\"It combines a 3-axis gyroscope, a 3-axis accelerometer, and a digital thermometer. It also has a built-in DMP that processes data into a position relative to the Earth.\"},{\"question\":\"How does the module communicate and what I2C addresses are supported?\",\"answer\":\"The module communicates via I2C using two wires for the protocol plus two power-supply wires. The default I2C address is 0x68, and pulling AD0 low can change it to 0x69.\"},{\"question\":\"What selectable measurement ranges are available for the gyroscope and accelerometer?\",\"answer\":\"The gyroscope full-scale range is ±250, ±500, ±1000, and ±2000 °/sec, while the accelerometer full-scale range is ±2g, ±4g, ±8g, and ±16g.\"}]","AZ-Delivery GY-521 MPU-6050 3-axis Gyroscope and Acceleration Sensor Module - Usage and Setup Guide | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/8c9df91077a88139c141874fe97bde27.webp",983,1389,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/2a4d0c6bfdda040d7bf3dc59c8ecfde4.webp",982,1388,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/b91304ffe812b4461943ac9d8dc13e67.webp",981,1386,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f1480da60bb6e264472a2b2742ec43f5.webp",980,1385,{"list":162,"token":66},[163,169,175,181,187,193,199,205,211,218],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":24,"category_name":30,"create_tm":168},700688,"MPU6050 Accelerometer + Gyro Module - User Guide - Arduino Setup","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012032938/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=Txq1p3Jx7JLgu5TxBbELEllIeQ0%3D","mpu6050-accelerometer-gyro-module-user-guide-arduino-setup",1794520010,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":34,"category_name":30,"create_tm":174},700684,"MPU-6000 and MPU-6050 Product Specification - Revision 3-4 - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012032913/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=ZILLwmJLONcLHWXM8jKpqzgPcl0%3D","mpu-6000-and-mpu-6050-product-specification-revision-3-4-overview",1794520004,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":24,"category_name":30,"create_tm":180},700687,"Arduino Playground-MPU-6050 - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011569104/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=zycCtrPdZ1VA4bc8dga6zhx66iw%3D","arduino-playground-mpu-6050-introduction",1794520009,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":24,"category_name":30,"create_tm":186},720570,"MPU-9250 Product Specification - MotionTracking Device","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024400275/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=88PQtC0chu9W3pjgvVdz2FYBYgM%3D","mpu-9250-product-specification-motiontracking-device",1795038218,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":19,"category_name":30,"create_tm":192},700683,"MPU-6000 and MPU-6050 - Register Map and Descriptions - Revision 4.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011569048/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=Nnieliv4TnVJzJeItrOPwav%2BF9A%3D","mpu-6000-and-mpu-6050-register-map-and-descriptions-revision-40",1794519974,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":19,"category_name":30,"create_tm":198},720567,"Grove - IMU 10DOF v2.0 - Hardware Specifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023675345/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=PxK%2FvnNcDt5VEtgfUBxW%2F0cgKm8%3D","grove-imu-10dof-v20-hardware-specifications",1795038211,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":24,"category_name":30,"create_tm":204},690371,"ICM-42607-P Highlights - Sensor Overview - Product Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002631883/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=i2F4mcw8TsKTlEza48Y8%2FtUzug4%3D","icm-42607-p-highlights-sensor-overview-product-features",1794164740,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":19,"category_name":30,"create_tm":210},720568,"MPU-9255 Product Specification - Document","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023675353/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=pg6NNCaB%2Fp8xBlrUhPPL9C59JTk%3D","mpu-9255-product-specification-document",1795038212,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":30,"create_tm":217},690368,"ICM-42688-P Datasheet - High Precision 6-Axis MEMS MotionTrackingTM Device","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002631854/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=Ofkfy%2BFMfGDUrtYFa5yQxlS0PUY%3D","icm-42688-p-datasheet-high-precision-6-axis-mems-motiontrackingtm-device",12,1794164731,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":24,"category_name":30,"create_tm":223},720561,"MPU-9250 Product Specification - Revision 1.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024400222/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=Hc%2BXWVKyT3e%2By%2FrUEEWaXNBBzw4%3D","mpu-9250-product-specification-revision-10",1795038197]