Getting The Most Out Of Your Analog Discovery: Lab 6

Recently I announced that National Instruments has released a set of example labs designed to show you how you can get the full use of your Analog Discovery 2. If you have since forgotten and want to review the summaries and mission of the seven labs, you can check out the original post here.

The table of contents from the 7 free labs.

Over the next few weeks I’ll be covering each lab, the tools it uses, and concepts that can help you teach your students. In my previous post I went over Lab 5: Amplitude Modulation and Demodulation. In this post I’ll be going over Lab 6: UART Serial Communication.

Lab 6 is designed for a microcontroller or embedded systems course.

Lab 6: UART Serial Communication is designed to introduce students to serial communication, specifically with the example of UART. Students will learn about different ways to send serial data, the properties of serial UART communication, and see the effect of start bits, stop bits, synchronization bits, and baud rate. By the end of this lab, they will be able to send, receive, and decode a serial signal.

This lab utilizes 1 set of software: LabVIEW.

LabVIEW is a development environment design specifically to accelerate the productivity of engineers and scientists. It features a graphical programming syntax that makes it simple to visualize, create, and code engineering systems.

Lab 6 uses the logic analyzing features of the Analog Discovery 2 to receive and decode UART signals.

For this lab students would need:

Similar to Lab 5, Lab 6 goes through theory, simulation, and practical analysis.

The lab starts by discussing the theory behind UART communication, and the components that define it’s behavior.

Students are asked to numerically analyze UART signals by adjusting the parameters.

Next, the lab moves onto analysis of real UART signals.

Using LabVIEW, students will set up the microcontroller to send a UART signal. That signal will then be received by the Analog Discovery 2.

Students are given a VI to start with, so they can quickly send signals and start analyzing the data.

Next, students are asked to set up a specific UART signal to be sent, and set up the LabVIEW interface to receive and decode that signal.

For more advanced students, additional challenges can be provided by asking them to decode ASCII character transmission.

Stay tuned to the blog next week for Lab 7, or download and checkout the labs yourself. If you are interested in the tools that the Analog Discovery 2 has to offer, more information can be found on its Wiki Page.



Be the 1st to vote.

Leave a Reply

Your email address will not be published. Required fields are marked *