Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
learn:instrumentation:tutorials:waveforms-sdk-thingspeak [2019/10/21 15:38]
Laszlo Attila Kovacs
learn:instrumentation:tutorials:waveforms-sdk-thingspeak [2019/11/19 22:58] (current)
Arthur Brown
Line 1: Line 1:
-====== WaveForms SDK ThingSpeak.com ======+====== ​Sending Data from WaveForms SDK to ThingSpeak.com ====== 
 +===== Overview ​=====
  
-Go to [[http://​thingspeak.com|thingspeak.com]], sing in or sign up.+ThingSpeak, created by MathWorks, is an online platform for collecting, viewing, and analyzing data in the cloud. This guide runs through the steps required to send data captured by your WaveForms SDK compatible Digilent Test and Measurement Device up to ThingSpeak. 
 + 
 +===== Guide ===== 
 +=== 1. === 
 +Go to [[http://​thingspeak.com|thingspeak.com]] ​and sign in or sign up.
  
 {{:​learn:​instrumentation:​tutorials:​thingspeak-1.png|sign up}} {{:​learn:​instrumentation:​tutorials:​thingspeak-1.png|sign up}}
 +----
  
- +=== 2. === 
-Under Channel ​select My Channel ​and create a New Channel. ​+In the //​Channels//​ menu select ​//My Channels// ​and create a **New Channel**.
  
 {{:​learn:​instrumentation:​tutorials:​thingspeak-2.png|new channel}} {{:​learn:​instrumentation:​tutorials:​thingspeak-2.png|new channel}}
 +----
  
 +=== 3. ===
 +<wrap group><​wrap column half>
 +Configure the channel settings, name, and fields:
 +</​wrap><​wrap column half>
 +{{ :​learn:​instrumentation:​tutorials:​thingspeak-3.png?​800|edit channel}}
 +</​wrap></​wrap>​
 +----
  
-Configure the channel settings, name, fields...+=== 4=== 
 +<wrap group><​wrap column half> 
 +Under //API Keys//, note the **Write API Key** that will be needed to push data to the server from the custom application or script: 
 +</​wrap><​wrap column half> 
 +{{:​learn:​instrumentation:​tutorials:​thingspeak-4.png?​800|keys}} 
 +</​wrap></​wrap>​ 
 +----
  
-{{ :​learn:​instrumentation:​tutorials:​thingspeak-3.png|edit channel}}+=== 5. === 
 +Download the {{analogimpedance_thinkspeak.zip|AnalogImpedance.py}} script, then edit it and replace the "​8C####​BU"​ with the Write API Key, as seen below:
  
 +<​code>​url = "​https://​api.thingspeak.com/​update?​api_key=8C############​BU"</​code>​
  
-Under API Keys note the Write API Key that will be needed to push data to server from our custom application or script. +Run the script on Windows, macOS, Linux desktopor on an embedded ​device ​like Raspberry Pi:
- +
-{{:​learn:​instrumentation:​tutorials:​thingspeak-4.png|keys}} +
- +
-In the [[:​learn:​instrumentation:​tutorials:​analogimpedance_thinkspeak.zip|AnalogImpedance.py]] script replace the 8C####BU with your key. +
- +
-url = "​https://​api.thingspeak.com/​update?​api_key=8C############​BU"​ +
- +
-Run the script on Windows, macOS, Linux desktop or on embedded like RaspberryPi+
  
 {{:​learn:​instrumentation:​tutorials:​thingspeak-6.png|execute}} {{:​learn:​instrumentation:​tutorials:​thingspeak-6.png|execute}}
 +----
  
 +=== 6. ===
 +<wrap group><​wrap column half>
 +Once the data has been sent to ThingSpeak, the default charts can be seen in the //Private View// and //Public View// tabs:
 +</​wrap><​wrap column half>
 +{{:​learn:​instrumentation:​tutorials:​thingspeak-5.png?​600|view}}
 +</​wrap></​wrap>​
 +----
 +===== Next Steps =====
  
-In the Private/​Public View you will see the default charts. +Now that data can be transferred between ​the test and measurement device and ThingSpeak, ​the script can be modified as needed for your project.
- +
-{{:​learn:​instrumentation:​tutorials:​thingspeak-5.png|view}}+
  
 +For more information on WaveForms SDK, see its [[reference:​software:​waveforms:​waveforms-sdk:​start|Resource Center]].
  
 +For technical support, please visit the [[https://​forum.digilentinc.com/​forum/​8-scopes-instruments/​|Scopes and Instruments]] section of the Digilent Forums.