https://github.com/xinsnake/attiny-lora-envsensor
ATTiny1614 + SX1276 + BME280
https://github.com/xinsnake/attiny-lora-envsensor
attiny1614 attiny1616 attiny1617 attiny3216 attiny3217 bme280 rfm95w sx1276
Last synced: 3 months ago
JSON representation
ATTiny1614 + SX1276 + BME280
- Host: GitHub
- URL: https://github.com/xinsnake/attiny-lora-envsensor
- Owner: xinsnake
- Created: 2020-01-07T13:45:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-17T14:14:26.000Z (over 5 years ago)
- Last Synced: 2025-01-01T14:27:01.694Z (5 months ago)
- Topics: attiny1614, attiny1616, attiny1617, attiny3216, attiny3217, bme280, rfm95w, sx1276
- Language: C
- Size: 145 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ATtiny-LoRa-EnvSensor
I am currently developing a ATTiny1614 + RFM95W + BME280 environment sensor
which will send data to The Things Network via an existing gateway. The new
ATTiny boards support hardware SPI which is what I am using here to communicate
between the uC and different modules.## Hardware Toolchain
The hardware I selected:
- Self-designed ATTinyX14 Development Board (Schematics to be added)
- RFM95W with antenna
- BME280 3.3v with SPI interface (6-pin board)Tools I am using for development:
- Atmel Studio 7
- Atmel-ICE / MPLAB® PICkit 4
- Kingst Logic Analyzer## Modification
- For BME280 take out all the resistors on the surface to reduce power consumption
by ~450uA. We are using SPI so no pull-up resistors are needed here.## The Things Network
- I haven't done anything on OTAA, and currently keys are hard-coded.
- Copy `key.example.h` file and name it `key.h`, then replace the values there.## Power consumption
I don't have a precise tool to measure low current, but based on my multimeter:
- Wake up time lasts for about 0.2s, not sure the total power consumption, but peak
current is around 60mA.
- Sleep current is around 7uA.## Schematics
