Navigation
๐ Documentation Home โ Guides โ ThingSpeak Overview
ThingSpeak Overview Guide¶
Cloud analytics and data visualization for Modbus Monitor. Works with both Windows (XPF) and Android.
¶
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¶
- Visit thingspeak.com
- Sign up (free account available)
- Verify email
Step 2: Create Channel¶
- Go to Channels โ New Channel
- Name: e.g., "Modbus Monitor"
- Description: Your project description
- Add Fields: Create up to 8 fields (Field 1, Field 2, etc.)
- Save and note your Write API Key
Step 3: Configure Your Platform¶
- Windows Users: Follow Windows Setup
- Android Users: Follow Android Setup
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
-
Android Setup
Modbus Monitor Advanced + ThingSpeak Add-on
- Works with TCP/IP, USB Serial, Bluetooth
- Integrates with MQTT & Google Sheets
- Mobile-friendly field setup
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¶
- ThingSpeak Documentation: thingspeak.com/docs
- ThingSpeak Forums: thingspeak.com/forums
- Our Support: quantumbitsolutions.com/support
Need help? Contact support@quantumbitsolutions.com