### Beginner Analog Discovery, Module 1

• Voltage Instrument

#### DC Power Supplies

Applying voltage using the Analog Discovery's Voltage instrument to a diode to produce light.

• Voltmeter Instrument

#### Measuring DC Voltages

Utilize the Analog Discovery's Voltmeter instrument to measure voltage in a circuit.

• Basic Periodic Signals

#### Project 1: Waveform Gene...

Using the Analog Discovery's arbitrary waveform generator to apply a time-varying signal to an LED to make it flash on and off. This project builds off of the previous Analog Discovery material.

• Sinusoids and Swept Signals

#### Project 2: Waveform Gene...

Use the arbitrary waveform generator on the Analog Discovery to apply sinusoidal and swept sinusoidal voltages to a speaker.

• Modulated Signals

#### Project 3: Waveform Gene...

Use the arbitrary waveform generator on the Analog Discovery to create frequency modulated signals and apply them to a speaker. This project builds off of the previous Analog Discovery material.

• Audio and .wav Files

#### Project 4: Waveform Gene...

Use the Analog Discovery to play back .wav files through the speaker included in the analog parts kit. This project builds off of material presented in previous Analog Discovery projects.

• Importing Files and Playing “Scales”

#### Project 5: Waveform Gene...

Use the Analog Discovery's ability to import "custom" waveforms from a file.

• Creating Signals from Math and “Beating”

#### Project 6: Waveform Gene...

Use the Analog Discovery's ability to create "custom" waveforms according to a mathematical function.

• Basic Waveform Measurement and Display

#### Project 1: Oscilloscope

Introduces the Analog Discovery's Oscilloscope instrument. Explains the basics of the ways in which voltages are acquired and displayed by the oscilloscope.

• Triggered Acquisition

#### Project 2: Oscilloscope

The Arbitrary waveform generator instrument will be used to apply relatively rapidly varying wave forms to the oscilloscope, and then triggering of the waveform will be used to make the waveform easie...

• Measurements and Cursors

#### Project 3: Oscilloscope

How to use some of the most basic and common oscilloscope tools to simplify the measurement process.

• Math Channels

#### Project 4: Oscilloscope

Introduces the use of the math channel function on the Analog Discovery. This function allows the user to perform a wide variety of mathematical operations, all of which can be applied to the voltages...

• XY Plots

#### Project 5: Oscilloscope

Use the Analog Discovery to plot the voltage-current characteristics of a light emitting diode.

• Exporting data

#### Project 6: Oscilloscope

Export the voltage-current data of a light emitting diode.

• Single Sequence Acquisition

#### Project 7: Oscilloscope

Acquiring vibration data from the piezoelectric sensor from the analog parts kit.

Voltage Instrument

#### DC Power Supplies

Applying voltage using the Analog Discovery's Voltage instrument to a diode to produce light.

26.3K
×
Voltmeter Instrument

#### Measuring DC Voltages

Utilize the Analog Discovery's Voltmeter instrument to measure voltage in a circuit.

15.9K
×
Basic Periodic Signals

#### Project 1: Waveform Generator

Using the Analog Discovery's arbitrary waveform generator to apply a time-varying signal to an LED to make it flash on and off. This project builds off of the previous Analog Discovery material.

14.9K
×
Sinusoids and Swept Signals

#### Project 2: Waveform Generator

Use the arbitrary waveform generator on the Analog Discovery to apply sinusoidal and swept sinusoidal voltages to a speaker.

15.6K
×
Modulated Signals

#### Project 3: Waveform Generator

Use the arbitrary waveform generator on the Analog Discovery to create frequency modulated signals and apply them to a speaker. This project builds off of the previous Analog Discovery material.

10.5K
×
Audio and .wav Files

#### Project 4: Waveform Generator

Use the Analog Discovery to play back .wav files through the speaker included in the analog parts kit. This project builds off of material presented in previous Analog Discovery projects.

14.4K
×
Importing Files and Playing “Scales”

