Paige NiedringhausMichelle GarrettZachary J. Fields
Published © MIT

Refrigerator Fleet Monitoring Made Easy with LoRa

Monitor temperature, humidity, and door open/close state across fleets of refrigerators with low-cost, LoRa-based sensors.

BeginnerFull instructions provided4 hours1,073
Refrigerator Fleet Monitoring Made Easy with LoRa

Things used in this project

Hardware components

Blues Sparrow Development Kit
Blues Sparrow Development Kit
×1
Adafruit Magnetic Contact Switch (door sensor)
×2
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1

Software apps and online services

Blues Notehub.io
Blues Notehub.io

Story

Read more

Code

Sparrow Reference Firmware init.c code

C/C++
Replace the init.c file in the sparrow-reference-firmware repo's sparrow-application folder with the following code to enable the BME280 environmental sensor and Adafruit magnetic contact switch sensor.
// Scheduled App Header(s)
#include "bme/bme.h"
#include "contact-switch/contact-switch.h"

void schedAppInit (void) {
    // Will not initialize if BME280 is not detected
    bmeInit();

    // Will not initialize door sensor if contact switch sensor is not detected
    if(!contactSwitchInit()) {
        APP_PRINTF("ERROR: Failed to initialize contact switch application!\r\n");
    }
}

Refrigerator Fleet Monitor

Repository for the refrigerator fleet monitor's hardware, firmware, and reference web application.

Credits

Paige Niedringhaus

Paige Niedringhaus

8 projects • 36 followers
Staff Software Engineer @ Blues Wireless. In tech since 2016, but new to IoT and eager to learn.
Michelle Garrett

Michelle Garrett

3 projects • 8 followers
Product Designer
Zachary J. Fields

Zachary J. Fields

18 projects • 150 followers
I like to make stuff.

Comments