使用覆盆子PI 4和模拟发现分析云上的测量数据2

对于任何你的大大小的文件,可以是certain that most providers will keep files in the cloud to save storage space. That way, you’ll have access to everything no matter where you’re trying to get to it from.

The “Internet of Things” (IoT) is a new trend where a large number of embedded devices are connected to the Internet via the cloud. These devices communicate sometimes with people and sometimes with other devices, often to provide sensor data and other measurement information to cloud storage and cloud computing resources. On the cloud, the data is processed and analyzed to gain important insights.

Using the cloud and cloud-based computer is relatively cheap, so it’s no wonder that it is becoming a popular resource in embedded design. As IoT evolves, embedded systems are staking their own claim on the cloud. Whether it be home-brewed projects to or more intricate designs or measurements, cloud computing is becoming more prevalent. Have you ever wanted to get in on the action? With the Digilent模拟发现2波形软件和Raspberry Pi 4那you can send measured data and signals directly to thethingseak.com.cloud and eventually analyze them.

模拟发现2是便携式模拟测量工具,足够小以适合您的口袋,但足够强大,以取代一堆实验室设备。由自由波形软件驱动,模拟发现2可以配置为使用示波器,波形发生器,电源,电压表,数据记录器,逻辑分析仪,图案发生器,静电I / O,频谱分析仪等几种传统仪器中的任何一种。,网络分析仪,阻抗分析仪和协议分析仪

波形是一款由DigIlent开发的软件,旨在与模拟发现2和模拟发现演播室一起使用。波形为2通道示波器,逻辑分析仪,任意波形发生器,数字I / O等提供用户界面。它可以自由下载并兼容Mac(Apple),Windows和Linux(32位,64位和ARM)。

如何安装波形

第1步:下载波形
本教程将指导您完成Raspberry PI 4 Model B的安装过程中涉及的步骤从网站下载它。我们将在本教程中使用Raspberry Pi 4 Model B 1GB版本。2GB和4GB版本的Raspberry PI 4 Model B也适用于本教程。

下载correct installation file for WaveFormsfor your distribution of Linux. Since we are using a Raspberry Pi 4 Model B with the Raspbian OS, we will choose the Debian flavor of the手臂建造。

Step 2: Download Adept 2
下载正确的版本娴熟2。确保Adept Install文件的版本与波形相同。我们选择了Waveform的ARM版本,因此我们将使用运行时和公用设施的ARM版本。

Step 3: Install both Adept 2 and Waveforms

笔记:如果您没有插入模拟发现2,则会弹出一个窗口,并将警告说明未检测到设备。您无需使用设备来运行软件,因此请继续并单击“确定”继续。

Step 9: Run Demo Mode in WaveForms
设备管理器现在将打开。单击“演示模式”,然后单击“选择”。

Step 10: Demo Mode Oscilloscope
As mentioned previously, if you don’t have an Analog Discovery 2 yet, that’s okay. You can still run WaveForms in demo mode and get a feel for the interface and capabilities.

The below image is a demo of the oscilloscope displaying a sine and square wave.

Step 11: Plug in Analog Discovery 2
If you plug in the Analog Discovery 2, a window will pop up indicating that it was detected. Select “OK” to proceed.

Step 12: Device Manager
If you open the device manager, or you have the Analog Discovery 2 plugged in when WaveForms is open, the window displayed in the image below will appear. Select the Analog Discovery 2 just as you did for demo mode.

Now that you are connected and have WaveForms installed, you can view the tutorials for each Instrument on the波形资源中心

将数据从WaveForms SDK发送到MorestPeak.com

意思那created byMathWorks.那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 compatibleDigilent.Test and Measurement Device up to ThingSpeak.

Step 1.

thingseak.com.and sign in or sign up.


Step 2.

In the渠道菜单选择我的渠道并创造一个New Channel

第3步。

配置频道设置,名称和字段:

第四步。

在下面API键那note theWrite API Key将需要从自定义应用程序或脚本将数据推送到服务器:

第5步。

下载Analactimpedance.py.脚本,然后编辑它并用Write API键替换“8C #### BU”,如下所示:

URL =“https://api.thingspeak.com/update?api_key=8c#############b”

Run the script on Windows, macOS, Linux desktop, or on an embedded device like Raspberry Pi:


第6步。

Once the data has been sent to ThingSpeak, the default charts can be seen in the私人观and公众视图标签:

下一步

既然数据可以在测试和测量设备之间传输,并且可以根据需要修改脚本。

有关Waveforms SDK的更多信息,请参阅它资源中心

0.

One Comment on “Analyze Measurement Data on Cloud Using Raspberry Pi 4 and Analog Discovery 2”

  1. 亲爱的亚历克斯,
    好演讲。
    How are you !
    I will try to test it in the next days for my students.
    来自罗马尼亚的Doru

    Prof.dr. Doru Ursutiu
    AOSR.SOSR.SOSR.
    IAOE过去总统
    igip“nikola tesla”金链
    工程教育的杰出成绩
    IGIP荣辱作品(ING.PAED.IGIP)
    AE of IEEE Transactions in Education
    http://www.online-engineering.org
    “Transilvania” University of Brasov
    str。Oltenia nr.2a.
    RO-500209,Brasov,罗马尼亚
    电话:+ 40-268-413000
    Mobile: +40(0)744-756640

Leave a Reply

Your email address will not be published.