[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-720550-105":59,"doc-detail-720550-en":130,"doc-similar-720550":162},{"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","adxl345-digital-accelerometer","ADXL345 Digital Accelerometer","","ADXL345 is a digital triple-axis MEMS accelerometer breakout from Analog Devices, supporting both I2C and SPI interfaces. The board includes an on-board 3.3V regulator and logic-level shifting for compatibility with 3V and 5V microcontrollers such as Arduino and Raspberry Pi. Sensitivity ranges of ±2g to ±16g and output data rates from 10Hz to 3200Hz enable slow motion resolution or fast high-speed tracking. The guide explains wiring, library installation, programming, calibration, and includes example workflows for reading motion.",{"@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/adxl345-digital-accelerometer/720550/",{"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/adxl345-digital-accelerometer/720550.png","ImageObject",300,407,{"name":92,"@type":93},"acoobca","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-23","2026-11-18",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What interfaces does the ADXL345 breakout support?","Question",{"text":112,"@type":113},"It supports digital I2C and SPI interfaces via the board’s pins, allowing connection to different microcontrollers.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What sensitivity ranges and output data rates are supported?",{"text":117,"@type":113},"The ADXL345 provides sensitivity ranges from ±2g, ±4g, ±8g to ±16g and supports output data rates from 10Hz to 3200Hz.",{"name":119,"@type":110,"acceptedAnswer":120},"Why is the on-board 3.3V regulator and level shifting useful?",{"text":121,"@type":113},"It lets the board work with both 3V and 5V systems by regulating voltage and translating logic levels, making interfacing easier for microcontrollers like Arduino.","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},720550,1795038174,{"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":29,"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":144,"preview_page_count":19,"preview_urls":145},3985747870733,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","ADXL345 Digital Accelerometer  \nCreated by Bill Earl  \n[https://learn.adafruit.com/adxl345-digital-accelerometer](https://learn.adafruit.com/adxl345-digital-accelerometer)  \nLast updated on 2026-08-26 04:50:13 PM UTC  \n©Adafruit Industries Page 1 of 31  \nTable of Contents  \nOverview 5  \n\n| • How it Works\u003Cbr>Pinouts | 9 |\n| --- | --- |\n| • Power Pins\u003Cbr>• I2C Pins\u003Cbr>• Other Pins\u003Cbr>• LED Jumper\u003Cbr>Assembly and Wiring | 11 |\n| • Assembly\u003Cbr>• I2C Wiring\u003Cbr>Programming and Calibration | 14 |\n| • Install the Library:\u003Cbr>• Test:\u003Cbr>• Calibrate:\u003Cbr>• Gravity as a Calibration Reference\u003Cbr>• Calibration Method:\u003Cbr>• Mount the Sensor:\u003Cbr>• Load the Calibration Sketch:\u003Cbr>• Position the Block:\u003Cbr>• Reposition the Block:\u003Cbr>•\u003Cbr>• Repeat:\u003Cbr>• (Hint:)\u003Cbr>• Calibration Results:\u003Cbr>• Calibration Sketch:\u003Cbr>• Typical Calibration Output: Library Reference | 19 |\n| • Constructor:\u003Cbr>• Initialization()\u003Cbr>• Sensor Details:\u003Cbr>• Getting and Setting the operating range:\u003Cbr>• Getting and Setting the Data Rate:\u003Cbr>• Reading Sensor Events: Python and CircuitPython | 21 |\n| • CircuitPython Microcontroller Wiring\u003Cbr>• Python Computer Wiring\u003Cbr>• Library Installation\u003Cbr>• Python Installation of the ADXL34x Library\u003Cbr>• CircuitPython & Python Usage\u003Cbr>• Full Example Code\u003Cbr>• Motion, Tap and Freefall\u003Cbr>Python Docs | 29 |\n| Downloads | 29 |\n\n• Files  \n• Schematic and Fab Print STEMMA QT Version  \n©Adafruit Industries Page 2 of 31  \n• Schematic and Fab Print Original Version  \n©Adafruit Industries Page 3 of 31  \n©Adafruit Industries Page 4 of 31  \nOverview  \nFilling out Adafruit's accelerometer offerings, we now have the really lovely digital ADXL345 from Analog Devices, a triple-axis accelerometer with digital I2C and SPI interface breakout. We added an on-board 3.3V regulator and logic-level shifting circuitry, making it a perfect choice for interfacing with any 3V or 5V microcontroller such as the Arduino.  \nThe sensor has three axes of measurements, X Y Z, and pins that can be used either as I2C or SPI digital interfacing. You can set the sensitivity level to either +-2g, +-4g,+-8g or +-16g. The lower range gives more resolution for slow movements, the higher range is good for high speed tracking. The ADXL345 is the latest and greatest from Analog Devices, known for their exceptional quality MEMS devices.  \n©Adafruit Industries Page 5 of 31  \nWe added an on-board 3.3V regulator and logic-level shifting circuitry, making it a perfect choice for interfacing with any 3V or 5V microcontroller or computer, such as Arduino or Raspberry Pi.  \nThere are both Arduino (C/C++)  ([https://adafru.it/ZcW](https://adafru.it/ZcW))and CircuitPython (Python 3) libraries ([https://adafru.it/ZcX](https://adafru.it/ZcX)) available, so you can use it with any microcontroller like Arduino, ESP8266, Metro, etc. ([https://adafru.it/Elp](https://adafru.it/Elp)) or with Raspberry Pi or other Linux computers ([https://adafru.it/Yne](https://adafru.it/Yne)) thanks to Blinka (our CircuitPython library support helper) .  \n©Adafruit Industries Page 6 of 31  \nAs if that weren't enough, we've also added SparkFun qwiic ([https://adafru.it/](https://adafru.it/)[ ](https://adafru.it/)Fpw) compatible STEMMA QT ([https://adafru.it/Ft4](https://adafru.it/Ft4)) connectors for the I2C bus so you don't even need to solder. Just wire up to your favorite micro with a plug-and-play cable to get accelerometer data ASAP. For a no-solder experience, just wire up to your favorite micro ([https://adafru.it/Zbo](https://adafru.it/Zbo)) using a STEMMA QT adapter cable. ([https://](https://)[ ](https://)[adafru.it/JnB](adafru.it/JnB))  \nThe Stemma QT connectors also mean the ADXL can be used with our various  \nassociated accessories. ([https://adafru.it/Ft6](https://adafru.it/Ft6)) A QT cable is not included, but we have  \na variety in the shop ([https://adafru.it/17VE](https://adafru.it/17VE))  \nEach order comes with a fully tested and assembled breakout and some header for soldering to a PCB or brea","cbCaiugPGZuHDJ1E","https://ap.wps.com/l/cbCaiugPGZuHDJ1E","pdf",3973653,31,"English","# Overview\n# How it Works\n## MEMS: Micro Electro-Mechanical Systems\n# Pinouts\n# Power Pins\n# Assembly and Wiring\n## Assembly\n## I2C Wiring\n# Programming and Calibration\n## Install the Library\n## Test\n## Calibrate\n## Calibration Results\n## Library Reference\n# Constructor and Sensor Configuration\n## Initialization()\n## Operating Range and Data Rate\n## Reading Sensor Events\n# Python and CircuitPython\n## CircuitPython Microcontroller Wiring\n## Python Computer Wiring\n## Usage and Full Example Code\n# Downloads","[{\"question\":\"What interfaces does the ADXL345 breakout support?\",\"answer\":\"It supports digital I2C and SPI interfaces via the board’s pins, allowing connection to different microcontrollers.\"},{\"question\":\"What sensitivity ranges and output data rates are supported?\",\"answer\":\"The ADXL345 provides sensitivity ranges from ±2g, ±4g, ±8g to ±16g and supports output data rates from 10Hz to 3200Hz.\"},{\"question\":\"Why is the on-board 3.3V regulator and level shifting useful?\",\"answer\":\"It lets the board work with both 3V and 5V systems by regulating voltage and translating logic levels, making interfacing easier for microcontrollers like Arduino.\"}]","ADXL345 Digital Accelerometer | PDF",78,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/fd68cbef811b97c9f565ba2393fdad92.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c269457a2d64a1e0c88416ef9fa5968a.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6a09e228beae678830b4a34f3af7d009.webp",981,1387,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/48bc346a972d1d8ebdcc4cd9a8d23c84.webp",980,1385,{"list":163,"token":66},[164,170,177,183,189,195,201,207,213,219],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":29,"category_name":30,"create_tm":169},720551,"ADXL345 Digital Accelerometer Module - user guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024400163/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=bHrXblxil8tFivTxiiW4%2FQSMcLQ%3D","adxl345-digital-accelerometer-module-user-guide",1795038178,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":30,"create_tm":176},690357,"Adafruit LIS3DH Triple-Axis Accelerometer Breakout - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002631446/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=pGNOgSKC7mntsDv8pH6J7x%2F2EY0%3D","adafruit-lis3dh-triple-axis-accelerometer-breakout-guide",12,1794164631,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":24,"category_name":30,"create_tm":182},720560,"ADXL345 Accelerometer - Technical Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023675292/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=ym6IcR6l8fAHsgbCalI3VKlisW0%3D","adxl345-accelerometer-technical-overview",1795038196,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":24,"category_name":30,"create_tm":188},690358,"LIS3DH: MEMS digital output motion sensor - Application note","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002631454/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=6tQKsj86VZJO3mI0gPuF%2FhvYR4s%3D","lis3dh-mems-digital-output-motion-sensor-application-note",1794164636,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":34,"category_name":30,"create_tm":194},720348,"Arduino Nano  - Overview - Hardware and I/O Specifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024393373/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=maE0trHlxoeMc0YjeTYZj8KHP%2BE%3D","arduino-nano-overview-hardware-and-io-specifications",1795036749,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":29,"category_name":30,"create_tm":200},706487,"2-2 - TFT Display - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230015631679/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=c3BybYwK9t3WPwcnX%2F9TjgPAkYU%3D","2-2-tft-display-overview",1794692972,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":29,"category_name":30,"create_tm":206},700225,"Adafruit STM32F405 Feather Express","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011564446/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=zp3ZcBynIGHeUK7OoEWG6C8zs5o%3D","adafruit-stm32f405-feather-express",1794517354,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":34,"category_name":30,"create_tm":212},720615,"Adafruit 4-Channel ADC Breakouts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023676115/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2F%2BcA3%2BTs4BRhVXI2OacCZzAhJkE%3D","adafruit-4-channel-adc-breakouts",1795038464,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":34,"category_name":30,"create_tm":218},700702,"3.5”480x320 TFT LCD Capacitive Touchscreen - DFR0669 - Product Specifications & Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012033315/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2BDXDVsAW5qRCPnjIQ6T0QQ09eDc%3D","35480x320-tft-lcd-capacitive-touchscreen-dfr0669-product-specifications-tutorial",1794520107,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":34,"category_name":30,"create_tm":224},720588,"MCP4725 12-Bit DAC Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024400689/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=c5YK5t%2FOFJBOe8tT6EnCYcJld14%3D","mcp4725-12-bit-dac-tutorial-720588",1795038320]