[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-720491-105":59,"doc-detail-720491-en":130,"doc-similar-720491":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","gravity-i2c-digital-wattmeter-arduino-tutorial-sen0291","Gravity - I2C Digital Wattmeter - Arduino Tutorial - SEN0291","","Gravity: I2C Digital Wattmeter is a high-resolution, high-precision measurement module for voltage, current, and power in electronic modules and equipment within 26V 8A, supporting bidirectional high-side current measurement. It uses the TI INA219 monitoring chip with a low-drift 10mΩ sampling resistor and provides 4 configurable I2C addresses via a 2P DIP switch. The document details key features, specifications, application scenarios, and Arduino UNO wiring, library setup, and current calibration steps for achieving up to ±0.2% error.",{"@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/gravity-i2c-digital-wattmeter-arduino-tutorial-sen0291/720491/",{"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/gravity-i2c-digital-wattmeter-arduino-tutorial-sen0291/720491.png","ImageObject",300,407,{"name":92,"@type":93},"Fahsai","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28","2026-11-18",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What can the Gravity I2C Digital Wattmeter measure, and what are its key ranges?","Question",{"text":112,"@type":113},"It measures voltage, current, and power, supporting up to 26V and bidirectional current up to ±8A. Power range is 0~206W with stated resolutions for hardware and software.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How many I2C addresses does the module support and how are they configured?",{"text":117,"@type":113},"It provides four I2C addresses (0x40, 0x41, 0x44, 0x45). They are configured using the 2P DIP switch.",{"name":119,"@type":110,"acceptedAnswer":120},"Why is calibration needed, and how can ±0.2% accuracy be achieved?",{"text":121,"@type":113},"Voltage measurement does not need calibration, while current error mainly comes from the sampling resistor resistance. Performing single-point linear calibration using a high-precision multimeter or electronic load can effectively eliminate linearity error and reach up to ±0.2% maximum relative error.","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},720491,1795037527,{"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":24,"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},549768702563,"https://ap-avatar.wpscdn.com/avatar/8000c4aa63b76e948b?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786536092046926083","Gravity: I2C Digital Wattmeter SKU: SEN0291  \n ( [https://www.dfrobot.com/product-1827.html](https://www.dfrobot.com/product-1827.html))  \nIntroduction  \nGravity: I2C Digital Wattmeter is a high-resolution, high-precision, large-scale measurement module that can measure the voltage, current and power of various electronic modules and electrical equipment within 26V 8A, and the maximum relative error is less than ±0 . 2%(A simple manual calibration is required before usage) . It can be used for power consumption or battery life evaluation of solar energy systems, battery, motors, controller or electronic modules.  \nThe module adopts TI INA219 zero temperature drift current/power monitoring chip and 2W high power low temperature drift 10mΩ alloy sampling resistor. The voltage and current resolution can reach 4mV and 1mA respectively. Under the full scale measurement condition, the maximum relative error of voltage and current measurement is lower than ±0.2% . It provides also four I2C addresses that can be configured via the 2P DIP switch. The module accurately measures bi-directional high-side currents (current flowing through the power supply or battery positive), which is especially useful in solar or battery fuel gauge applications where the battery needs to be charged and discharged. This status can be simply determined by positive or negative current readings. In the motor applications, the current can be monitored in real time by monitoring whether the motor current is too large due to overload. In addition, you can use this module to measure the power consumption of various electronic modules or the entire project to evaluate battery life.  \nFeatures  \n High precision, high resolution, large range, low temperature drift  \n Bidirectional current high side measurement  \n Compatible with 3.3V/5V controller  \n Sophisticated and compact, easy to embed in the project  \nApplication  \n Solar Power Management  \n Battery Fuel Gauge  \n Electronic Module Power Evaluation  \nSpecification  \n Input Voltage (VCC) : 3.3V~5.5V  \n Voltage Range (IN+ or IN-relative to GND): 0 ~ 26 V  \n Voltage Resolution: 4 mV  \n Voltage Relative Error: \u003C±0.2%(Typical)  \n Current Range: 0 ~ ±8A (Bidirectional current)  \n Current Resolution: 1mA  \n Current Relative Error: \u003C±0.2%(Typical, manual calibration required)  \n Power Range: 0 ~ 206 W  \n Power Resolution: 20 mW (Hardware) / 4 mW (Software)  \n Quiescent Current: 0.7 mA  \n Interface: Gravity I2C (logic level: 0-VCC)  \n I2C Address: Four options 0x40, 0x41, 0x44, 0x45  \n Dimension: 30.0mm*22 .0mm  \n Weight: 4g  \n| No. | Label | Description |\n| --- | --- | --- |\n| 1 | VCC | Power VCC（ 3. 3~5 . 5V） |\n| 2 | GND | Power GND |\n| 3 | SCL | I2C clock signal |\n| 4 | SDA | I2C data signal |\n| 5 | ADDR | I2C address DIP switch |\n| 6 | 3P TERMINAL | Voltage and current measurement terminal 3P |\n\nArduino Tutorial  \nThis tutorial presents a basic usage of the module with Arduino UNO.  \nRequirements  \n Hardware  \n DFRduino UNO R3 ([https://www.dfrobot.com/product-838.html](https://www.dfrobot.com/product-838.html)) (or similar) x 1  \n DFRobot Gravity: I2C Digital Wattmeter x 1  \n Gravity 4P sensor wire (or Dupont wires) x 1  \n High resolution multimeter x1  \n Software  \n~~ ~~ e  \n Arduino IDE ([https://www.arduino.cc/en/Main/Software](https://www.arduino.cc/en/Main/Software))  \n Download and install the DFRobot_INA219 Library ([https://github.com/DFRobot/DFRobot_INA219](https://github.com/DFRobot/DFRobot_INA219)) (About how to install the library?( [https://www.arduino.cc/en/Guide/Libraries\\#.UxU8mdzF9H0](https://www.arduino.cc/en/Guide/Libraries#.UxU8mdzF9H0)))  \nConnection Diagram  \nCalibration  \n In the actual measurement environment, measurement errors come from many sources. However, for the Gravity: I2C Digital Wattmeter, the voltage measurement does not need to be calibrated, and the current measurement error mainly comes from the error of the resistance of the sampling resistor, which will have a significant i","cbCaip3dBW8CT20K","https://ap.wps.com/l/cbCaip3dBW8CT20K","pdf",262314,13,"English","# Introduction\n# Features\n# Application\n# Specification\n## Pin Definitions\n# Arduino Tutorial\n## Requirements\n## Connection Diagram\n## Calibration\n## Sample Code","[{\"question\":\"What can the Gravity I2C Digital Wattmeter measure, and what are its key ranges?\",\"answer\":\"It measures voltage, current, and power, supporting up to 26V and bidirectional current up to ±8A. Power range is 0~206W with stated resolutions for hardware and software.\"},{\"question\":\"How many I2C addresses does the module support and how are they configured?\",\"answer\":\"It provides four I2C addresses (0x40, 0x41, 0x44, 0x45). They are configured using the 2P DIP switch.\"},{\"question\":\"Why is calibration needed, and how can ±0.2% accuracy be achieved?\",\"answer\":\"Voltage measurement does not need calibration, while current error mainly comes from the sampling resistor resistance. Performing single-point linear calibration using a high-precision multimeter or electronic load can effectively eliminate linearity error and reach up to ±0.2% maximum relative error.\"}]","Gravity - I2C Digital Wattmeter - Arduino Tutorial - SEN0291 | PDF",33,[146,150,154,157],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/57e252bee1fac6d807be706face796d7.webp",983,694,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ff7918b8578ff70cfe2f575559245016.webp",982,693,{"page_no":81,"url":155,"width":156,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a8ae8128a369b939efe84bef01cd84b5.webp",981,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/fac89a1c5ca1778507a27d6d878d0978.webp",980,692,{"list":162,"token":66},[163,169,175,181,186,192,198,205,211,217],{"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},720490,"Adafruit INA219 Current Sensor Breakout - Overview, Assembly, Addressing, and Wiring","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023674161/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=MqKJbc2xG6RWsbrbl3djqm29rhA%3D","adafruit-ina219-current-sensor-breakout-overview-assembly-addressing-and-wiring",1795037523,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":29,"category_name":30,"create_tm":174},720489,"Adafruit INA219 Current Sensor Breakout - Assembly and Wiring Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396997/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=i0oMtNMgJ9xsUS%2FiNLdIYjJHUyo%3D","adafruit-ina219-current-sensor-breakout-assembly-and-wiring-guide",1795037522,{"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},720488,"Adafruit INA219 Current Sensor Breakout - Install the Library - Run it","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397015/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=y1ZYyCrvzD9yY0aujBxlnJhgnE4%3D","adafruit-ina219-current-sensor-breakout-install-the-library-run-it",1795037519,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":24,"category_name":30,"create_tm":180},720487,"INA219 - Zerø-Drift, Bi-Directional CURRENT/POWER MONITOR with I2C Interface","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396995/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=gwuvdgO9%2BsAzBY8db12Y1184QE4%3D","ina219-zero-drift-bi-directional-currentpower-monitor-with-i2c-interface",{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":19,"category_name":30,"create_tm":191},720493,"INA219EVM RevA Model User's Guide and Software Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397071/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=eopx2vbI01NaQzsLEV6R0%2BA3rAc%3D","ina219evm-reva-model-users-guide-and-software-tutorial",1795037532,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":81,"category_name":30,"create_tm":197},700770,"DRV201 Voice Coil Motor Driver for Camera Auto Focus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011570387/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=djNbjtwFbJ3j1Tse2gSEJJRX3Vw%3D","drv201-voice-coil-motor-driver-for-camera-auto-focus",1794520644,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":30,"create_tm":204},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=1796111879&Signature=IiiWmYPxRuVc84jmdCEuvGAXMVU%3D","adafruit-lis3dh-triple-axis-accelerometer-breakout-guide",12,1794164631,{"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},689930,"PCF8574 Remote 8-Bit I/O Expander for I2C Bus - Features, Applications, and Description","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001466287/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=Eb2jXQkOXdMu07MUFzXt7A7CYXQ%3D","pcf8574-remote-8-bit-io-expander-for-i2c-bus-features-applications-and-description",1794136899,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":39,"category_name":30,"create_tm":216},689935,"PCF8574DWR - Texas Instruments I/O Expander Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001466325/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=Xk6qEcM2mCtM4Xt41ow9a4AbExg%3D","pcf8574dwr-texas-instruments-io-expander-datasheet",1794136912,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":29,"category_name":30,"create_tm":222},690041,"MCP23017/MCP23S17 - 16-Bit I/O Expander with Serial Interface - Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002438212/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=Ut%2Fe80MPT%2BleBYcA2iKRW75u83Y%3D","mcp23017mcp23s17-16-bit-io-expander-with-serial-interface-features",1794145754]