{"id":18990222,"url":"https://github.com/xinsnake/attiny-lora-envsensor","last_synced_at":"2026-06-16T23:31:53.863Z","repository":{"id":77213872,"uuid":"232333630","full_name":"xinsnake/attiny-lora-envsensor","owner":"xinsnake","description":"ATTiny1614 + SX1276 + BME280","archived":false,"fork":false,"pushed_at":"2020-01-17T14:14:26.000Z","size":148,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T11:15:21.597Z","etag":null,"topics":["attiny1614","attiny1616","attiny1617","attiny3216","attiny3217","bme280","rfm95w","sx1276"],"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/xinsnake.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":"2020-01-07T13:45:47.000Z","updated_at":"2025-01-16T21:19:34.000Z","dependencies_parsed_at":"2023-09-04T18:31:32.625Z","dependency_job_id":null,"html_url":"https://github.com/xinsnake/attiny-lora-envsensor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xinsnake/attiny-lora-envsensor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinsnake%2Fattiny-lora-envsensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinsnake%2Fattiny-lora-envsensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinsnake%2Fattiny-lora-envsensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinsnake%2Fattiny-lora-envsensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xinsnake","download_url":"https://codeload.github.com/xinsnake/attiny-lora-envsensor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinsnake%2Fattiny-lora-envsensor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34428196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["attiny1614","attiny1616","attiny1617","attiny3216","attiny3217","bme280","rfm95w","sx1276"],"created_at":"2024-11-08T17:09:16.309Z","updated_at":"2026-06-16T23:31:53.837Z","avatar_url":"https://github.com/xinsnake.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ATtiny-LoRa-EnvSensor\n\nI am currently developing a ATTiny1614 + RFM95W + BME280 environment sensor\nwhich will send data to The Things Network via an existing gateway. The new\nATTiny boards support hardware SPI which is what I am using here to communicate\nbetween the uC and different modules.\n\n## Hardware Toolchain\n\nThe hardware I selected:\n\n- Self-designed ATTinyX14 Development Board (Schematics to be added)\n- RFM95W with antenna\n- BME280 3.3v with SPI interface (6-pin board)\n\nTools I am using for development:\n\n- Atmel Studio 7\n- Atmel-ICE / MPLAB® PICkit 4\n- Kingst Logic Analyzer\n\n## Modification\n\n- For BME280 take out all the resistors on the surface to reduce power consumption\n  by ~450uA. We are using SPI so no pull-up resistors are needed here.\n\n## The Things Network\n\n- I haven't done anything on OTAA, and currently keys are hard-coded.\n- Copy `key.example.h` file and name it `key.h`, then replace the values there.\n\n## Power consumption\n\nI don't have a precise tool to measure low current, but based on my multimeter:\n\n- Wake up time lasts for about 0.2s, not sure the total power consumption, but peak\n  current is around 60mA.\n- Sleep current is around 7uA.\n\n## Schematics\n\n![Schematic.png](/imgs/Schematic.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinsnake%2Fattiny-lora-envsensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxinsnake%2Fattiny-lora-envsensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinsnake%2Fattiny-lora-envsensor/lists"}