Skip to content

Navigation

๐Ÿ“š Documentation Home โ†’ Guides โ†’ ThingSpeak Overview

ThingSpeak Overview Guide

Cloud analytics and data visualization for Modbus Monitor. Works with both Windows (XPF) and Android.

ThingSpeak Channel

What is ThingSpeak?

ThingSpeak is a cloud platform (by MathWorks) designed for IoT data collection, real-time monitoring, data storage, visualization, and basic analytics.

Both Modbus Monitor XPF (Windows) and Modbus Monitor Advanced (Android) can publish Modbus data directly to ThingSpeak using simple HTTP. On ThingSpeak, you create Channels, and each channel contains up to 8 data fields (Field 1โ€“Field 8). Each incoming update from your Modbus Monitor app becomes an Entry, shown in:

  • Line charts
  • Gauges
  • Dashboards
  • Analytics scripts (MATLAB)
  • Export formats (CSV, JSON, XML)

Key Features:

  • โœ… Auto-generated Charts - Real-time visualization of up to 8 data channels
  • โœ… Cloud Storage - Free public channels, paid private options
  • โœ… MATLAB Analytics - Run scripts on your data
  • โœ… Real-time Alerts - Email/SMS notifications based on thresholds
  • โœ… Public Sharing - Embed charts or share view links
  • โœ… Data Export - CSV, JSON, XML downloads

Common Use Cases:

  • Remote plant / industrial device monitoring
  • Tank level and flow system visualization
  • Long-term machine health trending
  • Over-temperature or low-level alerting
  • Dashboard creation for technicians or managers

Why Use ThingSpeak with Modbus Monitor?

Integrating ThingSpeak provides a ready-made cloud system that requires no servers, no database setup, and no programming. Your Modbus data becomes instantly accessible anywhere โ€” on phone, tablet, or PC.

Benefits Across Both Platforms

  • ๐ŸŒŽ Remote monitoring from any location
  • ๐Ÿ“ˆ Automatic historical charts
  • ๐Ÿ”” Threshold-based alerts
  • ๐Ÿ’พ Cloud data storage without maintaining servers
  • ๐Ÿ›  Works with both XPF (Windows) and Android
  • ๐Ÿ”ง Simple setup: Channel ID + API Key
  • ๐Ÿ”„ Updates at your configured polling rate
  • ๐Ÿ“ค Clean, secure cloud interface for customer access

Getting Started (All Platforms)

Step 1: Create ThingSpeak Account

  1. Visit thingspeak.com
  2. Sign up (free account available)
  3. Verify email

Step 2: Create Channel

  1. Go to Channels โ†’ New Channel
  2. Name: e.g., "Modbus Monitor"
  3. Description: Your project description
  4. Add Fields: Create up to 8 fields (Field 1, Field 2, etc.)
  5. Save and note your Write API Key

Step 3: Configure Your Platform

Step 4: Verify Data Flow

  • Start polling/monitoring on your app
  • Open ThingSpeak channel dashboard
  • Charts should update within your configured interval

Platform Setup

  • Windows Setup


    Modbus Monitor XPF + ThingSpeak Add-on

    • Advanced desktop application
    • Professional monitoring tools
    • Extended data logging features

    Windows Setup Guide

  • Android Setup


    Modbus Monitor Advanced + ThingSpeak Add-on

    • Works with TCP/IP, USB Serial, Bluetooth
    • Integrates with MQTT & Google Sheets
    • Mobile-friendly field setup

    Android Setup Guide


Key Concepts

API Keys

  • Write API Key: Used by your app to send data to ThingSpeak
  • Read API Key: Used to retrieve data from ThingSpeak
  • Keep Write API Key private

Update Intervals

  • Free Tier: Minimum 15 seconds between updates
  • Commercial Tier: Can be as low as 1 second
  • Check ThingSpeak pricing for limits

Field Mapping

  • Monitor points are assigned to ThingSpeak fields in order
  • Point 1 โ†’ Field 1, Point 2 โ†’ Field 2, etc.
  • Maximum 8 fields per channel

Common Tasks

How do I create multiple channels?
Create one channel per data collection project. Use different API keys for each.

Can I make my ThingSpeak data public?
Yes. Enable "Public View" in your channel settings to share charts.

How long is data stored?
Free tier: Unlimited (within API limits). Check ThingSpeak pricing for commercial plans.

Can I export data?
Yes. Go to your channel โ†’ Data Export tab. Download as CSV, JSON, or XML.


FAQ

Can I upload to multiple ThingSpeak channels?

Yes. Each XPF instance uploads data to ThingSpeak channels using the first 8 Monitoring Points (if assigned).

To publish to multiple channels:
- Run multiple XPF instances, define one or more Monitoring Points

Does ThingSpeak work with write-only Modbus access?

Yes. You will need a Write API Key to send data to your ThingSpeak channel.
Check your ThingSpeak account under Channels โ†’ API Keys and use the key listed in the Write API Key section.

Can I run XPF 24/7?

Yes. Set up Windows Task Scheduler for automated polling. Monitor CPU/network usage to ensure device stability.

What data is kept locally in XPF?

XPF keeps local CSV/log files per session. These are separate from ThingSpeak cloud storage. Configure export options in Tools โ†’ Options.

Can I see upload history?

Yes. View โ†’ Event Log, then filter by "ThingSpeak". Shows all upload successes, failures, and timestamps.

What if my Modbus values are negative or decimals?

ThingSpeak accepts any numeric value. Negative numbers, decimals, and scientific notation all work fine.


Support & Resources

Need help? Contact support@quantumbitsolutions.com