{"id":19738555,"url":"https://github.com/sensirion/makecode-extension-svm40","last_synced_at":"2025-10-25T05:04:10.231Z","repository":{"id":53804975,"uuid":"347076188","full_name":"Sensirion/makecode-extension-svm40","owner":"Sensirion","description":"Makecode extension for SVM40 Evaluation Kit","archived":false,"fork":false,"pushed_at":"2021-03-12T14:02:57.000Z","size":782,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-10T19:31:57.337Z","etag":null,"topics":["calliope","calliope-mini","humidity","makecode-extension","microbit","sensirion","svm40","temperature","voc"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Sensirion.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":"2021-03-12T13:30:57.000Z","updated_at":"2021-03-12T14:03:00.000Z","dependencies_parsed_at":"2022-08-21T16:20:18.342Z","dependency_job_id":null,"html_url":"https://github.com/Sensirion/makecode-extension-svm40","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fmakecode-extension-svm40","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fmakecode-extension-svm40/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fmakecode-extension-svm40/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fmakecode-extension-svm40/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sensirion","download_url":"https://codeload.github.com/Sensirion/makecode-extension-svm40/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241068007,"owners_count":19903934,"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":["calliope","calliope-mini","humidity","makecode-extension","microbit","sensirion","svm40","temperature","voc"],"created_at":"2024-11-12T01:14:30.612Z","updated_at":"2025-10-25T05:04:05.202Z","avatar_url":"https://github.com/Sensirion.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sensirion SVM40 Makecode Extension\n\nMakecode extension for the Sensirion SVM40 evaluation kit connected to the micro:bit platform.\n\nThis extension allows you to read VOC (Volatile Organic Components), temperature and relative humidity values with an interval of 1 second.\n\n\n## SVM40 Evaluation Kit\n\n[\u003ccenter\u003e\u003cimg src=\"SVM4x.png\" width=\"500px\"\u003e\u003c/center\u003e](https://www.sensirion.com/my-sgp-ek/)\n\n* Additional information:\n[SVM40 Product Homepage](https://www.sensirion.com/en/environmental-sensors/evaluation-kit-sek-environmental-sensing/evaluation-kit-sek-svm40/)\n* Where to Buy: [Buy SVM40 Evaluation Kit](https://www.sensirion.com/index.php?id=1161\u0026L=5\u0026url=%22https://dilp.netcomponents.com/cgi-bin/sensirion.asp?lang=de\u0026Region=NA\u0026mode=2\u0026partnumber1=SVM40\u0026pq=Suchen%22)\n\n\n## Supported Targets\n\n* PXT/microbit\n* Calliope mini\n\n## I2C Address\n\n* 0x6A\n\n## Usage\n\nopen your microbit makecode project, in \"+ Extension\", paste the following URL:\n\nhttps://github.com/Sensirion/makecode-extension-svm40\n\n### Connecting the Sensor\n\nIf you don't have a suitable cable at hand, please find the SEK-SVM40 pinout listed below, or in\nthe [technical documentation](https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/9_Gas_Sensors/Sensirion_Gas_Sensors_SEK-SVM40_Technical_Description_D1.pdf):\n\n| *Pin* | *Cable Color* | *Name* | *Description* | *Comments* |\n|-------|---------------|--------|---------------|------------|\n| 1     | Red           | VDD    | Supply Voltage | 3.3 or 5.0 V\n| 2     | Black         | Ground |\n| 3     | Green         | SDA    | I2C: Serial data, bidirectional |\n| 4     | Yellow        | SCL    | I2C: Serial clock |\n| 5     | Blue          | SEL    | Interface select | Pull to GND to select I2C\n|       |               |        |  | Leave floating or pull to VDD to select UART\n| 6     | Purple        | NC     | Do not connect |\n\n\n## Demo\n\n![](demo.png)\n\n\n## API\n\nGet VOC value in ppb (parts per billion)\n```ts\nfunction get_voc()\n```\n\nGet temperature in degree celsius. Takes an optional argument to change to fahrenheit.\n```ts\nfunction get_temperature()\n```\n\nGet relative humidity in percent\n```ts\nfunction get_relative_humidity()\n```\n\nStart measurement on SVM40 evaluation kit. This method will be automatically called on initialization.\nIf you call `stop_continuous_measurement()` you have to call this method again before voc, temperature and humidity\nvalues can be retrieved again.\n```ts\nfunction start_continuous_measurement()\n```\n\nStop measurement on SVM40 evaluation kit. After calling this function, no more sensor values can be read out\nanymore until you call `start_continuous_measurement`\n```ts\nfunction stop_continuous_measurement()\n```\n\n\n## License\n\n[MIT](LICENSE)\n\nCopyright (c) 2021, Sensirion AG\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensirion%2Fmakecode-extension-svm40","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensirion%2Fmakecode-extension-svm40","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensirion%2Fmakecode-extension-svm40/lists"}