element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Blog Automated Test on Analog Discovery Pro
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: alexwonglik1
  • Date Created: 4 Nov 2021 6:04 AM Date Created
  • Views 2534 views
  • Likes 3 likes
  • Comments 0 comments
  • mixed signal oscilloscope
  • python
  • analog discovery pro
  • mixed signal
  • instruments
  • test and tools
  • software development
  • mso
  • spi
  • pro
  • usb oscilloscope
  • thermocouple
  • test and measurement
  • automated test
  • digilent
  • adc
  • test & measurement
  • analogtodigitalconverter
  • analog
  • analog discovery
  • linux
Related
Recommended

Automated Test on Analog Discovery Pro

alexwonglik1
alexwonglik1
4 Nov 2021

This project demonstrates how to use the Analog Discovery Pro in Linux mode to run the automated test on Digilent PmodAD5, an SPI-enabled analog to digital converter (ADC). The test is utilized Digilent WaveForms Software Development Kit (SDK) to measure analog signals going into the Pmod AD5 and SPI controls to read data out, comparing the two results.

 

The ADP3450 ADP3450 and ADP3250ADP3250 are the first in the line of Analog Discovery Pro devices and take the analog and digital instruments from the internationally popular Analog Discovery and turn up key functionalities to meet the growing need for professional-level home electronics test benches. At the heart of each device is a four or two-channel high-resolution oscilloscope, offering 14-bit resolution at up to 0.5 GS/s. Additionally, to meet the needs of an increasingly digital world, 16 dedicated digital channels make the Analog Discovery Pro a true mixed-signal oscilloscope. With the included digital power supply, digital outputs, two-channel arbitrary waveform generator, and two dedicated external triggers the Analog Discovery Pro come with 12 instruments ready to analyze mixed-signal systems through our free software, WaveForms.  For this project, besides the Analog Discovery Pro, Pmod AD5 is used. The Pmod AD5 Pmod AD5 is an analog-to-digital converter that utilizes a fourth-order sigma-delta modulator, a programmable gain array, and on-chip digital filtering, all powered by the Analog Devices AD7193.

 

imageimage

 

Hardware Set-up

Plug the BNC connector of the scope probe into Oscilloscope Channel 1 and the MTE cable into the digital MTE connector. Connect the DIO channels, ground, and VIO from the Analog Discovery Pro to the PmodAD5 as shown in the below image. Connect the Analog Discovery Pro to a host computer via USB. The DIO channel connections are provided for reference below.

  • DIO0 connected to pin 1 on the Pmod AD5
  • DIO1 connected to pin 4 on the Pmod AD5
  • DIO2 connected to pin 2 on the Pmod AD5
  • DIO3 connected to pin 3 on the Pmod AD5

 

image

 

Software Configuration

Open Digilent WaveForms and select Linux mode. We are going to use the terminal emulator (e.g. PuTTY or TeraTerm), so you need to find out which serial port is connected to Analog Discovery Pro in the host computer. The serial port needs to be configured as 115200 Baud, 8 data, 1 stop, and no parity bits. The test script file is ready to be downloaded on Digilent reference page. Put the downloaded file on a USB drive. Then, plug the drive into the USB host (at the back of the Analog Discovery Pro). Next, you can find the path of the USB drive and mount it in the terminal emulator.

 

How does the test work?

The test is written in Python. In the beginning, various instruments in Analog Discovery Pro are initialized and the Pmod AD5 is configured and calibrated. The test is started by beginning an analog acquisition to measure the voltage at the thermocouple junction. With the acquisition underway, the ADC is instructed to perform a conversion. The data given by the PmodAD5 is converted into proper voltage values and the average of the acquired samples is calculated before the result is displayed. The test runs continuously until Ctrl+C is pressed and the device is closed.

 

When you run the script in Python, it issues a read command over SPI, records the results, and continues to the next voltage until there are none left.

 

image

 

Get the project details and the documented script on the Digilent Reference Page.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube