PSU EE 200 - Problem Set 4 Cover Sheet

Unformatted text preview:

EE 200 Problem Set 4 Cover Sheet Fall 2022 Last Name Print First Name Print ID number Last 4 digits Section Submission deadline Please submit your solutions as a PDF le to the EE 200 CANVAS page by 11 59 pm on Tuesday November 8 th Your solution must include this page as a cover sheet Problem Weight Score Lab Attendance 13 14 15 16 17 Total 25 25 25 25 100 The solution submitted for grading represents my own analysis of the problem and not that of another student Signature Neatly print the name s of the students you collaborated with on this assignment Problem 13 Lab Attendance Liquid crystal displays LCDs are ubiquitous in consumer electronic devices as well as technical instrumentation owing to their low cost low power consumption and ease of programming The physics and display programming will be covered in EE 200 lectures Each EE 200 component kit contains a single LCD module that displays 2 lines by 16 characters In upcoming laboratory exercises you will program the LCD display using the the Microchip Technology PIC Peripheral Interface Controller microcontroller and the digital output lines of the myDAQ In order to plug the LCD module into a protoboard you must rst solder the 16 way 1 row board board connector shown in Figure 1 to the LCD module as shown in Figure 2 Each EE 200 student must complete this task and show the LCD module with the soldered connector to the instructor during recitation sections on either Thursday November 3 or Friday November 4 Complete this task by following the steps below 1 First and foremost you must adhere to the following safety guidelines Wear eye protection to prevent eye damage from solder splatter Never touch the element or tip of the soldering iron They are very hot about 320 C and will burn Hold wires to be heated with tweezers or clamps Keep the cleaning sponge wet during use Always return the soldering iron to its stand when not in use Never place it on the workbench Turn the unit o or unplug it when not in use Use a bench top fume extractor to remove harmful fumes caused by solder and ux Wear non ammable or 100 cotton clothing that covers your arms and legs to help prevent burns In case of burns Immediately cool the a ected area under cold water for 15 minutes Do not apply any creams or ointments Cover with a band aid Seek medical attention if the burn covers an area bigger than 3 inches across 2 Read the attached les on soldering techniques and online soldering tutorial Soldering is Easy FullSolderComic EN pdf Better Soldering WellerSoldering pdf http www aaroncake net electronics solder htm 3 Figure 1 shows that the opposite sides of the 16 way 1 row board board connector have di erent pin lengths The short pin side is soldered to the module as the long pin side is needed for connection to the protoboard Figure 2 shows that the board board connector is mounted below the LCD display Use the soldering stations available at the Learning Factory or borrow one for the EE stockroom to complete this exercise Figure 1 LCD module connector Figure 2 LCD module with connector Problem 14 25 points Consider the VI in Figure 3 where the front panel control Boolean uses switch when released mechanical action Before the VI starts the front panel Boolean control is set to false 1 5 points Specify the value of the indicator Count when the VI rst starts Justify your answer using one or two short sentences 2 15 points The user starts the VI clicks on the front panel control Boolean ve times and then clicks on the stop button What value does the indicator Count display after the VI stops executing To receive credit you must show how you arrived at your answer For examples of acceptable solution detail review the solutions posted for Problem Set 4 3 5 points After the VI completes execution in part 2 is the value of the Boolean control true or false As in part 2 you must justify your answer Figure 3 Block diagram for Problem 14 Problem 15 25 points 1 12 points Consider the front panel and block diagram of the subVI in Figure 4 a 4 points On the front panel what does the red star in the lower left corner of the Knob Refnum indicate b 4 points Suppose the calling VI has a front panel numeric control whose representation is a double Can we wire a VI Server Reference for this control to the Knob Refnum input on the subVI Justify your answer in a short sentence c 4 points Suppose the calling VI has a front panel numeric indicator whose representation is an unsigned 16 bit integer Can we wire a VI Server Reference for this indicator to the DigitalNum Refnum input on the subVI Justify your answer in a short sentence Figure 4 LabVIEW code for Problem 15 part 1 2 13 points The LabVIEW Noti er is a broadcast mechanism for communicating from one master loop to many parallel loops or one to N communication As an example consider the VI in Figure 5 The Data Source Loop generates data that is broadcast to three data processing loops that work in parallel via the Noti er named Data a 3 points The default value of the create if not found terminal of the Obtain Noti er node is True Is it necessary to set this terminal to False for each of the three Obtain Noti er Nodes preceding the Data Processor loops Justify your answer in one or two sentences b 3 points The default value of the force destroy terminal of the Release Noti er node is False Using the given block diagram it necessary to set this terminal to True Justify your answer in one or two sentences c 4 points Why did the software engineer elect to pause the Data Source Loop every 10 ms What may happen if this delay is eliminated Explain your answer in two or three sentences d 3 points In words brie y specify what the numeric value of each of the three indicators labeled Output 1 Output 2 and Output 3 represent Figure 5 LabVIEW code for Problem 15 part 2 Problem 16 25 points Consider the C code in Figure 6 for the dsPIC33EP64MC502 microcontroller Justify your answer to each of the following questions using one or two short sentences 1 4 points Specify the port and lines used for digital input 2 4 points Specify the port and lines used for digital output 3 6 points Why is it not necessary to set the ANSEL register for two of the four digital I O lines 4 6 points Specify the relationship between the digital input and output lines when the Do While Loop is executing 5 5 points Specify the conditions of the input lines that will cause the program to exit the Do While Loop Figure 6 C code for digital input output


View Full Document

PSU EE 200 - Problem Set 4 Cover Sheet

Download Problem Set 4 Cover Sheet
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Problem Set 4 Cover Sheet and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Problem Set 4 Cover Sheet 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?