Curriculum and Labs for Engineering Education

cancel
Showing results for 
Search instead for 
Did you mean: 

EE49 Lab 2: Introduction to Digital Communication Lab: UART Communication, Sync, and Channel Correction

Goal

In Lab 2, our goal is introduce you to aspects of digital signaling, including simple channel codes and the effect of sending these signals over non-ideal communication channels. In Part 1, we will ask you to demodulate a bitstream which is encoded with one widely used digital protocol: Universal Asychronous Receive/ Transmit (UART). This communication protocol is used in nearly every embedded device, from mp3 players to digital watches. It is the basis for many older communication standards like RS-232 and Infrared TV remotes. In Part 2, we will use our UART decoder to receive a 256-color image. First, we will receive the image on an ideal channel. Next, we will receive the image over an LTI non-ideal channel and observe the effects of this non-ideality. Finally, you will design a simple equalizer to estimate the effect of the channel and correct for it before decoding the signal. We begin with a short primer on UART communications.

Lab Overview

EE49-lab2.png

Course Overview

This lab is from a course developed at Stanford University entitled Building Networked Systems. The course was first taught with a trial group of students in the Spring 2011 quarter. With the software/hardware combination of LabVIEW and the NI USRP, students were able to build and explore each element of a complete communications system signal chain. The course progression covered topics including channel coding, modulation, demodulation, timing recovery and culminated with students building their own protocol.

Course evaluations affirmed that students were highly engaged in and benefited greatly from the EE 49 class.  “The course evaluations for our class were fantastic,” said Katti. “Students rated the class 4.94/5.0, likely making it one of the highest rated among all classes in the School of Engineering at Stanford.”  To learn more about the course view the case study entitled: Designing Hands-On Wireless Communications Labs With the NI Universal Software Radio Peripheral and ....

These materials are considered a work-in-progress and reflect the first run of the course.  The course is anticipated to run again in the Spring of 2012.

Additional Labs from the Course

EE49 Lab 1: Source Coding Lab: Cosine Transform (DCT), sample quantization, and Huffman coding

EE49 Lab 2: Introduction to Digital Communication Lab: UART Communication, Sync, and Channel Correct...

EE49 Lab 3: Introduction to Modulation: BPSK & QPSK

EE49 Lab 4: Introduction to Demodulation and Decoding: BPSK & QPSK

EE49 Lab 5: Building a Wireless Packet Transmitter and Receiver


Required Components:

LabVIEW Full or Pro

Experiment:

The PDF laboratory procedure is attached along with starting-point VI's for the students.

LaTeX source is included so that it can be customized by the instructor.

Contact Information

Author: Dr. Sachin Katti, Jeff Mehlman, Aditya Gudipati

School/University: Stanford University

Contributors