Overview
OWL DMS supports multiple firmware types for Duck devices, each designed for specific use cases. This guide covers firmware options for both PapaDuck (gateway) and MamaDuck (sensor node) devices.PapaDuck Firmware Variants
PapaDuck devices serve as the gateway between your mesh network and the cloud. Choose the variant that matches your connectivity requirements.PapaDuck WiFi - Standard gateway (WiFi connection)
PapaDuck WiFi - Standard gateway (WiFi connection)
Description:
The standard PapaDuck firmware connects to your WiFi network to relay mesh network data to the cloud. This is the recommended option when you have reliable WiFi coverage at your gateway location.Features:
LED Status Indicators:
Use Cases:
- Connects to 2.4GHz WiFi networks
- Secure TLS connection to AWS IoT Core
- Receives and forwards all mesh network messages
- Queues messages when temporarily disconnected
- LED status indicator for connection state
| Component | Details |
|---|---|
| Hardware | Any supported PapaDuck device |
| WiFi Network | 2.4GHz network (5GHz not supported) |
| Power | Continuous USB or wall power recommended |
| LED Color | Status |
|---|---|
| Green | WiFi connected, communicating with cloud |
| Red | No WiFi connection |
| Blue | Transmitting data |
- Indoor gateway installations
- Locations with reliable WiFi coverage
- Office or building deployments
- Home mesh network setups
PapaDuck WiFi + LTE - Dual connectivity gateway (WiFi with cellular fallback)
PapaDuck WiFi + LTE - Dual connectivity gateway (WiFi with cellular fallback)
Description:
This advanced PapaDuck variant provides dual connectivity using both WiFi and LTE cellular. WiFi is the primary connection, but if WiFi becomes unavailable, the device automatically falls back to LTE to ensure your mesh network data always reaches the cloud.Features:
What You Need to Provide:
LED Status Indicators:
Connection Behavior:
- Primary WiFi connection with automatic LTE fallback
- Seamless switching between WiFi and cellular
- Periodic WiFi reconnection attempts (every 10 minutes when on LTE)
- Secure TLS connection over both WiFi and cellular
- Message queuing during connection transitions
- LED status indicator for connection state
| Component | Details |
|---|---|
| Board | LilyGo T-SIM7000G with LoRa Hat |
| SIM Card | Activated IoT SIM card (Hologram recommended) |
| Antenna | LTE antenna (included with board) |
| Power | USB or battery power |
The LilyGo T-SIM7000G board combines the SIM7000G cellular modem with an ESP32. You need the version with the LoRa hat attachment to enable mesh network communication.
- LilyGo T-SIM7000G board with LoRa Hat - Available from LilyGo or electronics retailers
- Activated IoT SIM card - The firmware is configured for Hologram SIM cards by default, but other IoT SIM providers work as well
- WiFi credentials - Your 2.4GHz network SSID and password
- LTE antenna - Usually included with the board
| Priority | Connection | When Used |
|---|---|---|
| 1 | WiFi | Always preferred when available |
| 2 | LTE | Automatic fallback when WiFi unavailable |
| LED Color | Status |
|---|---|
| Green | Connected (WiFi or LTE) |
| Red | No connection (neither WiFi nor LTE) |
| Blue | Transmitting data |
- On startup, attempts WiFi connection first
- If WiFi fails after 3 retries, initializes LTE modem
- When on LTE, periodically checks for WiFi availability (every 10 minutes)
- Automatically switches back to WiFi when it becomes available
- Messages are queued if both connections temporarily fail
- Remote or outdoor gateway installations
- Locations with unreliable WiFi
- Mobile gateway deployments
- Disaster response and emergency networks
- Agricultural or rural deployments
- Backup connectivity for critical networks
MamaDuck Firmware Types
MamaDuck devices collect sensor data and relay messages through the mesh network. Some firmware types require physical sensors to be connected to GPIO pins.Device Compatibility: The sensor firmware types below are available for MamaDuck devices only.
GPS Location - Track device location (No external sensors required)
GPS Location - Track device location (No external sensors required)
Description:
Sends GPS coordinates periodically through the mesh network, perfect for asset tracking and mobile monitoring applications.Features:
Use Cases:
Sends GPS coordinates periodically through the mesh network, perfect for asset tracking and mobile monitoring applications.Features:
- Built-in GPS functionality (no external sensors needed)
- Periodic location updates
- Configurable update intervals to optimize battery life
- Latitude, longitude, and altitude tracking
| Setting | Options | Recommendation |
|---|---|---|
| GPS Interval | 5, 10, 15, 30, or 60 minutes | 15-30 min for balanced battery/accuracy |
| Update Frequency | Low to High | Higher frequency = more battery drain |
- Asset tracking and logistics
- Personnel location monitoring
- Mobile sensor deployment
- Wildlife tracking
- Vehicle fleet management
- No external sensors required
- GPS module included in standard MamaDuck hardware
BMP180 Sensor - Temperature & pressure (Requires sensor)
BMP180 Sensor - Temperature & pressure (Requires sensor)
Description:
Monitors temperature and atmospheric pressure using the BMP180 sensor. Ideal for weather monitoring and basic environmental sensing.Features:
Hardware Connection:Required Components:
Use Cases:
Monitors temperature and atmospheric pressure using the BMP180 sensor. Ideal for weather monitoring and basic environmental sensing.Features:
- Temperature measurement (-40°C to +85°C)
- Barometric pressure (300-1100 hPa)
- Low power consumption
- I2C communication protocol
| Setting | Options | Notes |
|---|---|---|
| Sensor Interval | 30 sec to 60 min | How often sensor readings are taken |
| GPIO Pin | Configurable | Pin for sensor connection (I2C SDA/SCL) |
- BMP180 sensor module
- 4 jumper wires
| BMP180 Pin | MamaDuck Pin | Description |
|---|---|---|
| VCC | 3.3V | Power supply |
| GND | GND | Ground |
| SDA | GPIO 21 (default) | I2C Data |
| SCL | GPIO 22 (default) | I2C Clock |
- Weather station networks
- Altitude monitoring
- Indoor/outdoor climate tracking
- Agricultural monitoring
BMP390 Sensor - High-precision temperature & pressure (Requires sensor)
BMP390 Sensor - High-precision temperature & pressure (Requires sensor)
Description:
Advanced temperature and pressure monitoring with higher precision than BMP180. Ideal for applications requiring accurate environmental data.Features:
Hardware Connection:Required Components:
Precision Comparison:
Use Cases:
Advanced temperature and pressure monitoring with higher precision than BMP180. Ideal for applications requiring accurate environmental data.Features:
- Higher precision measurements
- Temperature measurement (-40°C to +85°C)
- Barometric pressure (300-1250 hPa)
- Better noise performance
- Low power consumption
| Setting | Options | Notes |
|---|---|---|
| Sensor Interval | 30 sec to 60 min | Measurement frequency |
| GPIO Pin | Configurable | Pin for sensor connection (I2C) |
- BMP390 sensor module
- 4 jumper wires
| BMP390 Pin | MamaDuck Pin | Description |
|---|---|---|
| VCC | 3.3V | Power supply |
| GND | GND | Ground |
| SDA | GPIO 21 (default) | I2C Data |
| SCL | GPIO 22 (default) | I2C Clock |
| Metric | BMP180 | BMP390 |
|---|---|---|
| Pressure Accuracy | ±1 hPa | ±0.5 hPa |
| Temperature Accuracy | ±1°C | ±0.5°C |
| Power Consumption | Standard | Lower |
| Cost | Lower | Higher |
- Precision weather monitoring
- Scientific data collection
- Altitude-sensitive applications
- Research deployments
DHT11 Sensor - Temperature & humidity (Requires sensor)
DHT11 Sensor - Temperature & humidity (Requires sensor)
Description:
Monitors temperature and relative humidity using the DHT11 sensor. Perfect for indoor climate monitoring and agricultural applications.Features:
Hardware Connection:Required Components:
Sensor Specifications:
Use Cases:
Monitors temperature and relative humidity using the DHT11 sensor. Perfect for indoor climate monitoring and agricultural applications.Features:
- Temperature measurement (0-50°C)
- Relative humidity (20-90%)
- Cost-effective solution
- Simple single-wire digital interface
| Setting | Options | Notes |
|---|---|---|
| Sensor Interval | 30 sec to 60 min | Reading frequency |
| GPIO Pin | Configurable | Digital pin for sensor data |
- DHT11 sensor module
- 3 jumper wires
| DHT11 Pin | MamaDuck Pin | Description |
|---|---|---|
| VCC | 5V (or 3.3V) | Power supply |
| GND | GND | Ground |
| DATA | GPIO 4 (default) | Data signal |
DHT11 sensors can work with both 3.3V and 5V. Check your module’s specifications. Some modules have built-in pull-up resistors.
| Specification | Range/Value |
|---|---|
| Humidity Range | 20-90% RH |
| Humidity Accuracy | ±5% RH |
| Temperature Range | 0-50°C |
| Temperature Accuracy | ±2°C |
| Sampling Rate | Max 1Hz (once per second) |
- Indoor climate monitoring
- Greenhouse automation
- HVAC optimization
- Food storage monitoring
- Museum/archive environmental control
LED Control - Rainbow LED patterns (Requires LEDs)
LED Control - Rainbow LED patterns (Requires LEDs)
Description:
Controls external addressable LEDs (NeoPixel/WS2812B) to display rainbow patterns. Useful for visual indicators, device testing, and demonstrations.Features:
Hardware Connection:Required Components:
For More LEDs (>8):Power Considerations:
Use Cases:
Controls external addressable LEDs (NeoPixel/WS2812B) to display rainbow patterns. Useful for visual indicators, device testing, and demonstrations.Features:
- Rainbow pattern display
- Supports multiple LEDs in series
- Addressable RGB control
- Configurable LED count
| Setting | Options | Notes |
|---|---|---|
| Number of LEDs | 1-60 | Total LEDs in your strip/ring |
| GPIO Pin | Configurable | Digital pin for LED data |
| Pattern | Rainbow (default) | Pattern display mode |
- WS2812B LED strip or NeoPixel ring
- External power supply (for >8 LEDs)
- Jumper wires
| LED Pin | MamaDuck Pin | Description |
|---|---|---|
| VCC | 5V | Power (USB power OK for few LEDs) |
| GND | GND | Ground |
| DIN | GPIO 4 (default) | Data input |
| LED Count | Current Draw | Power Source |
|---|---|---|
| 1-8 LEDs | <400mA | USB power OK |
| 9-30 LEDs | 400mA-2A | External 5V required |
| 30+ LEDs | 2A+ | Dedicated power supply |
- Device status indication
- Network presence visualization
- Testing and demonstrations
- Event notifications
- Educational projects
Configuration Best Practices
Extend Battery Life
Extend Battery Life
- Increase sensor intervals: 30-60 minutes for sensors, 30-60 minutes for GPS
- Disable external LEDs: Turn off when not needed for testing
- Choose appropriate sensors: BMP390 uses less power than DHT11 at high sampling rates
- Optimize GPS interval: Use 30-60 minute intervals for non-critical tracking
Improve Data Accuracy
Improve Data Accuracy
- BMP180/390: Allow 2-3 minutes warm-up time after power-on
- DHT11: Don’t sample faster than once every 2 seconds
- GPS: Allow clear view of sky for best accuracy
- All sensors: Protect from direct sunlight and moisture
Sensor Installation Tips
Sensor Installation Tips
- Verify voltage levels: Most sensors use 3.3V, some tolerate 5V
- Use quality jumper wires: Poor connections cause intermittent failures
- Secure connections: Use hot glue or electrical tape to prevent disconnections
- Test before deployment: Verify sensor readings before field installation
- Document GPIO pins: Note which pins you used for future reference
Troubleshooting
Sensor not detected
Sensor not detected
Check:
- Sensor is properly connected to correct GPIO pins
- Power and ground connections are secure
- GPIO pin number matches firmware configuration
- Sensor is compatible (voltage levels)
- Verify wiring with multimeter
- Try different GPIO pins
- Check sensor with example code
Inaccurate sensor readings
Inaccurate sensor readings
Common causes:
- Sensor needs warm-up time
- Poor electrical connections
- Sensor damaged or counterfeit
- Sampling rate too high
- Wait 2-3 minutes after power-on
- Replace jumper wires
- Source sensors from reputable suppliers
- Increase sensor interval
GPS not getting fix
GPS not getting fix
Check:
- Device has clear view of sky
- GPS antenna is connected
- Allow 1-2 minutes for initial fix
- Not indoors or under heavy foliage
- Move to open area
- Check antenna connection
- Wait for initial satellite lock
LEDs not lighting up
LEDs not lighting up
Check:
- LED data pin connected to correct GPIO
- LEDs powered (5V for WS2812B)
- Ground shared between Duck and LEDs
- Number of LEDs matches configuration
- Verify wiring connections
- Test LEDs with separate power supply
- Reduce number of LEDs if underpowered
Next Steps
Flash Firmware
Ready to flash? Follow the flashing guide
Device Types
Learn more about Duck device types
Network Management
Manage your deployed devices
Dashboard
View sensor data in real-time