Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
test-and-measurement:analog-discovery-2:reference-manual [2022/09/12 11:21] – changed forum.digilentinc.com to forum.digilent.com Jeffrey | test-and-measurement:analog-discovery-2:reference-manual [2023/04/06 11:45] (current) – Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Analog Discovery 2 Reference Manual ====== | ||
+ | ~~TechArticle~~ | ||
+ | The Digilent Analog Discovery 2™, developed in conjunction with Analog Devices®, is a multi-function instrument that allows users to measure, visualize, generate, record, and control mixed signal circuits of all kinds. The low-cost Analog Discovery 2 is small enough to fit in your pocket, but powerful enough to replace a stack of lab equipment, providing engineering students, hobbyists, and electronics enthusiasts the freedom to work with analog and digital circuits in virtually any environment, | ||
+ | |||
+ | {{Digilent Image Gallery | ||
+ | | image = {{ : | ||
+ | | image = {{ : | ||
+ | | image = {{ : | ||
+ | | image = {{ : | ||
+ | | image = {{ : | ||
+ | | image = {{ : | ||
+ | | image = {{ : | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | | image = {{reference/ | ||
+ | }} | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Oscilloscope ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | You can use the [[test-and-measurement: | ||
+ | |||
+ | When used with MTE cables, the oscilloscope channels' | ||
+ | |||
+ | Since the Analog Discovery 2's analog input channels are shared, the Oscilloscope instrument cannot be used at the same time as the Voltmeter, Data Logger, Spectrum Analyzer, Network Analyzer, or Impedance Analyzer instruments. | ||
+ | |||
+ | For more information on the analog input (" | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Triggering: edge, pulse, transition, hysteresis, and many others | ||
+ | * Cross-triggering with Logic Analyzer, Waveform Generator, Pattern Generator, or external trigger | ||
+ | * Sampling modes: average, decimate, min/max | ||
+ | * Mixed signal visualization (analog and digital signals share same view pane) | ||
+ | * Real-time views: FFTs, XY plots, histograms, spectrograms, | ||
+ | * Multiple math channels with complex functions | ||
+ | * Cursors with advanced data measurements | ||
+ | * Captured data files can be exported in standard formats | ||
+ | * Scope configurations can be saved, exported, and imported | ||
+ | |||
+ | |||
+ | --> Important Note: Grounding Circuitry # | ||
+ | |||
+ | Despite the fact that the Analog Discovery 2 analog input channels are fully differential, | ||
+ | |||
+ | The Analog Discovery 2's GND reference is connected to the USB GND. Depending on the PC powering scheme, and other PC connections (Ethernet, audio, etc. – which might also be grounded) the Analog Discovery 2 GND reference might be connected to the whole GND system and ultimately to the power network protection (earth ground). The circuit under test might also be connected to earth or possibly floating. | ||
+ | |||
+ | For safety reasons, it is the user’s responsibility to understand the powering and grounding scheme and to make sure that there is a common GND reference between the Analog Discovery 2 and the circuit under test, and that the common mode and differential voltages do not exceed specifications. Furthermore, | ||
+ | |||
+ | <-- | ||
+ | |||
+ | ---- | ||
+ | ===== Waveform Generator ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | Each waveform generator channel is considered a single ended pin, however, a connected circuit must share a ground with the Analog Discovery 2. | ||
+ | |||
+ | Since the Analog Discovery 2's analog output channels are shared, the Waveform Generator instrument cannot be used at the same time as the Network Analyzer, or Impedance Analyzer instruments. | ||
+ | |||
+ | For more information on the analog output (Wavegen) channels, please visit the [[test-and-measurement: | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Standard waveforms: sine, triangle, sawtooth, noise, and many others | ||
+ | * Advanced waveforms: Sweeps, AM, FM | ||
+ | * User-defined arbitrary waveforms: defined within WaveForms software user interface or using standard tools (e.g. Excel) | ||
+ | |||
+ | ---- | ||
+ | ===== Power Supplies ===== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The Analog Discovery 2 has two variable power supply rails that can be used to power circuits under test. These rails can be set to voltage levels between 0.5 V to 5 V and -0.5 V to -5 V respectively, | ||
+ | |||
+ | For more information on the programmable power supplies, please visit the [[test-and-measurement: | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Two programmable power supplies (0.5 V to 5 V , -0.5 V to -5 V). The maximum available output current and power depend on the Analog Discovery 2 powering choice. | ||
+ | |||
+ | ---- | ||
+ | ===== Voltmeter ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2's analog input pins can be used with WaveForms' | ||
+ | |||
+ | Since the Analog Discovery 2's analog input channels are shared, the Voltmeter instrument cannot be used at the same time as the Oscilloscope, | ||
+ | |||
+ | For more information on the analog input (" | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Measurements: | ||
+ | |||
+ | ---- | ||
+ | ===== Data Logger ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | The Data Logger can capture buffers of data at update rates of up to 10 samples per second. The maximum duration of a log is dependent on the update rate, but at the extreme, can run for over a thousand hours. | ||
+ | |||
+ | Since the Analog Discovery 2's analog input channels are shared, the Data Logger instrument cannot be used at the same time as the Oscilloscope, | ||
+ | |||
+ | For more information on the analog input (Logger) channels, please visit the [[test-and-measurement: | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Measurements: | ||
+ | * Up to 24 hours of data logged at a 1Hz sample rate | ||
+ | * Scriptable conversion functions | ||
+ | |||
+ | ---- | ||
+ | ===== Logic Analyzer ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | Individual input/ | ||
+ | |||
+ | Signal states, decoded bus values, and decoded protocols can be used to trigger a Logic Analyzer capture. Protocol triggers include protocol-specific events, like start of transmission, | ||
+ | |||
+ | Digital input/ | ||
+ | |||
+ | For more information on the digital input/ | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Multiple trigger options including pin change, bus pattern, and many others | ||
+ | * Cross-triggering between Analog input channels, Logic Analyzer, Pattern Generator, or external trigger | ||
+ | * Interpreter for SPI, I2C, UART, CAN, I2S, 1-Wire, parallel buses | ||
+ | * Scripted custom protocols | ||
+ | * Data file import/ | ||
+ | |||
+ | ---- | ||
+ | ===== Pattern Generator ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | The pins can be configured to be push/pull, open drain, open source, or three-state logic. The logic high output voltage level is 3.3V. Sample rates can go as high as 100 MS/s. | ||
+ | |||
+ | Digital input/ | ||
+ | |||
+ | For more information on the digital input/ | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Customized visualization for signals and buses | ||
+ | * User defined patterns: Truth-table based ROM logic | ||
+ | * Data file import/ | ||
+ | |||
+ | ---- | ||
+ | ===== Digital I/O ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | The Analog Discovery 2's digital input/ | ||
+ | |||
+ | Digital input/ | ||
+ | |||
+ | For more information on the digital input/ | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Virtual I/O devices (LEDs, buttons, switches, & displays) | ||
+ | * Customized visualization options available | ||
+ | |||
+ | --> Important Note: Voltage Limits # | ||
+ | |||
+ | To prevent damage to the device, care must be taken not to drive input signals to the digital input/ | ||
+ | |||
+ | <-- | ||
+ | |||
+ | ---- | ||
+ | ===== Spectrum Analyzer ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | Since the Spectrum Analyzer instrument uses the same hardware resources as the Oscilloscope, | ||
+ | |||
+ | Since the Analog Discovery 2's analog input channels are shared, the Oscilloscope instrument cannot be used at the same time as the Oscilloscope, | ||
+ | |||
+ | For more information on the analog input channels, please visit the [[test-and-measurement: | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Power spectrum algorithms: FFT, CZT | ||
+ | * Frequency range modes: center/ | ||
+ | * Frequency scales: linear, logarithmic | ||
+ | * Vertical axis options: voltage-peak, | ||
+ | * Windowing: options: rectangular, | ||
+ | * Cursors and automatic measurements: | ||
+ | * Data file import/ | ||
+ | |||
+ | ---- | ||
+ | ===== Network Analyzer ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | A sweep is performed in order to test the response of the circuit at varying frequencies. The wave used to perform this sweep can be customized and uses the same resources as the Waveform Generator instrument. | ||
+ | |||
+ | The Network Analyzer instrument uses the analog output and analog input channels of the Analog Discovery 2 to probe a test circuit. The Network Analyzer can be configured to use an external signal to provide input to the circuit under test, rather than using the analog output channels. | ||
+ | |||
+ | Since the Analog Discovery 2's analog input and output channels are shared, the Network Analyzer instrument cannot be used at the same time as the Oscilloscope, | ||
+ | |||
+ | For more information on the analog output and analog input channels, please visit the [[test-and-measurement: | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Available diagrams: Bode, Nichols, Nyquist, and FFTs | ||
+ | * Settable input amplitude and offset | ||
+ | * Analog input records response at each frequency | ||
+ | |||
+ | ---- | ||
+ | ===== Impedance Analyzer ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | A sweep is performed in order to test the response of the circuit at varying frequencies. The signal used to perform the sweep can be selected from a variety of presets, with configurable amplitude and offset. An external network analyzer reference circuit can be selected from a variety of options. | ||
+ | |||
+ | The Impedance Analyzer instrument uses the analog output channels and analog input channels of the Analog Discovery 2 to probe a test circuit. | ||
+ | |||
+ | Since the Analog Discovery 2's analog input and output channels are shared, the Impedance Analyzer instrument cannot be used at the same time as the Oscilloscope, | ||
+ | |||
+ | For more information on the analog output and analog input channels, please visit the [[test-and-measurement: | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Chart views for Voltage, Current, Impedance, Admittance, Capacitance, | ||
+ | * Alternative simple Meter view | ||
+ | * Selectable external compensation circuit | ||
+ | * Data file export using standard formats | ||
+ | |||
+ | ---- | ||
+ | ===== Curve Tracer ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | A reference circuit external to the Analog Discovery 2 is required, or the [[test-and-measurement/ | ||
+ | |||
+ | Circuit diagrams are provided in WaveForms, regardless of whether the Transistor Tester Adapter is used or not, which indicate how each leg of the device under test is to be connected to the Analog Discovery 2 or the adapter. | ||
+ | |||
+ | Since the Analog Discovery 2's analog input and output channels are shared, the Curve Tracer instrument cannot be used at the same time as the Oscilloscope, | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Works with diodes, NPN and PNP transistors, | ||
+ | * Performs a variety of selectable measurements depending on the device under test, covering many combinations of base/ | ||
+ | * Settable voltage sweep ranges and current limits | ||
+ | |||
+ | ---- | ||
+ | ===== Protocol Analyzer ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | The Analog Discovery 2 can be used with WaveForms' | ||
+ | |||
+ | Custom scripts can be written within the Protocol Analyzer instrument to generate sequences of SPI or I2C transactions. | ||
+ | |||
+ | Since it uses the same hardware resources as the Logic Analyzer and Pattern Generator instruments, | ||
+ | |||
+ | For more information on the digital input/ | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Supports UART, SPI, I2C, and CAN protocols | ||
+ | * Scriptable transaction sequences for SPI and I2C | ||
+ | * Configurable data rates, modes, and others | ||
+ | * Send/ | ||
+ | |||
+ | ---- | ||
+ | ===== WaveForms Script Editor ===== | ||
+ | |||
+ | {{test-and-measurement: | ||
+ | |||
+ | Each of WaveForms' | ||
+ | |||
+ | A variety of code examples are available in the application to aid in learning to write WaveForms scripts. Additional resources for writing scripts can be found on the Test and Measurement section of the [[https:// | ||
+ | |||
+ | A plot pane within the Script instrument itself can be used to integrate data from many different instruments, | ||
+ | |||
+ | For a walkthrough of the different features of WaveForms' | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Available within the WaveForms application | ||
+ | * Simultaneous control of all instruments through JavaScript | ||
+ | * Automatable GUI actions | ||
+ | * Custom data analysis and manipulation functions | ||
+ | |||
+ | ---- | ||
+ | ===== WaveForms Software Development Kit (SDK) ===== | ||
+ | |||
+ | The WaveForms SDK is a set of software libraries and examples that can be used to develop custom applications that can control Digilent Test and Measurement devices. Supported languages include C, C++, C#, Visual Basic, and Python. Third party toolkits are available for LabVIEW and MATLAB. Instructions for using WaveForms with LabVIEW are available through the [[https:// | ||
+ | |||
+ | ==== Features ==== | ||
+ | * Downloaded via the WaveForms installer, used independently of the WaveForms application | ||
+ | * Languages supported: C/C++, C#, MATLAB, Python, Visual Basic | ||
+ | * Provides control of hardware channels and virtual instruments to custom applications | ||
+ | |||
+ | ---- |