You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,79 +31,87 @@ This repository is the top-level repository for the software. In order to build,
29
31
30
32
## Sketch Overview
31
33
32
-
There are two kinds of sketches here: test programs (catena4410_test1, catene4410_test2, catena4410_test3, catena4450_test1), and full sensor programs (catena4410_sensor1, catena4420_test1, catena4450_sensor1).
34
+
There are two kinds of sketches here: test programs (catena4410_test1, catene4410_test2, catena4410_test3, catena4420_test1,catena4450_test1), and full sensor programs (catena4410_sensor1, catena4450m101_sensor1, catena4450m102_pond, catena4460_aqi).
33
35
34
36
The sketches that use LoRaWAN take advantage of the [MCCI](http://www.mcci.com)[arduino-lorawan](https://github.com/mcci-catena/arduino-lorawan) library to cleanly separate the application from the network transport.
35
37
36
38
The sensor sketches also use the RTCZero library to sleep the CPU.
37
39
38
-
### catena4450m101_sensor1
40
+
### Full Sensor Programs
41
+
42
+
#### catena4450m101_sensor1
39
43
40
44
This is the application written for the Catena 4450 power monitoring node used in the [Ithaca Power Project](https://ithaca-power.mcci.com). It uses FRAM-based provisioning (so there is no need to edit code to change LoRaWAN keys or other settings).
41
45
42
-
### catena4410_sensor1
46
+
#### catena4450m102_pond
47
+
48
+
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.
49
+
50
+
#### catena4460_aqi
51
+
52
+
This sketch collects and transmits air-quality information using the Bosch BME680 sensor on the MCCI Catena 4460. It transmits data in format 0x17.
53
+
54
+
#### catena4410_sensor1
43
55
44
56
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.
45
57
46
58
The sketch transmits data in format 0x11.
47
59
48
-
### catena4410_test3
60
+
### Test programs
61
+
62
+
#### catena4410_test3
49
63
50
64
This is the primary test app used when bringing up and provisioning Catena 4410 units for use with The Things Network.
51
65
52
-
### catena4410_test1, catena4410_test2
66
+
####catena4410_test1, catena4410_test2
53
67
54
68
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
55
69
with different sensor configurations.
56
70
57
-
### catena4450_test01
71
+
####catena4450_test01
58
72
59
73
This is the primary (non-LoRaWAN) test sketch for the Catena 4450.
60
74
61
-
### catena4450m101_sensor
62
-
63
-
This is the sketch used with the Catena 4450 for power sensing for the Ithaca Power project. It uses the integrated FRAM for provisioning, and transmits data in format 0x14.
64
-
65
-
### catena4450m102_pond
66
-
67
-
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.
68
-
69
75
## Extras
70
76
71
-
The directory `extras` contains documenation and sample scripts for decoding the various formats.
77
+
The directory `extras` contains documentation and sample scripts for decoding the various formats.
72
78
73
79
## Required Board-Support Packages
74
80
75
-
All board support packages are maintained by MCCI. You should add the path to the reference Json file in your Arduino preferences. As of this writing, the file name to add to the list is:
Check the [MCCI board support repository](https://github.com/mcci-catena/arduino-boards) for the latest information.
81
+
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 for [arduino-boards](https://github.com/mcci-catena/arduino-boards) for more informatin.
82
82
83
83
## Required Libraries
84
84
85
85
A number of libraries are required by this code. `catena4450m101_sensor1` contains a Bash script [`git-boot.sh`](https://github.com/mcci-catena/Catena-Sketches/blob/master/catena4450m101_sensor/git-boot.sh) that can be used to download all the libraries, using a simple database stored in [`git-repos.dat`](https://github.com/mcci-catena/Catena-Sketches/blob/master/catena4450m101_sensor/git-repos.dat).
86
86
87
-
*[MCCI's Catena Platform library](https://github.com/mcci-catena/CatenaArduinoPlatform) provides an enhanced environment for portable sketch development. It includes an command-processing framework, an elaborate persistant storage framework, encoding libraries, support for storing the persistent data from the `arduino-lorawan` library, and so forth.
88
-
*[MCCI's Arduino-LoRaWAN library](https://github.com/mcci-catena/arduino-lorawan) is a structured wrapper for the Arduino LMIC library, with the neccessary hooks for interfacing to persistent storage.
87
+
*[MCCI's Catena Platform library](https://github.com/mcci-catena/Catena-Arduino-Platform) provides an enhanced environment for portable sketch development. It includes an command-processing framework, an elaborate persistent storage framework, encoding libraries, support for storing the persistent data from the `arduino-lorawan` library, and so forth.
88
+
89
+
*[MCCI's Arduino-LoRaWAN library](https://github.com/mcci-catena/arduino-lorawan) is a structured wrapper for the Arduino LMIC library, with the necessary hooks for interfacing to persistent storage.
90
+
89
91
*[MCCI's Ardino LMIC library](https://github.com/mcci-catena/arduino-lmic) is MCCI's fork of [The Things Network New York Arduino LMIC code](https://github.com/things-nyc/arduino-lmic).
92
+
90
93
*[MCCI's ADK](https://github.com/mcci-catena/Catena-mcciadk) is MCCI's general-purpose cross-platform "XDK" library, ported to the Arduino environment.
94
+
91
95
*[MCCI's Fork of the SAMD RTCZero library](https://github.com/mcci-catena/RTCZero) has the somewhat more substantial changes needed to allow the various processor sleep modes to be accessed, and to allow for some debuggging of the sleep mode chosen.
92
96
93
97
## Libraries for sensor work
94
98
95
99
*[MCCI's Adafruit BME280 library](https://github.com/mcci-catena/Adafruit_BME280_Library) is used to make temperature, humidity and barometric pressure measurements using the [Adafruit BME280 breakout board](https://www.adafruit.com/products/2652), which we connect via I2C. It's based on the Adafruit library, but updated so that temperature, humidity and pressure are all read at the same time, to avoid data instability.
100
+
96
101
* The [OneWire](https://github.com/mcci-catena/OneWire) and [Arduino Temperature Control Library](https://github.com/mcci-catena/Arduino-Temperature-Control-Library) are used for making measurements from Dallas-Semiconductor-based temperature sensors such as the [immersible sensor](https://www.adafruit.com/products/381) from Adafruit.
102
+
97
103
* The [Adafruit Sensor Library](https://github.com/mcci-catena/Adafruit_Sensor) and the [Adafruit TSL2561 Lux Sensor Library](https://github.com/mcci-catena/Adafruit_TSL2561) are used for making ambient light measurements with the Adafruit [TSL2561 Lux Sensor](https://www.adafruit.com/products/439)
104
+
98
105
* The [SHT1x library](https://github.com/mcci-catena/SHT1x) is used for measuring soil temperature and humidity using the Adafruit [SHT10 sensor](https://www.adafruit.com/products/1298).
99
106
100
107
## Related Work
108
+
101
109
*[MCCI's Fork of the Map The Things Arduino Sketch](https://github.com/mcci-catena/mapthethings-arduino) contains, on the MCCI-Catena branch, a port of that app supporting OTAA, using the Catena libraries.
110
+
102
111
*[MCCI's Catena Hardware Repository](https://github.com/mcci-catena/HW-Designs) contains hardware design information and schematics.
103
112
104
113
## Boilerplate
114
+
105
115
MCCI work is released under the MIT public license. All other work from contributors (repositories forked to the MCCI Catena [github page](https://github.com/mcci-catena/)) are licensed according to the terms of those modules.
106
116
107
117
Support inquiries may be filed at [https:://portal.mcci.com](https:://portal.mcci.com) or as tickets on [github](https://github.com/mcci-catena). We are very busy, so we can't promise to help; but we'll do our best.
@@ -114,4 +124,10 @@ Thanks to Amy Chen of Asolar, Josh Yu, and to Tzu-Chih University for funding th
114
124
115
125
Further thanks to [Adafruit](https://www.adafruit.com/) for the wonderful Feather M0 LoRa platform, to [The Things Network](https://www.thethingsnetwork.org) for the LoRaWAN-based infrastructure, to [The Things Network New York](https://thethings.nyc) and [TTN Ithaca](https://ttni.tech) for the inspiration and support, and to the myriad people who have contributed to the Arduino and LoRaWAN infrastructure.
116
126
117
-
**MCCI** and **Catena** are registered trademarks of MCCI Corporation.
127
+
MCCI and MCCI Catena are registered trademarks of MCCI Corporation.
128
+
129
+
LoRa is a registered trademark of Semtech Corporation.
130
+
131
+
LoRaWAN is a trademark of the LoRa Alliance.
132
+
133
+
All other trademarks are the property of their respective owners.
0 commit comments