DOC PREVIEW
PSU EE 200 - ps5

This preview shows page 1-2-3 out of 8 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EE 200 Problem Set 5 Cover Sheet Spring 2014Last Name (Print):First Name (Print):ID number (Last 4 digits):Section:Submission deadlines:• Demonstrate completion of problems 17 and 18 during the evening laboratory session on either Monday Febru-ary 17 or Tuesday February 18 from 6:30 pm to 8:30 pm in 302 EE West. You must sign up for a ten minuteslot using SignUpGenius. You will receive an email m essage via your Penn State email address when the signup sheet is available online at SignUpGenius. Slo ts are filled on a first-come, first-served basis.• Turn in the written solutions for problems 19 and 20 by 4:00 pm on Tuesday February 18 in the homework slotoutside 121 EE East.Problem Weight Score17 3518 1519 2520 25Total 100Problem 17: (35 points)Each EE 2 00 student must realize the finite state machine for robot navigation introduced in Problem Set 3 Problem10 using the Atmel ATF750C L PLD, and demonstrate their circuit to the laboratory instructor during the gradingsession on either Monday February 17 or Tuesday February 18 from 6:30 pm to 8:30 pm i n 302 EE West. Pleaseadhere to the following guidelines:1. To expedite grading, please use the pin assignments in Table 1.2. Implement the finite state machine using the CUPL state machine syntax and adhere to the following guidelines.• Use meaningful header information. Your name should appear as the designer. Also, provide suitableproject and company names, a nd specify the correct device.• Comment you code. Clearly define the input and output pin assignments. As an example, review theWinCUPL code in Laboratory #7.3. Because the myDAQ cannot source sufficient current to operate the Atmel ATF750CL PLD, please use thepower supplies available in 302 EE West, or another 5V supply capable of sourcing at least 200 mA.4. As in problem 14, generate a 0.2 Hz clock circuit using the CD4541B programmable timer.5. Use three tactile switches to generate the asynchronous reset SB, left-sensor hit SL, right sensor hit SRsignals.To reduce the p ossibility of electrical noise generating an erroneous input to the PLD, connect the threeperipheral input pins to VDDthrough a 27 kΩ resistor, and use the tactile switch to pull the logic level lowwhen a button is pressed.6. Clearly label the tactile switches that represent the input signals SB, SL, and SR.7. Use red and green LEDs to indicate the motor output signals ML, and MR, w here a lit LED indicates alogic-high signal.8. For each LED, limit current using a 330Ω series resistor.9. Measure the maximum current drawn by your circuit using the myDAQ as this information is need for a futureproblem assignment.10. In order to verify the operation of your circuit with the EE 200 mouse, leave room on your protoboard for the16-pi n DIP in Figure 1. Note that the EE 200 mouse returns the signal SBfor the common clear input on theCD401 75BE quad D-Type flip-flop.Signal Designation Signal Description CPLD I/O designation Pin NumberCLK 0.2 Hz clo ck CLK/IN 1SLleft sensor signal IN 2SRright sensor signal IN 3SBback sensor IN 4MLleft mo tor drive I/O 23MRright motor drive I/O 22Table 1: Pins assignment for the Atmel ATF75 0CL CPLD.Each student has approximately five minutes to demonstrate their circuit, and points are awarded as f ollows:1. (5 points) Demonstrate a successful Device Dependent Compile operation.2. (10 points) Simulate the operation of the finite state machine for the following scenario• Use 24 vectors in the simulation.• The clock should be low on vectors 1 and 2, high on vectors 3 and 4, and repeat this pattern throughvector 24.• Set SLto logic high for vectors 2 and 3, and low for the remaining vectors.• Set SRto logic hi gh for vectors 10 and 11, and low for the remaining vectors.Pin Function Symbol1 left sensor signal input SL2 right sensor signal input SR3 back sensor signal input SB4,5,6 ground DGND7 left mo tor output ML8 right motor o utput MRFigure 1: Umbilical cord connector.• Set SBto logic hi gh for vector 17, and low for the remaining vectors.3. (20 points) Demo nstrate the operation of the fini te state machine realized with the Atmel ATF750CL and theCD454 1B programmable timer. To fa ci litate testing the system, use a yellow LED o display the state of theclock signal. Adhere to the following guidelines:(a) (5 points) Each tactile switch and L ED must be labeled with the corresponding signal, SL, SR, SB, ML,and MR. Use a post-it note or, alternatively, tape a piece of paper to the wiring connecting the switch orLED with the appropriate signal label .(b) (5 points) Demonstrate that pressing the asynchronous reset button immediately returns the system tostate S1, regardless of the clock signal state.(c) (10 poi nts) Demonstrate that system responds correctly to the inputs SL, and SR.Problem 18: (15 points)Liquid crystal displays (LCDs) are ubi quitous in consumer electronic devices as well as technical instrumentationowing to their low-cost, low-power consumption, and ease of programming. The physics and display programmingwill be covered during a EE 200 lecture. Each EE 200 component kit contains a single LCD module that displays2 lines by 16 characters. In subsequent problems set you will first control the LCD display using the digital outputlines of the myDAQ, and la ter a Microchip Technology PIC (Peripheral Interface Controller) m icrocontroller. Inorder to plug the LCD module into a protoboard, you must first solder the 16-way, 1-row board-board connectorshown in Figure 2 to the LCD module as shown in Figure 3. Each EE 200 student must complete this task andshow the LCD module with the soldered connector to the laboratory instructor during the grading session on eitherMonday February 17 or Tuesday February 18. Complete this task by following the steps below.1. First and f oremost 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 400C) 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 off o r unplug it when not in use.• Use a bench-top fume extractor to remove harmful fumes caused by solder and flux.• Wear nonflamma ble or 100% cotton clothing that covers your arms and legs to help prevent burns.• In case of burns– Immediately


View Full Document

PSU EE 200 - ps5

Download ps5
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 ps5 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 ps5 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?