{"id":19922882,"url":"https://github.com/dltcollab/airbox-with-iota","last_synced_at":"2025-05-03T07:30:55.411Z","repository":{"id":93235083,"uuid":"131293731","full_name":"DLTcollab/airbox-with-iota","owner":"DLTcollab","description":"Manage LASS (Location Aware Sensing System) records with IOTA/Tangle","archived":false,"fork":false,"pushed_at":"2019-10-27T17:56:23.000Z","size":1005,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-07T13:05:59.343Z","etag":null,"topics":["arm","iot","iota","lass","sensor-data","tangle","tangleid"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DLTcollab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-04-27T12:29:34.000Z","updated_at":"2024-03-30T02:14:45.000Z","dependencies_parsed_at":"2023-03-04T02:45:38.034Z","dependency_job_id":null,"html_url":"https://github.com/DLTcollab/airbox-with-iota","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/DLTcollab%2Fairbox-with-iota","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLTcollab%2Fairbox-with-iota/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLTcollab%2Fairbox-with-iota/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLTcollab%2Fairbox-with-iota/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DLTcollab","download_url":"https://codeload.github.com/DLTcollab/airbox-with-iota/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252156793,"owners_count":21703351,"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":["arm","iot","iota","lass","sensor-data","tangle","tangleid"],"created_at":"2024-11-12T22:12:22.298Z","updated_at":"2025-05-03T07:30:53.242Z","avatar_url":"https://github.com/DLTcollab.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Airbox-with-IOTA\n\nIntegrate [LASS](https://pm25.lass-net.org/) (Location Aware Sensing System) with [TangleID](https://github.com/TangleID) and manage sensor data.  \n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"300\" src=\"https://i.imgur.com/bYx1hju.jpg\"\u003e\n  \u003cimg width=\"300\" src=\"https://i.imgur.com/cksjNks.jpg\"\u003e\n\u003c/p\u003e\n\n## Getting Started\nFollow the [tutorial](https://imgur.com/cksjNks) to build your devices.\n\n### 1. Hardware\n* Ameba RTL8195AM\n* SHT31 or BME280\n* Plantower PMS3003 (G3)\n* OLED SSD1306\n\n### 2. Wiring Diagram\n* PMS3003 (G3)\n\nAmeba|PMS3003\n-|-\n5V|pin1\nGND|pin2\nD1(TX)|pin4\nD0(RX)|pin5\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"1000\" src=\"https://i.imgur.com/tk14fP7.png\"\u003e\n\u003c/p\u003e\n\n* SHT31/BME280 and OLED\n\nAmeba|SHT31/BME280|OLED\n-|-|-\nGND|GND|GND\n3.3V|VIN|VCC\nSDA|SDA|SDA\nSCL|SCL|SCL\n3.3V|SD0 (BME280 only)\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"1000\" src=\"https://i.imgur.com/I7zJcwj.png\"\u003e\n\u003c/p\u003e\n\n### 3. Update DAP Firmware (for Windows 10 users)\n[How To Update DAP Firmware?](https://www.amebaiot.com/en/change-dap-firmware/)\n\n### 4. Download and install the mbed Windows serial port driver\n[Windows serial configuration](https://os.mbed.com/handbook/Windows-serial-configuration#1-download-the-mbed-windows-serial-port)\n\n### 5. Set up Environment\n[Ameba Arduino: Getting Started With RTL8195](https://www.amebaiot.com/en/ameba-arduino-getting-started/)\n\n### 6. Update Program To Ameba\n* Copy `airbox-with-iota/lib/` to `Documents\\Arduino\\library`  \n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" src=\"https://i.imgur.com/F4p0Ikw.png\"\u003e\n\u003c/p\u003e\n\n* Input your wifi SSID, wifi password, and location in `airbox-with-iota/main/config.h`\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" src=\"https://i.imgur.com/76TwyR1.png\"\u003e\n\u003c/p\u003e\n\n* Update program\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" src=\"https://i.imgur.com/e0qB5dz.png\"\u003e\n\u003c/p\u003e\n\n* Keep your uuid\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" src=\"https://i.imgur.com/55d7ymf.png\"\u003e\n\u003c/p\u003e\n\n* Records\nSearch `Tag` (`uuid` + `'C'`) on [TheTangle(DEVNET)](https://devnet.thetangle.org)  \ne.g.  \nuuid : LASSPBUAUAXABBMBOBAB  \nTag  : LASSPBUAUAXABBMBOBABC  \nhttps://devnet.thetangle.org/tag/LASSPBUAUAXABBMBOBABC\n\n## APIs\n* Python 3.6.5\n* `python airbox-with-iota/api/test.py`\n\n### `get_uuid_list()`\nSearch for uuids of all available airboxes.\n* Input: none ()\n* Return: uuid list (list)\n\n### `get_specific_sensor_all_data()`\nSearch for all sensor data by an uuid.\n* Input: uuid (string)\n* Return: sensor data (json)\n\n### `get_specific_sensor_latest_data()`\nSearch for latest sensor data by an uuid.\n* Input: uuid (string)\n* Return: sensor data (json)\n\n### `get_specific_sensor_history_data()`\nSearch for sensor data in one week by an uuid.\n* Input: uuid (string)\n* Return: sensor data (json)\n\n### `get_specific_sensor_date_data()`\nSearch for latest sensor data by an uuid and a date.\n* Input: uuid (string), yyyy-mm-dd (string)\n* Return: sensor data (json)\n\n### `get_all_sensor_latest_data()`\nSearch for all latest sensor data of each airbox.\n* Input: none ()\n* Return: sensor data (json)\n\n## References\n* [LASS PM2.5 OPEN DATA PORTAL](https://pm25.lass-net.org/)\n* [LASS/Airbox and IOTA Integration](https://hackmd.io/s/SJnlK_8yM)\n* [空氣盒子教學](https://hackmd.io/s/H1HxM-2hz)\n* [Hack4u 87Live 課程教學](https://paper.dropbox.com/doc/HACK4U4-Hack4u-87Live-TRmqFxXLJHXrKBo4kiR6O)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdltcollab%2Fairbox-with-iota","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdltcollab%2Fairbox-with-iota","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdltcollab%2Fairbox-with-iota/lists"}