ADALM2000 One Board - Multiple Instruments

Any electronics students and hobbyists need, at some point, to upgrade their hardware and start using equipment such as signal generators, oscilloscopes, logic analyzers, etc. These standalone instruments might cost a fortune (usually hundreds, if not thousands of dollars) and require large spaces for usage and storage.

This is where ADALM2000 steps in. It is an affordable, USB-powered source measurement unit that expands the capabilities of the ADALM1000 active learning module (for more information and applications with ADALM1000, you can check our previous StudentZone articles).

Figure 1. ADALM2000 overview.

The easy to use ADALM2000 active learning module is designed for students and hobbyists at all levels and from all backgrounds. It can be used for both instructor-led and self-directed learning to explore signals and systems into the tens of MHz and build a foundation when pursuing science, technology, or engineering degrees—all without the cost and bulk associated with traditional lab gear.

Figure 2. ADALM2000 module.

The module contains 12-bit ADCs and DACs running at 100 MSPS, bringing the power of high performance into a small device that can fit in a shirt pocket. With more than the combinations of a few parts, to understand the capabilities of the unit, the users must understand the fundamental operation of each part inside the unit.

Figure 3. ADALM2000 pin-out.

The hardware module contains the following features:

  • USB 2.0 device and OTG (LAN and Wi-Fi supported)
  • Two general-purpose analog inputs:

    • Differential, ±25 V, 1 MΩ || 30 pF, 12-bit, 100 MSPS ADC with 25 MHz bandwidth
  • Two general-purpose analog outputs:

    • Single-ended, ±5 V, 50 Ω, 12-bit, 150 MSPS DAC with 30 MHz bandwidth
  • Two variable power supplies

    • 0 V to 5 V, –5 V to 0 V, 50 mA
  • 16 digital input or output pins

    • 3.3 V, 1.8 V, 100 MSPS, 5 V tolerant
  • Two digital triggers

    • 3.3 V or 1.8 V, 100 MSPS, 5 V tolerant

The access to the hardware unit is made through the output pins of the device presented in Figure 3. The module comes with 2x15 colored cables to ease the separation between the module’s parts.

What About Software?

The ADALM2000 works as a portable lab that, when used with a host PC, can augment classroom learning. Analog Devices’ Scopy software package supports the ADALM2000 and provides an intuitive graphical user interface (GUI) so students can learn faster, work smarter, and explore more. Scopy is built on open-source technology, which allows anyone to examine its source code and add new features.

Figure 4. Scopy GUI.

Scopy uses the ADALM2000 features to create:

  • Voltmeters
  • Digital oscilloscopes
  • Spectrum analyzers
  • Power supplies
  • Function generators
  • Arbitrary waveform generators
  • 2-port network analyzers
  • Digital logic analyzers with bus analyzers
  • Digital pattern generators
  • Digital static inputs/outputs

Detailed information about how to use each of the instruments can be found on the Scopy wiki page.

What Can I Do with ADALM2000?

A series of lab applications are available for student use in electronics and connected knowledge areas, including communications circuits, power management circuits, and others. All the resources and examples are available on Analog Devices’ activity material page for ADALM2000. You can also check the EngineerZone® education section for new blog posts on ADALM2000/ADALM1000/ADALM-PLUTO.

We will start our journey with a basic activity on analog-to-digital converters, exploring both the digital and analog parts that the ADALM2000 module has to offer. One of the most common digital-to-analog converter block structures is the R-2R resistor ladder network, which uses resistors of only two different values, having a ratio of 2:1. An N-bit DAC requires 2N resistors.

When used in voltage mode, the legs of the R-2R resistor ladder (shown in Figure 5) are driven to one of two reference voltage levels based on the digital code D0-7, with Digital 0 representing VREF– and Digital 1 representing VREF+. Depending on the digital input code, VLADDER (shown in Figure 5) will be some fraction of the difference between the two reference levels. The negative of the two reference voltages (VREF–) is often ground (0 V). The positive reference voltage (VREF+) in our case here will be the positive supply (3.3 V).

Figure 5. R-2R resistor ladder circuit.
Figure 6. R-2R resistor ladder circuit breadboard connections.

Materials:

  • ADALM2000 active learning module
  • Solderless breadboard
  • Jumper wires
  • Nine 20 kΩ resistors
  • Nine 10 kΩ resistors
  • One OP27 amplifier

Build the 8-bit resistor ladder circuit shown in Figure 6 on your solderless breadboard. Connect the eight digital outputs, the scope channel, and the AWG output to the resistor ladder circuit as shown. Remember to connect power to the op amp supply pins.

With both R1 and R2 installed, set AWG1 to a dc voltage equal to the VREF+ of the DAC, which will be the +3.3 V supply voltage of the CMOS digital outputs. This will produce a bipolar output voltage which will swing from –3.3 V to +3.3 V. Disconnect AWG1 and remove resistor R1 for a unipolar output voltage that will swing from 0 V to +3.3 V. Start the Scopy software. Open the Pattern Generator instrument. Select and group DIO 0 to DIO 7. Now edit the parameters. Set the pattern to Binary Counter. The output should be PP (for push-pull). Set the frequency for 256 kHz. You should see something that looks like the screen in Figure 7. Lastly, hit the Run button.

Figure 7. Pattern Generator screen.

Open the oscilloscope instrument, turn channel 2 on, and set the time base for 200 μs/div. Be sure to hit the green Run button. You may also need to adjust the vertical range for the channel. 1 V/div is probably good to start with. You should see (Figure 4) the voltage ramp up from 0 V to 3.3 V. The period of the ramp should be 1 ms.

Figure 8. Oscilloscope screen.

Change the digital pattern. You can try, for example, the random pattern or load custom patterns by making a plain text *.csv file with a column of numbers ranging from 0 to 255 (for the 8-bit wide bus). Here are some premade waveform files that you can load and try as custom pattern: sine, triangle, gaussian, etc.

Questions:

  • Using Ohm’s law and the formula for resistors in parallel, what is the output voltage of the R-2R DAC for each reference voltage level (0 V and 3.3 V) applied at the inputs D7 and D6? Please present the results as a table.
  • How much current will flow through this resistor network when input D6 is connected to 3.3 V and D7 to ground?

You can find the answers at the StudentZone blog.

Authors

Antoniu Miclaus

Antoniu Miclaus

Antoniu Miclaus is a software engineer at Analog Devices, where he works on embedded software for linux and no-OS drivers, as well as ADI academic programs, QA automation, and process management. He started working at ADI in February 2017 in Cluj-Napoca, Romania. He holds an M.Sc. degree in software engineering from the Babes-Bolyai University and a B.Eng. degree in electronics and telecommunications from the Technical University of Cluj-Napoca.

Doug Mercer

Doug Mercer

Doug Mercer received his B.S.E.E. degree from Rensselaer Polytechnic Institute (RPI) in 1977. Since joining Analog Devices in 1977, he has contributed directly or indirectly to more than 30 data converter products and holds 13 patents. He was appointed to the position of ADI Fellow in 1995. In 2009, he transitioned from full-time work and has continued consulting at ADI as a fellow emeritus contributing to the Active Learning Program. In 2016, he was named engineer in residence within the ECSE department at RPI.