Skip to content Skip to navigation Skip to collection information

Connexions

You are here: Home » Content » Microcontroller and Embedded Systems Laboratory » Lab 1: Using the Function Generator and Oscilloscope

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • TI MSP430 display tagshide tags

    This collection is included inLens: Texas Instruments MSP430
    By: Texas Instruments

    Comments:

    "Basic introduction to microcontroller-based embedded systems development. Includes structured laboratory exercises in the following areas: assembly programming, C language programming, peripheral […]"

    Click the "TI MSP430" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Lab 1: Using the Function Generator and Oscilloscope

Module by: adrian valenzuela. E-mail the author

Summary: In this lab we will learn how to use tools such as the function generator and the oscilloscope. We will also learn the basics to reading datsheets and schematics.

Exercise 1

Reproduce each of the following figures as closely as possible, and include a screenshot in your write up. Don't forget to include the measurements and cursors. Some of the input signals have introduced an offset.

If you are using the Tektronix TDS 3012B and it has an ethernet connection, you can easily take screenshots of the display. Simply type the IP address of the oscilloscope into your computer's web browser, and it will connect to the scope's web interface. If you don't know the IP address of your scope, restart it. The 3012B will display its current address during it's start up sequence. Once you're connected to the scope from your web browser, you may save the image of the current display or control it through the web interface.

By default, the oscilloscope acquires the signal with a very rough sampling process. If you wish to improve the quality of your display you may change the Acquisition Mode. You may do this by going to Quick Menu-> Acquire Mode then changing the mode. Averaging several samples will give you a much smoother looking result.

Figure 1: Sine wave with measurements and cursors
Figure 1: Sine Wave
Figure 1: Sine Wave (5kHz_-_250mV_sin.png)
Figure 2: Square wave with measurements and cursors
Figure 2: Square Wave
Figure 2: Square Wave (1KHz_-_100_mV_.25_duty_square.png)
Figure 3: Sine wave and it's FFT. FFT options may be found under the Math section.
Figure 3: FFT of Sine Wave
Figure 3: FFT of Sine Wave (8.5MHz_-_1.5V_sin.png)

Exercise 2

Now we will measure a couple signals directly on the ELEC226 board and learn how to read a schematic. Download lab1_2_lite.hzx. Open CrossStudio Release 1.3, and set your target as the MSP430 USB CrossConnect. You can do this by clicking on View-> Targets. The Targets window should open up on the right panel. Right click on MSP430 USB CrossConnect and select Connect. You may download the project file to the MSP by selecting Download File-> Download CrossWorks Executable File and navigating to the desired file.

Now locate the two high frequency crystal oscillators. They are small silver cylinders. Directly probe the two oscillators, and measure their respective frequencies. Next, using the schematic locate the pin that outputs SMCLK or MCLK. (Use the pin on Port 5.) This is currently configured to output one of the oscillators. Probe this pin and compare with the results that you obtained probing the oscillators directly. Next, using the schematic locate the output pins for DAC0. Measure the peak-to-peak amplitude, and frequency of the signal and include a screenshot.

Exercise 3

Next, we will run a couple signals from the function generator through the board's Analog to Digital Converters (ADC) and measure it a couple different places. Download lab1_3_lite.hzx. Download the file like you did in Problem 2. Set your function generator to produce a signal less than 2 kHz. Connect it to the input of A1, analog input 1, and measure the signal at the output of DAC0. Try to recreate the following figure.

Figure 4: Sine wave through ADC and DAC
Figure 4 (pic1_3.png)
What happens are you increase the frequency or amplitude of the input signal? At what frequency does the signal very become skewed?

Collection Navigation

Content actions

Download module as:

Add:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks