All Projects → mcci-catena → Catena-Sketches

mcci-catena / Catena-Sketches

Licence: MIT license
Top-level Arduino sketches for the MCCI Catena family of IoT LPWA Devices

Programming Languages

C++
36643 projects - #6 most used programming language
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Catena-Sketches

IoTHAT
Turta IoT HAT Source, Reference and Manual.
Stars: ✭ 23 (+91.67%)
Mutual labels:  sensor, bme280, bme680
arduino-lmic
LoraWAN-MAC-in-C library, adapted to run under the Arduino environment
Stars: ✭ 486 (+3950%)
Mutual labels:  lorawan, catena, arduino-lorawan
tehybug
Low Power WIFI environmental data trackers based on ESP8266 Module
Stars: ✭ 15 (+25%)
Mutual labels:  bme280, bme680
BME680
Arduino Library to access the Bosch BME680 - temperature, pressure, humidity and gas sensor
Stars: ✭ 30 (+150%)
Mutual labels:  sensor, bme680
bsec bme680 linux
Read the BME680 sensor with the BSEC library on Linux (e.g. Raspberry Pi)
Stars: ✭ 78 (+550%)
Mutual labels:  sensor, bme680
sps30
Sensirion SPS30 driver for ESP32, SODAQ, MEGA2560, UNO, ESP8266, Particle-photon on UART OR I2C coummunication
Stars: ✭ 57 (+375%)
Mutual labels:  sensor, bme280
Terrariumpi
Home automated terrarium/aquarium or other enclosed environment with a Raspberry Pi
Stars: ✭ 249 (+1975%)
Mutual labels:  sensor
433MHz Tx Rx
Arduino based 433MHz Tx and Rx combo using Manchester protocol
Stars: ✭ 27 (+125%)
Mutual labels:  sensor
React Parallax Tilt
👀 Easily apply tilt hover effect on React components - lightweight/zero dependencies
Stars: ✭ 243 (+1925%)
Mutual labels:  sensor
Sense Js
📱 html5 sensor interaction library for mobile
Stars: ✭ 219 (+1725%)
Mutual labels:  sensor
arduino-mkr-wan-1300
Getting started with the Arduino MKR WAN 1300
Stars: ✭ 38 (+216.67%)
Mutual labels:  lorawan
TLV493D-A1B6-3DMagnetic-Sensor
Library for the TLV493D-A1B6 3D magnetic sensor for Arduino.
Stars: ✭ 27 (+125%)
Mutual labels:  sensor
rs485-moist-sensor
Digital (RS485 - based) soil moisture and temperature sensor
Stars: ✭ 51 (+325%)
Mutual labels:  sensor
Xiaomi miot raw
Universal Xiaomi MIoT integration for Home Assistant
Stars: ✭ 240 (+1900%)
Mutual labels:  sensor
Radar
Arduino Servo controller with Ultrasonic sensor, that will send distance value from sensor to Node.js via USB serial and leveraging socket.io to send the data to browser in realtime.
Stars: ✭ 24 (+100%)
Mutual labels:  sensor
Volumetriccapture
A multi-sensor capture system for free viewpoint video.
Stars: ✭ 243 (+1925%)
Mutual labels:  sensor
nrf52-lora
LoRa node on nRF52
Stars: ✭ 24 (+100%)
Mutual labels:  lorawan
Sensey
⚡ [Android Library] Play with sensor events & detect gestures in a breeze.
Stars: ✭ 2,621 (+21741.67%)
Mutual labels:  sensor
Qwiic Spectral Sensor AS726X
Qwiic breakout for the AS7261/AS7262/AS7263 spectral sensors from AMS.
Stars: ✭ 20 (+66.67%)
Mutual labels:  sensor
rssd
Rohde & Schwarz SCPI Driver (in Python)
Stars: ✭ 25 (+108.33%)
Mutual labels:  sensor

Catena-Sketches

This repository contains top-level Arduino sketches for the Catena family of LoRaWAN® technology remote sensors made by MCCI.

GitHub release GitHub commits Build Status

Picture of Catena 4450

This repository is the top-level repository for the software. In order to build, you will have to download a number of additional libraries from the MCCI Catena github page; the repositories needed vary depending on the sketch you want to build. A bash script is provided to simplify this process.

Contents:

Getting Started

If you're getting started with Catenas, please check the detailed instructions at catena4450m101_sensor/README.md.

Sketch Overview

There are two kinds of sketches here:

  • test programs (catena4450_test01, catena461x_hwtest, catena461x_test01, etc.), and
  • full sensor programs (catena4450m101_sensor1, catena4450m102_pond, catena4460_aqi, catena4460_bsec_ulp, catena4612_simple, catena4617_simple, catea4618_simple, catena4410_sensor1).

The sketches that use LoRaWAN take advantage of the MCCI arduino-lorawan library to cleanly separate the application from the network transport.

Most of these sketches also use the Catena-Arduino-Platform library to provide common services and make things a little more portable.

Full Sensor Programs

catena4450m101_sensor1

This is the application written for the Catena 4450 power monitoring node used in the Ithaca Power Project. It uses FRAM-based provisioning (so there is no need to edit code to change LoRaWAN keys or other settings).

catena4450m102_pond

This is the Tzu Chi University / Asolar Hualian research farm project sketch, upgraded for use with the Catena 4450. It uses the integrated FRAM for provisioning, auto-detects the attached sensors, and transmits data in format 0x15.

catena4450m102_waterlevel

This application is used by Auroville for monitring well water depth.

catena4460_aqi

This sketch collects and transmits air-quality information using the Bosch BME680 sensor on the MCCI Catena 4460. It transmits data in format 0x17.

catena4460_bsec_ulp

This sketch uses the official (but closed source) library from Bosch Sensortec for the BME680 sensor on the Catena 4460. It also transmits data in format 0x17.

catena4612_simple

This sketch uses the on-board sensors of the Catena 4612 (or 4610), and transmits the data to a LoRaWAN network. It doesn't support external sensors. It transmits on port 0x02, and doesn't use a format byte.

catena4617_simple

This sketch uses the on-board sensors of the Catena 4617, and transmits the data to a LoRaWAN network. It doesn't support external sensors. It transmits on port 0x03, and doesn't use a format byte.

catena4618_simple

This sketch uses the on-board sensors of the Catena 4618, and transmits the data to a LoRaWAN network. It doesn't support external sensors. It transmits on port 0x03, and doesn't use a format byte.

catena4410_sensor1

This sketch is the application written for the Tzu Chi University / Asolar Hualian research farm project. One firmware image is used for a variety of sensors. You can configure a given sensor as a general purpose device or as a specific subset, referencing back to the Atmel SAMD21 CPU's unique identifier. All provisioning is done at compile time, but the network keys and other sensitive information is placed in a special library that is outside the normal set of repositories.

The sketch transmits data in format 0x11.

Test programs

catena4410_test3

This is the primary test app used when bringing up and provisioning Catena 4410 units for use with The Things Network.

catena4410_test1, catena4410_test2

These are simpler test programs. They were rarely used after test3 was ready, but they may be useful for test of future Catena 441x variants with different sensor configurations.

catena4450_test01

This is the primary (non-LoRaWAN) test sketch for the Catena 4450.

Extras

The directory extras contains documentation and sample scripts for decoding the various formats.

Required Board-Support Packages

All board support packages are maintained by MCCI. You should add the path to the reference Json file in your Arduino preferences. See the README.md for arduino-boards for instructions.

Required Libraries

A number of libraries are required by this code. The top-level of this repository contains a Bash script git-boot.sh that can be used to download all the libraries, using a simple database stored in a file named git-repos.dat. Different sketches have different needs, and so each one has its own git-repos.dat. For an example, see catena4450m101_sensor/git-repos.dat.

Libraries for sensor work

Related Work

Boilerplate

MCCI work is released under the MIT public license. All other work from contributors (repositories forked to the MCCI Catena github page) are licensed according to the terms of those modules.

Support inquiries may be filed at https:://portal.mcci.com or as tickets on github. We are very busy, so we can't promise to help; but we'll do our best.

Commercial support is also available; contact MCCI for more information via our support portal or our web site.

Thanks, Acknowledgments, Notes

Thanks to Amy Chen of Asolar, Josh Yu, and to Tzu-Chih University for funding the Hualian Garden project.

Further thanks to Adafruit for the wonderful Feather M0 LoRa platform, to The Things Network for the LoRaWAN-based infrastructure, to The Things Network New York and TTN Ithaca for the inspiration and support, and to the myriad people who have contributed to the Arduino and LoRaWAN infrastructure.

MCCI and MCCI Catena are registered trademarks of MCCI Corporation.

LoRa is a registered trademark of Semtech Corporation.

LoRaWAN is a registered trademark of the LoRa Alliance.

All other trademarks are the property of their respective owners.

Support Open Source Hardware and Software

MCCI invests time and resources providing this open source code, please support MCCI and open-source hardware by purchasing products from MCCI, Adafruit and other open-source hardware/software vendors!

For information about MCCI's products, please visit store.mcci.com.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].