#### Project 5: Waveform Generator

Use the Analog Discovery's ability to import "custom" waveforms from a file.

11.2K
×
Creating Signals from Math and “Beating”

#### Project 6: Waveform Generator

Use the Analog Discovery's ability to create "custom" waveforms according to a mathematical function.

9.38K
×
Basic Waveform Measurement and Display

#### Project 1: Oscilloscope

Introduces the Analog Discovery's Oscilloscope instrument. Explains the basics of the ways in which voltages are acquired and displayed by the oscilloscope.

21.0K
×
Triggered Acquisition

#### Project 2: Oscilloscope

The Arbitrary waveform generator instrument will be used to apply relatively rapidly varying wave forms to the oscilloscope, and then triggering of the waveform will be used to make the waveform easier to view and analyze.

11.9K
×
Measurements and Cursors

#### Project 3: Oscilloscope

How to use some of the most basic and common oscilloscope tools to simplify the measurement process.

13.4K
×
Math Channels

#### Project 4: Oscilloscope

Introduces the use of the math channel function on the Analog Discovery. This function allows the user to perform a wide variety of mathematical operations, all of which can be applied to the voltages being measured.

14.2K
×
XY Plots

#### Project 5: Oscilloscope

Use the Analog Discovery to plot the voltage-current characteristics of a light emitting diode.

16.6K
×
Exporting data

#### Project 6: Oscilloscope

Export the voltage-current data of a light emitting diode.

13.0K
×
Single Sequence Acquisition

#### Project 7: Oscilloscope

Acquiring vibration data from the piezoelectric sensor from the analog parts kit.

9.08K
×

# Audio and .wav Files

## Introduction

In this experiment, we will use our Analog Discovery™ to play back .wav files through the speaker included in the analog parts kit. The arbitrary waveform generator (AWG) instrument has the capability of importing data in several formats—.wav files are one of these formats.

The Analog Discovery can only import relatively small .wav files. A few files which meet the Analog Discovery's requirements can be found at the link to the right.

##### Before you begin, you should:
• Be able to use the Analog Discovery waveform generator to apply Sinusoids and Swept Signals to a circuit.
• Define the sampling rate and sampling frequency of a signal.
##### After you're done, you should:
• Use the Analog Discovery waveform generator to play audio files in .wav format.

## Inventory:

Qty Description Typical Image Schematic Symbol Breadboard Image
1 Buzzer/Speaker
The Buzzer/Speaker in the analog parts kit has two terminals. If a time-varying voltage is applied between the terminals a film in the speaker vibrates, converting the voltage waveform to a pressure waveform with a similar “shape”. Note: The speaker in your parts kit may have different markings than the one pictured.

## Procedures

### Shortcut!

If you have completed the Sinusoids and Swept Signals project and your circuit is still intact, feel free to skip to Step 2 of this exercise.

### Step 1: Understanding the Circuit

#### A. Circuit Schematic

1. Connect one terminal of the speaker to the W1 terminal of your Analog Discovery.

2. Connect the other terminal of the speaker to a ground terminal on your Analog Discovery.

#### B. Create Circuit

1. Insert the terminals of the speaker into your breadboard so that they are in different rows.

2. Connect W1 (the yellow wire) to one terminal of the speaker.

3. Connect ground (, the black wire) to the other speaker terminal.

### Step 2: Set up Instruments

#### A. Open WaveGen Instrument

1. Open WaveForms™ to view the main window.

2. Click on the WaveGen icon to open the waveform generator.

### Step 3: Experiment

#### A. Import and Play a .wav File in WaveGen

1. Click on Run AWG1 or Run All. You should hear a sound from your speaker which corresponds to the sound on the .wav file you imported. (To check whether the sound is appropriate, you can double-click on the file name in Windows Explorer. Microsoft will play the file for you automatically. Microsoft won't, however, allow you to filter or otherwise modify the audio file. The Analog Discovery will let you process the signal, as we will see later.)