{"id":25727172,"url":"https://github.com/medialabuniovi/iot_lora_template","last_synced_at":"2025-02-25T23:28:33.630Z","repository":{"id":278019367,"uuid":"756309823","full_name":"MediaLabUniovi/IOT_Lora_Template","owner":"MediaLabUniovi","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T14:39:37.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T15:34:01.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MediaLabUniovi.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-12T12:14:44.000Z","updated_at":"2025-02-17T14:39:41.000Z","dependencies_parsed_at":"2025-02-17T15:45:43.701Z","dependency_job_id":null,"html_url":"https://github.com/MediaLabUniovi/IOT_Lora_Template","commit_stats":null,"previous_names":["medialabuniovi/iot_lora_template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaLabUniovi%2FIOT_Lora_Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaLabUniovi%2FIOT_Lora_Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaLabUniovi%2FIOT_Lora_Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaLabUniovi%2FIOT_Lora_Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MediaLabUniovi","download_url":"https://codeload.github.com/MediaLabUniovi/IOT_Lora_Template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240762671,"owners_count":19853525,"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":[],"created_at":"2025-02-25T23:28:32.430Z","updated_at":"2025-02-25T23:28:33.500Z","avatar_url":"https://github.com/MediaLabUniovi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"right\"\u003e\n\n[![english](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/gb.png)](./README.md) | [![spanish](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png)](./README_ES.md)\n\n\u003c/div\u003e\n\n# Lora Template\n\nThis repository contains a template code designed for the **LilyGO T3 V1.6.1** board. The purpose of this project is to establish communication using **LoRa** technology to send sensor readings through a LoRa network.\n\nThis template was developed by **MediaLab Uniovi**, a university laboratory of technology and design that emerged in 2018 from a collaboration between the **City Council of Gijón**, **Gijón Impulsa**, and the **University of Oviedo**. MediaLab is headquartered at the **School of Engineering of Gijón**, and its main objective is to bring new technologies and project creation methodologies closer to people.\n\n## Features\n\n- Compatible with the **LilyGO T3 V1.6.1** board\n- Support for **LoRa** communication\n- Modular and easy-to-customize template for adding new sensors\n- Efficient sensor data reading and transmission\n- Reliable communication with other stations in a LoRa network\n\n## Hardware Requirements\n\n- **LilyGO T3 V1.6.1**\n- **LoRa SX1276/78** module (integrated on the LilyGO board)\n- Compatible sensors (you can add your own)\n\n\n\u003cimg src=\"https://www.tinytronics.nl/image/cache/catalog/products_2023/lilygo-ttgo-t3-lora32-868mhz-v1.6.1-esp32-600x600w.jpg\" alt=\"MediaLab Uniovi Logo\" width=\"500\"/\u003e\n## Software Requirements\n\n- **Arduino IDE** (or any other compatible IDE for ESP32 platforms)\n- Required libraries:\n  - Arduino-Lmic: Library to manage LoRa communication\n  - `Wire.h`: Library for I2C communication with sensors\n  - `SPI.h`: Library for SPI communication (LoRa)\n  - Additional libraries depending on the sensors you use\n\n## Installation\n\n1. **Clone the repository**:\n   \n   Clone this repository to your local machine using:\n\n   ```bash\n   git clone https://github.com/MediaLabUniovi/IOT_Lora_Template.git\n   ```\n\n2. **Set up the environment**:\n   \n   Open the project in **Arduino IDE** or your preferred IDE and ensure you have installed the necessary libraries mentioned above.\n\n3. **Connect your hardware**:\n   \n   - Connect the **LilyGO T3 V1.6.1** to your computer using a USB cable.\n   - Add the required sensors according to your application and connect them to the corresponding pins.\n   \n4. **Configure TTN credentials**:\n   \n   In the credentials code file (usually `credentials.h`), adjust the LoRa parameters such as **APPEUI**, **DEVEUI**, and **APPKEY** according to your TTN application:\n\n   ```cpp\n       static const u1_t PROGMEM APPEUI[8]  = {};  // INTRODUCE EN LSB\n       static const u1_t PROGMEM DEVEUI[8]  = {};  // INTRODUCE EN LSB\n       static const u1_t PROGMEM APPKEY[16] = {};  // INTRODUCE EN MSB\n   ```\n\n5. **Upload the code**:\n   \n   Select the **TTGO LoRa 32-OLED** board from the tools menu and upload the code to the board.\n\n## Usage\n\n1. **Power up the board**: \n   Once the code is uploaded, the board will start reading data from the connected sensors and send them over the LoRa network.\n   \n2. **Data reception**:\n   The sensor data sent can be received and visualized on another LoRa-compatible device within the network range.\n   \n3. **Modification and Customization**:\n   You can add new sensors by simply importing the required libraries and adding the code in the appropriate section of the template.\n\n## About MediaLab Uniovi\n\n\u003cimg src=\"img/medialab_logo.png\" alt=\"MediaLab Uniovi Logo\" width=\"200\"/\u003e\n\n**MediaLab Uniovi** is a university laboratory of technology and design that was created in 2018 as a result of a collaboration between the **City Council of Gijón**, **Gijón Impulsa**, and the **University of Oviedo**. Its mission is to bring new technologies and project creation methodologies closer to people. MediaLab is based at the **School of Engineering of Gijón** and works to foster technological innovation and creativity.\n\n## Contributions\n\nContributions are welcome. If you want to improve this project or add new features, feel free to open a **pull request** or create an **issue** in this repository.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedialabuniovi%2Fiot_lora_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmedialabuniovi%2Fiot_lora_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedialabuniovi%2Fiot_lora_template/lists"}