Welcome to the Digilent! Here you can find our latest news, videos, and product details. Additionally, you can engage with us in our forums.
Digilent, an NI company, has been at the forefront of innovation since 2000, crafting hardware and software solutions that empower engineers, researchers, educators, and scientists to design and test with unparalleled flexibility. Our customizable solutions cater to both seasoned professionals and emerging engineers, accelerating development while maintaining a low barrier to entry.
We're committed to accessibility, offering competitive pricing, portable products, and comprehensive documentation. With a global presence spanning three continents, Digilent ensures speedy and cost-effective access to our products through an extensive distribution network. Specializing in Xilinx-based FPGA development boards, USB-based test and measurement devices, a variety of expansion modules for customizing applications, and the respected MCC DAQ product line, our design philosophy champions your creativity. By emphasizing speed, modularity, customizability, world class support, and open-source principles, we provide the building blocks while you bring the brilliance.
This post shows how to create harmonics in a specific signal with the Analog Discovery 2Analog Discovery 2 and look at the spectrum through FFT mode. We will use the Oscilloscope and Waveform / Signal Generator instruments in Analog Discovery 2.
A harmonic is a signal whose frequency is an integral multiple of the frequency of some reference signal. Every periodic signal has its lowest frequency which is called fundamental frequency. The further sine waves each are the base frequency multiplied by a specific index. For example the second sine wave's frequency is equal to 2 multiplied by the fundamental frequency.
The Fourier transform (FT) decomposes a signal into its constituent frequencies and shows that any signal can be re-written as the sum of sinusoidal functions. It is also a mathematical method for transforming a function of time into a function of frequency , i.e. transforming from the time domain to the frequency domain. The Fast Fourier transform (FFT) computes the Discrete Fourier transform (DFT) of a sequence.
The first step is to connect the Analog Discovery 2 to your computer. Connect 1+ (oscilloscope positive input, orange wire) to W1 (waveform generator output, yellow wire) and 1- (oscilloscope negative input, orange and white wire) to GND (ground, black wire).
Next, you open Digilent WaveForms and choose WaveGen (Waveform / Signal Generator) in the Welcome Tab.
In the Wavegen tab, you need to go through the following steps to generate harmonics
waveform generator code var amp = [1,0,0,0,0,0,0,0,0,0]; //amplitude values from 0 to 1 (0-100%) var ph = [0,0,0,0,0,0,0,0,0,0]; //phase values from 0 to 1 (0-360 degrees) Y = amp[0] * sin((1 * 2*PI*X) + 2*PI*ph[0]) + amp[1] * sin((2 * 2*PI*X) + 2*PI*ph[1]) + amp[2] * sin((3 * 2*PI*X) + 2*PI*ph[2]) + amp[3] * sin((4 * 2*PI*X) + 2*PI*ph[3]) + amp[4] * sin((5 * 2*PI*X) + 2*PI*ph[4]) + amp[5] * sin((6 * 2*PI*X) + 2*PI*ph[5]) + amp[6] * sin((7 * 2*PI*X) + 2*PI*ph[6]) + amp[7] * sin((8 * 2*PI*X) + 2*PI*ph[7]) + amp[8] * sin((9 * 2*PI*X) + 2*PI*ph[8]) + amp[9] * sin((10 * 2*PI*X) + 2*PI*ph[9]);
First, you choose Scope in the Welcome tab.
Then, you pick the following options in the scope
Read the step by step guide and see more examples of signals in Digilent Wiki.
Digilent Nexys VideoDigilent Nexys Video, Xilinx Artix 7-200T platform ( More InfoMore Info ), is an ideal development board for audio/video applications. There are three high-speed digital video ports, and a 24-bit audio codec on board.
With the on board memory and audio ports, Digilent engineer built an audio looper on Nexys Video. There are 16 banks so that users can record audio tracks and play them back at the same time. The audio data is sampled at 48KHz through on-board line in jack. The audio signals are then output through on-board line out jack. While a bank is playing, users can record additional tracks on other banks. If users play/record on a bank that is already playing, it will overwrite the audio on that bank.
Read all the steps and download the necessary files in Digilent Wiki Page to build your audio looper.
Digilent Digital Discovery is a combined logic analyzer and pattern generator instrument and allows you to debug, visualize,
and simulate signals in digital systems. LCD displays are used in a wide range of devices. The most common version uses a 2×16 character array.
You can use Digital Discovery to understand the operations of the LCD display. To do so, you need the following hardware and software.
Hardware
Then, you can plug the HD44780 LCD on LCD Keypad shield and stack the module on the Arduino Uno. You also need to download the sketch to the Arduino board. After that, you need to connect the Digital Discovery to the HD44780 LCD. The below picture shows the hardware set-up.
After you open WaveForms software and turn on Logic Analyzer instrument, you can add the following signals and buses
You can try different command and look at each bus and signal. When commands of 0x01 (“clear display”) and data 0x50 (letter “P” encoded in ASCII) are sent, you can see the LSB and 3rd bit are driven respectively.
Go through the step by step guideline and get the example code in the Digilent Wiki
Analog Discovery Studio: The Portable Circuits Laboratory for Everyone
Provides an entire stack of benchtop instruments with a convenient breadboardable interface
The Analog Discovery Studio is a fully-functional portable test and measurement device that can
turn any cross-functional space into a pop-up electronics laboratory. Equipped with 13 instruments including an Oscilloscope,
Logic Analyzer, Spectrum Analyzer, Waveform Generator, and more; the Analog Discovery Studio provides an entire
stack of benchtop instruments with a convenient breadboardable interface, perfect for enabling circuit design anywhere!
Its durable enclosure measures 1.25 x 9.25 x 7.5 inches and fits on a bench, desktop, or backpack. Users can access the
Oscilloscope and Waveform Generators via breadboardable MTE cables, or industry standard BNC cables, and the Logic
Analyzer, Pattern Generator, and Triggers can be accessed via MTE cables. Circuits or designs can be built on the included, magnetically connected Breadboard Canvas and conveniently swapped out or removed for transit, making the transition
from working in the lab to working at home as seamless as possible. The Breadboard Canvas also includes power supply
outputs controlled by physical switches, common I/O built-in, and a large breadboardable surface.
Features
Analog Inputs:
• Used in the Oscilloscope, Network Analyzer, Spectrum Analyzer, Voltmeter, Impedance Analyzer, and Data Logger
• Two analog input channels, accessible through BNC or MTE connectors
• Channel type: differential (with MTE) or single-ended (with BNC)
• Analog bandwidth with BNC cables: 30+ MHz @ 3dB
• Analog bandwidth with MTE cables: 9 MHz @ 3dB
• Input range ±25 V (±50 V diff)
• Input protected to ±50 V
• 14-bit resolution
Analog Outputs:
• Used in the Waveform Generator and Network Analyzer
• Two arbitrary waveform generator channels, accessible through BNC or MTE connectors
• AC amplitude (max): ±5 V
• Analog bandwidth (BNC or MTE connectors: 8 MHz @ 3dB
Digital Inputs and Outputs:
• Used in the Logic Analyzer, Pattern Generator, Protocol Analyzer, and Digital I/O
• Channels: 16
• Input logic standard: LVCMOS (1.8/3.3V, 5V tolerant)
• Output logic standard: LVCMOS (3.3V, 12mA)
Power Supplies:
• 12 volt supply: 12V ±5%; 0.2 Amps max
• -12 volt supply: -12V ±5%, 0.2 Amps max
• 5 volt supply: 5.0V ±5%; 1.0 Amps max
• 3.3 volt supply: 3.3V ±5%; 1.0 Amps max
• V+ and V- rails: 1V to 5V (V+), and -1V to -5V (V-)
• Maximum power output: 2.1W for each supply
• Maximum current output: 700mA for each supply.
Find out more information and order the Analog Discovery Studio on the Digilent Website.
The ZedBoard Advanced Image Processing KitZedBoard Advanced Image Processing Kit was built to use the video processing capabilities of the Zynq-7000 AP SoC's tightly coupled ARM processing system and 7-series programmable logic.
Included in the bundle is a ZedBoard, an FMC Pcam Adapter, and up to four Pcams to create the ultimate video streaming setup. This bundle has everything you'll need for setup, including the ribbon cables for connection to the Pcams and Pcam Adapter.
This project demonstrates the usage of the FMC Pcam AdapteFMC Pcam Adapter as an interface from one up to four different PcamPcam cameras and the ZedBoard platform. The video stream from each different camera is getting in through the MIPI/FMC connectors and out through the carrier VGA port.
What do you need for this project?
The project file is available for download at Digilent Resource Center
After you have downloaded the project file, you can walk through steps in the project guide to create the multiple camera streaming application and potentially build the embedded vision system by loading the image processing algorithm.
OpenLogger is a high-resolution data logger designed to provide quality measurements without the limits of traditional data logging or data acquisition solutions.
You can take advantage of eight analog channels, two power supplies, a function generator, eight digital I/O, and a wireless connection to deploy a data logging system compatible with a wide range of sensors.
Data can be streamed to the user interface, WaveForms Live, or logged to an SD card providing the ability to save large amounts of data and check the status of systems in real-time.
This guide walks through getting the OpenLogger set up to start logging data, from installing all required software to calibrating the device and updating its firmware.
At the end of this guide, the Digilent Agent and Waveforms Live will be running and configured to work with an OpenLogger connected to the local computer.
This whole process will take approximately 10 minutes.
1. Set Up the Digilent Agent
The Digilent Agent is a service that runs in the system tray on Windows, Mac, and Linux and enables WaveForms Live to communicate with Digilent hardware.
The Digilent Agent makes it easy to update the OpenLogger's firmware, configure its WiFi, and calibrate its instruments.
Download and install the Digilent Agent using the installers found on the Digilent Agent's Resource Center.
2. Launch WaveForms Live and Connect the OpenLogger
WaveForms Live provides a browser-based instrumentation environment for managing devices and acquiring data. More information about WaveForms Live and how it interacts with the OpenLogger can be found on their Resource Centers (WaveForms Live, OpenLogger).
1. Launch the Digilent Agent. The Digilent Agent must be running to allow Waveforms Live to communicate with the OpenLogger.
2. Connect the OpenLogger to the computer via a micro-USB cable.
3. Launch WaveForms Live by navigating to waveformslive.com on a web browser. Alternatively, right-click the Digilent Agent in the system tray and click Launch WaveForms Live - this will navigate to waveformslive.com in the default web browser if internet access is available, or a locally hosted version of WaveForms Live otherwise.
4. In WaveForms Live, at the top of the screen, click the ADD A DEVICE button.
5. Choose the AGENT option to connect WaveForms Live to the OpenLogger.
6. Click the 'plus' button to add a new device via the Digilent Agent.
7. Choose the suggested OpenLogger device that appears in the drop-down box.
3. Update the OpenLogger's Firmware
Upon establishing a connection to the OpenLogger for the first time, WaveForms Live will check the device's firmware to see if it needs to be updated. The firmware must be updated from the factory default before the OpenLogger can be used.
1. Click Update Firmware and follow the instructions to update the firmware on the OpenLogger.
2. Review the Current Firmware Version on the device and the Latest Firmware Version available.
3. Select the latest Available Firmware Version.
4. At the bottom right corner of the screen, click Update to load the new firmware onto the device. The firmware update will take about 10 seconds to complete.
5. With the update complete, click Done.
4. Calibrate the OpenLogger
Before being used for the first time, a new OpenLogger must first be calibrated.
This process determines constants used to accurately calculate analog voltages for data points being logged, and stores these constants in non-volatile memory.
Note: After the first-time calibration, described in this guide, a device can be recalibrated, if desired, through its Configuration Menu, found through the Device Manager in WaveForms Live.
1. When the device is connected to WaveForms Live for the first time, a prompt to calibrate the OpenLogger will appear. Click OK.
2. Connect the provided 2×18 fly wires to the OpenLogger with the nub side facing towards the center of the OpenLogger.
3. Connect the red wire on pin 6 (DC OUTPUT 1) to the solid orange wire on pin 35 (Analog Input 1).
4. In WaveForms Live, click the Begin button to begin calibrating Analog Input 1.
5. Wait for the calibration initialization to complete.
6. Connect the solid blue pin 33 (Analog Input 2 to the same red wire previously used and click the Next button.
7. After calibrating Analog Input 2, continue through the remaining 6 analog inputs (the pink, green, gray, purple, yellow, and brown wires) until calibration is complete. Once all analog inputs have been calibrated, click the DONE button.
8. A final calibration complete screen will appear. Click the DONE button - see the image to the right.
9. Click the DONE button at the bottom of the page to back out to the configuration screen.
10. In the device configuration screen, click the back arrow at the top left of the page to return to the device selection screen.
Next Steps
Read the entire step by step guide on the Digilent's Blog and take a look at some of the other guides, tutorials, and projects available on the OpenLogger's Resource Center.
The Genesys ZU-3EGGenesys ZU-3EG is a standalone board designed with optimized specs, multimedia, and network connectivity interfaces, with a robust documentation library
to quickly get you started on AI, research, aerospace/defense, cloud computing, and embedded vision applications.
The Xilinx Zynq UltraScale+ MPSoC at the heart of the Genesys ZU-3EG offers heterogeneous computing with its ARM A-53 APU and ARM Mali-400 MP2 GPU to go along with a substantial memory interface. A full-featured Type-C connector with USB 3.0 & USB 2.0, Dual-Role-Data and Dual-Role-Power, and integrated gigabit transceivers bringing support for DDR4, USB Type-C 3.1, PCIe, SATA, and DisplayPort surround the chip. The Genesys ZU-3EG supports multiple camera inputs, onboard audio codec, 4K video, and WiFi and 1G Ethernet in a Linux-based platform, rounding out a truly unique and all-encompassing development kit that excels in 5G, cellular radio (WWAN), SSD, wireless radio infrastructure, and video applications like surveillance, streaming, and encoding.
The Genesys ZU-3EGGenesys ZU-3EG contains Digilent Pmod and high-speed SYZYGY-compatible Zmod ports to allow for flexible expansion and access to high speed,
high bandwidth I/O for a software-defined radio, ultrasound, and a wide variety of other user-defined data acquisition or signal processing systems.
Features
Genesys Zu-3EGGenesys Zu-3EG is now available in Farnell / Newark. You can buy it here.
Digilent Eclypse Z7Eclypse Z7 is the first host board of the new Eclypse platform, showcasing modular functionality, high-speed I/O, and an FPGA SoC that blends power and flexibility for instrumentation applications. The Eclypse platform is more than a standard development board – it's a new way to streamline and accelerate design flow combined with a newly developed software architecture to create a powerful research and prototyping platform optimized for productivity and flexibility. In addition to a Zynq 7020 FPGA SoC from Xilinx, the Eclypse Z7 features two high-speed connectors using Opal Kelly’s new SYZYGY standard, which pairs with Digilent’s new Zmod family to allow for high performance I/O.
The hardware, however, is only part of the story of the Eclypse Eclypse Platform. Petalinux is supported out of the box, and pre-built Linux images are accompanied by a software API for bulk data transfer. The software architecture is completely open and customizable. This system allows new users to get started without touching the hardware until desired, and with support from a built-in high-level API, users can enjoy the benefits of hardware acceleration without having to directly interface with the FPGA.
The Analog Discovery StudioAnalog Discovery Studio functions as a mixed-signal oscilloscope. In this demo, we use several instruments in Analog Discovery Studio.
The Cmod S7Cmod S7 , Xilinx Spartan 7 Breadboardable Module, is used in this project to implement a SPI master module, repeatedly sending data captured by the FPGA's onboard two-channel analog-to-digital converter (ADC). This data is also sent to the Pmod R2R, a resistor ladder digital-to-analog converter (DAC), to be converted back to analog data. The Analog Discovery Studio is used to provide analog signals to the Cmod S7's analog input pins, capture analog voltages from the Pmod R2RPmod R2R, and to control and capture data from the SPI module implemented in the Cmod S7's FPGA.
The analog signals generated on the Wavegen pins can be modified by changing the configurations of each channel in the Wavegen 1 pane. By default, channel 1 is set to output 0 Volts DC, and channel 2 is set to ramp from 0 to 3 Volts over 200 microseconds. These waveforms can be seen in the sequence output by the Cmod S7 in the Scope 1 pane. Both the SPI module and the R2R alternate between outputting data captured from channel 1 and channel 2, switching the channel every 20 microseconds.
By default, the demo uses SPI mode 0. This can be changed by changing the state of the CPOL and CPHA buttons in the StaticIO instrument. When changing the SPI mode, make sure to also modify the Active and Sample settings of the SPI bus in the Scope 1 pane.
The RESET button and ENABLE switch in the StaticIO instrument are used to control the SPI module programmed into the Cmod S7, resetting the module, and enabling/disabling it, respectively.
In the Scope 1 instrument, the yellow plot line, Channel 1, represents voltage data captured from Scope channel 1. The red plot line, Math 1, represents the data transferred over SPI from the Cmod S7, converted into voltage from raw 8-bit digital samples.
Read more on how to implement the project on the Digilent Blog.
https://reference.digilentinc.com/reference/instrumentation/analog-discovery-studio/cmod-s7-demo
With the release of MATLAB 2018b, the Analog Discovery 2Analog Discovery 2 is now included as one of the many hardware devices supported by MATLAB.
MATLAB provides libraries for data acquisition hardware in their Data Acquisition Toolbox in order to do data capture, plotting and data analysis with MATLAB.
The Data Acquisition Toolbox Support Package for the Analog Discovery 2 includes libraries for:
Find examples of these libraries and more about the documentation on the Digilent Blog.