Multi-Connectivity IoT Starter with Blues Notecard
Blueprint is a pre-configured template on the Blynk IoT platform, that will help you create a fully functional project in a few minutes. It already includes mobile and web dashboard UI, working firmware, and a tutorial to help you connect your device to the Blynk IoT platform and control it from the app!
On this page you can review the blueprint to have an idea of the ready project you are going to get. Sign up for a free account on the Blynk IoT platform to try it out.
Blues - Multi-Connectivity IoT Starter
A single firmware, three-connectivity-type demo — Cellular, Wi-Fi, and LoRaWAN — powered by Blues Notecard and fully integrated with Blynk IoT. Includes a real-world setup with identical units deployed in the lab, in the field, and on the move. Tracks temperature, voltage, pressure, door status, and signal strength — with alerts and bi-directional control. Perfect for testing or deploying multi-network IoT solutions with zero backend setup.
Step 1: Understanding the Hardware Architecture
1.1 Core Components (Identical for All Three Devices)
Blues Notecarrier F - Main development board with Feather-compatible slot
Blues Swan (STM32-based) - Feather-compatible host microcontroller
LiPo Battery - Power source for portable operation
Reed Switch - Door open/close detection sensor
SparkFun BMP581 Sensor - Temperature and barometric pressure measurement (Qwiic connection)
Notecard Cellular - For cellular network connectivity
Notecard Wi-Fi - For Wi-Fi network connectivity
Notecard LoRa - For LoRaWAN network connectivity
1.3 Physical Installation
Mount the reed switch on the refrigerator door frame
Place the BMP581 sensor inside the refrigerator for accurate temperature readings
Position the main device externally for optimal connectivity
Ensure proper antenna placement based on the Notecard type being used
The main carrier/development board is the Notecarrier F (1). It has a slot for a Feather-compatible host (in this case the STM32-based Blues Swan) (2). The Notecarrier's power source is a small LiPo battery (3). The Notecard (4) is what can be swapped out for Cellular, Wi-Fi, or LoRa.
The beauty of this project is using identical firmware across all three radio types. The Notecard automatically handles radio-specific commands:
// This works for all Notecard types J *req = notecard.newRequest("hub.set"); JAddStringToObject(req, "product", PRODUCT_UID); JAddStringToObject(req, "mode", "continuous"); JAddBoolToObject(req, "sync", true); notecard.sendRequestWithRetry(req, 5);
// Wi-Fi config - ignored by Cellular and LoRa Notecards req = notecard.newRequest("card.wifi"); JAddStringToObject(req, "ssid", WIFI_SSID); JAddStringToObject(req, "password", WIFI_PASSWORD); notecard.sendRequest(req);
Step 4: Sensor Data Collection
4.1 Battery Voltage Monitoring
// Get battery voltage from Notecard J *req = notecard.newRequest("card.voltage"); J *rsp = notecard.requestAndResponse(req); double voltage = JGetNumber(rsp, "value");
4.2 Cellular Signal Strength (Cellular Only)
// Get signal strength (bars) for cellular Notecard req = notecard.newRequest("card.wireless"); rsp = notecard.requestAndResponse(req); int bars = JGetInt(rsp, "bars");
4.3 Environmental Sensors
// Read temperature and pressure from BMP581 float temperature = bmp581.getTemperature(); float pressure = bmp581.getPressure();
// Read door status from reed switch bool door_open = digitalRead(REED_SWITCH_PIN);
Device Name: Match your Notehub device name exactly
Auth Token: Will be auto-generated
Save the device
7.3 Dashboard Overview
The pre-built dashboard provides comprehensive monitoring capabilities:
Real-time Monitoring:
Battery voltage gauge with color-coded warnings
Temperature display with freeze alerts
Signal strength indicator (cellular devices only)
Door status LED (green=closed, red=open)
Alert banner appears when door left open too long
Historical Data:
Temperature trends over time
Battery discharge patterns
Door opening frequency analysis
Signal quality history (cellular devices)
Interactive Controls:
Sync frequency slider to adjust data transmission rate
Time range selectors for historical charts
Device selection to switch between multiple fridges
Step 8: Bi-Directional Communication
8.1 Understanding Inbound Data
Blynk can send configuration changes back to your devices through the Blues integration. This creates inbound Notes (.qi files) that your firmware can process.
8.2 Remote Configuration Updates
The bi-directional communication allows you to:
Adjust sync frequency from the Blynk dashboard
Update sensor thresholds remotely
Enable/disable features without firmware updates
Send commands for diagnostic purposes
8.3 Processing Configuration Updates in Firmware
void updateSensorCadence() { // Check for inbound data from Blynk that will set the sensor cadence J *req = notecard.newRequest("file.changes"); J *files = JAddArrayToObject(req, "files"); JAddItemToArray(files, JCreateString("blynk.qi"));
J *rsp = notecard.requestAndResponse(req); int total = JGetNumber(rsp, "total");
if (total > 0) { // Get and process the inbound note req = notecard.newRequest("note.get"); JAddStringToObject(req, "file", "blynk.qi"); JAddBoolToObject(req, "delete", true);