[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-690359-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-690359-en":130,"doc-similar-690359":154},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","grove-3-axis-digital-accelerometer-lis3dhtr-overview-hardware-and-example-code","Grove-3-Axis Digital Accelerometer (LIS3DHTR) - Overview - Hardware and Example Code","","Grove-3-Axis Digital Accelerometer (LIS3DHTR) is a low-cost 3-axis accelerometer for Grove setups, built around the LIS3DHTR chip. It supports multiple measurement ranges and offers flexible connectivity options including Grove I2C, SPI, and ADC GPIO interfaces. The module also monitors surrounding temperature to help tune temperature-induced error. Documentation includes key specifications such as power supply, default I2C address, and SPI/CS setup, plus getting-started steps with Seeeduino XIAO and Raspberry Pi using serial output and library-based code.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/grove-3-axis-digital-accelerometer-lis3dhtr-overview-hardware-and-example-code/690359/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/grove-3-axis-digital-accelerometer-lis3dhtr-overview-hardware-and-example-code/690359.png","ImageObject",300,407,{"name":42,"@type":43},"Dewi_Sukmawati","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-28","2026-11-08",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What interfaces can the LIS3DHTR Grove accelerometer use to connect to a development board?","Question",{"text":63,"@type":64},"It supports Grove I2C, SPI, and ADC GPIO interfaces, so you can choose the connection method that matches your platform.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What is the default I2C address and how can it be changed?",{"text":68,"@type":64},"The default I2C address is 0x19. It can be changed to 0x18 when the SDO pin is connected to GND.",{"name":70,"@type":61,"acceptedAnswer":71},"How does the accelerometer help reduce errors related to temperature?",{"text":72,"@type":64},"It can monitor surrounding temperature and use that information to tune the error caused by temperature variations.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},690359,1794164675,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":26,"preview_urls":145},962094243415,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Grove-3-Axis Digital Accel erometer ( LIS3DHTR)  \nGrove-3-Axis Digital Accelerometer(LIS3DHTR) is a low-cost 3-Axis accelerometer in a bundle of Grove products. It is based on the LIS3DHTR chip which provides multiple ranges and interfaces  \nselection. You can never believe that such a tiny 3-Axis  \naccelerometer can support I2C, SPI, and ADC GPIO interfaces,  \n[https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 1/15](https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 1/15)  \nwhich means you can choose any way to connect with your development board. Besides, this accelerometer can also monitor the surrounding temperature to tune the error caused by it.  \n[ [https://www.seeedstudio.com/Grove-](https://www.seeedstudio.com/Grove-)  \n3-Axis-Digital-Accelerometer-LIS3DHTR-p-4533.html]  \nFeatures  \n Measurement range: ±2g, ±4g, ±8g, ±16g, multiple ranges selection.  \n Multiple interfaces option: Grove I2C interface, SPI interface, ADC interface.  \n Temperature adjustable: able to adjust and tune the error caused by temperature.  \n ⅗V power supply.  \nSpeci¦ cation  \n[https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 2/15](https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 2/15)  \n\n| Item | Value |\n| --- | --- |\n| Power Supply | ⅗V |\n| Interfaces | I2C/SPI/GPIO ADC |\n| I2C address | Default 0x19, can be changed to 0x18 when connecting SDO Pin with GND |\n| ADC GPIO\u003Cbr>Power input | 0-3.3V |\n| Interruption | An interruption Pin reserved |\n| SPI Mode set up | Connect the CS Pin with GND |\n\nPlatform Supported  \n\n|  |  | Arduino | Raspberry Pi |\n| --- | --- | --- | --- |\n|  |  | | |\n|  |  |  |  |\n| \u003Cbr>|  |  |  |\n\nGetting Started  \nPlay with Seeeduino XIAO based on Grove I2C interface  \n[https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 3/15](https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 3/15)  \nMaterials Required  \nSeeeduino XIAO Grove Breadboard  \nGet one now  \n[ [https://www.seeedstudio.com/Seeeduino](https://www.seeedstudio.com/Seeeduino)XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html]  \nGet one now  \n[ [https://www.seeedstudio.com/Grov](https://www.seeedstudio.com/Grov)[ ](https://www.seeedstudio.com/Grov)[Breadboard-p-4034](Breadboard-p-4034) . html]  \nHardware connection  \n[https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 4/15](https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 4/15)  \nConnect the Grove-3-Axis Digital Accelerometer (LIS3DHTR) with Seeeduino XIAO's I2C interface.  \nSoftware Code  \n1 // This example use I2C .  \n2 \\#include \"LIS3DHTR .h \"  \n3 \\#include \u003CWire .h>  \n4 LIS3DHTR\u003CTwoWire> LIS; //IIC  \n5 \\#define WIRE Wire 6  \n7 void setup() 8 {  \n9 Serial.begin ( 115200) ;  \n10 while (!Serial) 11 {  \n12 } ;  \n13 LIS .begin (WIRE ,0x19) ; //IIC init  \n14 //LIS .begin (0x19);  \n􀃅  \n[https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 5/15](https://wiki.seeedstudio.com/Grove-3-Axis-Digital-Accelerometer-LIS3DHTR/ 5/15)  \n15 LIS .openTemp(); //If ADC3 is used, the temperature det  \n16 // LIS .closeTemp();//default  \n17 delay( 100) ;  \n18 LIS .setFullScaleRange( LIS3DHTR_RANGE_ 2G) ;  \n19 // LIS .setFullScaleRange( LIS3DHTR_RANGE_4G);  \n20 // LIS .setFullScaleRange( LIS3DHTR_RANGE_ 8G);  \n21 // LIS .setFullScaleRange( LIS3DHTR_RANGE_ 16G);  \n22 // LIS .setOutputDataRate( LIS3DHTR_DATARATE_ 1HZ);  \n23 // LIS .setOutputDataRate( LIS3DHTR_DATARATE_ 10HZ);  \n24 // LIS .setOutputDataRate( LIS3DHTR_DATARATE_ 25HZ);  \n25 LIS .setOutputDataRate( LIS3DHTR_DATARATE_ 50HZ) ;  \n26 // LIS .setOutputDataRate( LIS3DHTR_DATARATE_ 100HZ);  \n27 // LIS .setOutputDataRate( LIS3DHTR_DATARATE_ 200HZ);  \n28 // LIS .setOutputDataRate( LIS3DHTR_DATARATE_1_ 6KHZ);  \n29 // LIS .setOutputDataRate( LIS3DHTR_DATARATE_ 5KHZ); 30 }  \n31 void loop() 32 {  \n33 if (!LIS) 34 {  \n35 Serial.println ( \" LIS3DHTR didn 't connect . \" ) ;  \n36 whil","cbCaivT5n1Fr3UEx","https://ap.wps.com/l/cbCaivT5n1Fr3UEx","pdf",5766768,15,"English","# Features\n# Specifications\n# Platform Supported\n# Getting Started\n## Play with Seeeduino XIAO (Grove I2C)\n## Play with Raspberry Pi","[{\"question\":\"What interfaces can the LIS3DHTR Grove accelerometer use to connect to a development board?\",\"answer\":\"It supports Grove I2C, SPI, and ADC GPIO interfaces, so you can choose the connection method that matches your platform.\"},{\"question\":\"What is the default I2C address and how can it be changed?\",\"answer\":\"The default I2C address is 0x19. It can be changed to 0x18 when the SDO pin is connected to GND.\"},{\"question\":\"How does the accelerometer help reduce errors related to temperature?\",\"answer\":\"It can monitor surrounding temperature and use that information to tune the error caused by temperature variations.\"}]","Grove-3-Axis Digital Accelerometer (LIS3DHTR) - Overview - Hardware and Example Code | PDF",38,[146,150],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/92cf4a974c18f29ae19c872dd5505902.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/6bac59f9d31ed9162c1169f8ee549f52.webp",982,1389,{"list":155,"token":11},[156,162,168,175,181,187,194,200,206,212],{"doc_id":157,"doc_title":158,"file_type":137,"home_preview_img_url":159,"slug":160,"view_count":97,"category_name":29,"create_tm":161},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=1796110379&Signature=dCfdJT2FxuPRkCgtQkUVW%2Fi3H14%3D","mpu-9250-product-specification-motiontracking-device",1795038218,{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":97,"category_name":29,"create_tm":167},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=1796110379&Signature=TyXlfA%2FyMN6xky9PcAuvkjnrXnc%3D","icm-42607-p-highlights-sensor-overview-product-features",1794164740,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":173,"category_name":29,"create_tm":174},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=1796110379&Signature=aCfFO4UxTHATi8ivOIp6QumDj5g%3D","icm-42688-p-datasheet-high-precision-6-axis-mems-motiontrackingtm-device",12,1794164731,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":97,"category_name":29,"create_tm":180},720614,"Grove - 4 Channel 16-bit ADC(ADS1115) - Hardware Introduction - Software Example","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023676091/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=kVctyCiH3HF4xKCN9sD0HanVg58%3D","grove-4-channel-16-bit-adcads1115-hardware-introduction-software-example",1795038464,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":55,"category_name":29,"create_tm":186},720550,"ADXL345 Digital Accelerometer","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023675277/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=exB1G9FyKjui7SyvFnqG8gi9yG8%3D","adxl345-digital-accelerometer",1795038174,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":192,"category_name":29,"create_tm":193},689858,"XIAO RP2040 - Powerful MCU, GPIO, Interfaces and Example Functions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002159951/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=R18%2BADHP5K1hp88iNiu%2Fsw3JeFI%3D","xiao-rp2040-powerful-mcu-gpio-interfaces-and-example-functions",11,1794129633,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":105,"category_name":29,"create_tm":199},692097,"LSM6DSOX, ISM330DHC, and LSM6DSO32 6 DoF IMUs - Overview, Specs, and Pinouts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002896903/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=WXG7FMqKKQwHK%2BjHTFSr8vW6SpE%3D","lsm6dsox-ism330dhc-and-lsm6dso32-6-dof-imus-overview-specs-and-pinouts",1794178605,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":173,"category_name":29,"create_tm":205},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=1796110379&Signature=GBaQDYywwlEO9UWWMH1Ne1os%2FvE%3D","adafruit-lis3dh-triple-axis-accelerometer-breakout-guide",1794164631,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":55,"category_name":29,"create_tm":211},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=1796110379&Signature=5MrHbZVwPL6wLTShBvMpBS8M%2FQM%3D","adxl345-digital-accelerometer-module-user-guide",1795038178,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":33,"category_name":29,"create_tm":217},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=1796110379&Signature=KiSxG2Cl2r231ChL%2Bv6ySX%2BDsNc%3D","grove-imu-10dof-v20-hardware-specifications",1795038211]