{"id":22345138,"url":"https://github.com/seeed-studio/mt3620_grove_shield","last_synced_at":"2025-07-30T03:32:13.035Z","repository":{"id":50757900,"uuid":"153452943","full_name":"Seeed-Studio/MT3620_Grove_Shield","owner":"Seeed-Studio","description":"C library, Azure Sphere, MT3620 Grove Shield, I2C, Analog, SC18IM700, AD7992, Visual Studio 2017","archived":false,"fork":false,"pushed_at":"2021-05-31T00:10:34.000Z","size":5969,"stargazers_count":21,"open_issues_count":0,"forks_count":24,"subscribers_count":16,"default_branch":"master","last_synced_at":"2023-03-11T21:19:18.572Z","etag":null,"topics":["azure-sphere","grove","shield"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Seeed-Studio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-17T12:26:54.000Z","updated_at":"2022-04-18T18:28:18.000Z","dependencies_parsed_at":"2022-09-05T18:12:40.985Z","dependency_job_id":null,"html_url":"https://github.com/Seeed-Studio/MT3620_Grove_Shield","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seeed-Studio%2FMT3620_Grove_Shield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seeed-Studio%2FMT3620_Grove_Shield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seeed-Studio%2FMT3620_Grove_Shield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seeed-Studio%2FMT3620_Grove_Shield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seeed-Studio","download_url":"https://codeload.github.com/Seeed-Studio/MT3620_Grove_Shield/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228078609,"owners_count":17865959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-sphere","grove","shield"],"created_at":"2024-12-04T09:16:44.402Z","updated_at":"2024-12-04T09:16:45.279Z","avatar_url":"https://github.com/Seeed-Studio.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About Azure Sphere MT3620 Grove Shield Library\n\nThis is library for Azure Sphere MT3620 Grove Shield, the shield enhences Azure Sphere by adding I2C interface and Analog input. \n\n## Requirements\n\n- Operation Systems - Windows 10 or Ubuntu 18.04\n- Developer Tools: Visual Studio [Visual Studio Community/Professional/Enterprise](https://visualstudio.microsoft.com/downloads/) or [Visual Studio Code](https://code.visualstudio.com/)\n- Hardware - [Azure Sphere](https://www.seeedstudio.com/Azure-Sphere-MT3620-Development-Kit-US-Version-p-3052.html), [MT3620 Grove Shield](https://www.seeedstudio.com/MT3620-Grove-Shield-p-3145.html) \n\n## Create a MT3620 application\n\nReview the [Azure Sphere documentation](https://docs.microsoft.com/en-au/azure-sphere/) for the guide to setting up the developer tools and Azure Sphere SDK on Windows 10 or Ubuntu 18.04.\n\n\n## MT3620 Grove Shield App Manifest\n\nSelect __app_manifest.json__ in the application project, add the below attributions, so that we can use the peripherals that MT3620 Grove Shield would use.\n\n```JSON\n\"Capabilities\": {\n\t\"Gpio\": [ 8, 9, 10, 15, 16, 17, 18, 19, 20, 12, 13, 0, 1, 4, 5, 57, 58, 11, 14, 48 ],\n\t\"Uart\": [ \"ISU0\", \"ISU3\" ],\n\t\"AllowedApplicationConnections\": []\n}\n```\n\nWhen using a hardware definition file, you must use an identifier for __app_manifest.json__.\n\n```JSON\n\"Capabilities\": {\n\t\"Gpio\": [ \"$MT3620_GPIO8\", \"$MT3620_GPIO9\", \"$MT3620_GPIO10\", \"$MT3620_GPIO15\", \"$MT3620_GPIO16\", \"$MT3620_GPIO17\", \"$MT3620_GPIO18\", \"$MT3620_GPIO19\", \"$MT3620_GPIO20\", \"$MT3620_GPIO12\", \"$MT3620_GPIO13\", \"$MT3620_GPIO0\", \"$MT3620_GPIO1\", \"$MT3620_GPIO4\", \"$MT3620_GPIO5\", \"$MT3620_GPIO57\", \"$MT3620_GPIO58\", \"$MT3620_GPIO11\", \"$MT3620_GPIO14\", \"$MT3620_GPIO48\" ],\n\t\"Uart\": [ \"$MT3620_ISU0_UART\", \"$MT3620_ISU3_UART\" ],\n\t\"AllowedApplicationConnections\": []\n}\n```\n\n[Here](https://docs.microsoft.com/en-us/azure-sphere/app-development/manage-hardware-dependencies) for details of the hardware definition file.\n\n## Some available header files\n\n- Grove.h\n- Sensors/Grove4DigitDisplay.h\n- Sensors/GroveRelay.h\n- Sensors/GroveTempHumiBaroBME280.h\n- Sensors/GroveTempHumiSHT31.h\n- Sensors/GroveAD7992.h\n- Sensors/GroveOledDisplay96x96.h\n- Sensors/GroveRelay.h\n- Sensors/GroveRotaryAngleSensor.h\n- Sensors/GroveLEDButton.h\n- Sensors/GroveLightSensor.h\n\n\n## Usage of the library, see Example - Temp and Huminidy SHT31\n\n1. Add headers\n\n```C\n#include \"Grove.h\"\n#include \"Sensors/GroveTempHumiSHT31.h\"\n```\n\n2. Initialize the shield in main() function\n\n```C\nint i2cFd;\nGroveShield_Initialize(\u0026i2cFd, 115200); // baudrate - 9600,14400,19200,115200,230400 \n```\n\n1. Initialize and instantiation\n\n```C\nvoid* sht31 = GroveTempHumiSHT31_Open(i2cFd);\n```\n\n\n4. Read temp and humidiy from the sensor\n   \n```C\nGroveTempHumiSHT31_Read(sht31);\nfloat temp = GroveTempHumiSHT31_GetTemperature(sht31);\nfloat humi = GroveTempHumiSHT31_GetHumidity(sht31);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseeed-studio%2Fmt3620_grove_shield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseeed-studio%2Fmt3620_grove_shield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseeed-studio%2Fmt3620_grove_shield/lists"}