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

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

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.

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

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.

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.

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

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

Introduces the Analog Discovery's Oscilloscope instrument. Explains the basics of the ways in which voltages are acquired and displayed by the 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.

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

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.

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

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

In this experiment, we will use the Analog Discovery's™ ability to create “custom” waveforms according to a mathematical function. These waveforms are referred to as custom waveforms because they may not fall into any particular category of common waveforms (e.g., sinusoids, square waves, triangular waves, all fall into broad categories—their names provide intrinsic information as to the basic shape of the waveform).

The Analog Discovery allows us to create waveforms in a variety of ways. One approach is to define the waveform in terms of an arbitrary mathematical expression. This approach is especially useful for engineers, since we tend to view the world in terms of the mathematics that describes it. Being able to create a physical representation of the mathematics we are using (i.e., a voltage waveform) allows us to check this view of the world.

In this project, we will simultaneously “play” two sinusoids with
slightly different frequencies over our speaker. When two sinusoids with very
similar frequencies interact, a phenomenon called **beating** occurs—the
resulting signal seems to have a sinusoidal component which varies with a
frequency *corresponding to the difference in frequency* of the two
individual sinusoids. Beating can be heard by striking two closely spaced keys on
a piano keyboard simultaneously. The closer the two keys are together, the slower
the apparent beating between the sinusoids becomes.

- Be able to use the Analog Discovery waveform generator to apply Sinusoids and Swept Signals to a circuit.
- Write the mathematical formula for a sinusoidal signal. Identify the parameters describing the amplitude and frequency of the signal.
- State how the frequency (in Hertz) of a sinusoid and the frequency (in radians/second) are related, and how they both relate to the period of the sinusoid.

- Use the Analog Discovery waveform generator to create signals from mathematical expressions.

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. |

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.

Connect one terminal of the speaker to the

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

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

Connect

**W1**(the yellow wire) to one terminal of the speaker.Connect ground (, the black wire) to the other speaker terminal.

Open

**WaveForms**™ to view the main window.Click on the

**WaveGen**icon to open the waveform generator.

The frequencies in the equation typed in the math editor are relative to the range of X also defined in the math editor. Therefore, the \(\sin (60 \cdot \pi \cdot X)\) term will go through 30 cycles over the range \({\rm{ - 0}}{\rm{.5 < X < 0}}{\rm{.5}}\). The \({\rm{sin(62}} \cdot \pi \cdot {\rm{X)}}\) term will go through 31 cycles in the range \({\rm{ - 0}}{\rm{.5 < X < 0}}{\rm{.5}}\).

- “Beating” results from adding the two sinusoids together. The
addition results in another sinusoidal component which has a frequency that is the
difference in the frequencies of the individual sinusoids. Thus, in our plot
window, we see a signal which, in addition to its high frequency oscillation, goes
through
*one*cycle in the range \({\rm{ - 0}}{\rm{.5 < X < 0}}{\rm{.5}}\).

- Click on
**Run AWG1**or**Run All**to apply the signal to your speaker. The sum of the sinusoids should create a “tone” which seems to fade in and out. The rate at which the signal fades in and out is based on the relative frequencies of these sinusoids.

- Change the frequency of the signals to 10Hz and 3Hz and note the result. Changing the playback frequency changes the frequency of both the individual sinusoids.

*Other product and company names mentioned herein are trademarks or trade names of their respective companies. © 2014 Digilent Inc. All rights reserved.**Circuit and breadboard images were created using Fritzing.*