Giter VIP home page Giter VIP logo

attiny-lora-envsensor's Introduction

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

Schematic.png

attiny-lora-envsensor's People

Contributors

xinsnake avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.