Lab 4 rev 5 - Lecture notes 2-29 PDF

Title Lab 4 rev 5 - Lecture notes 2-29
Author Keion Smith
Course CET
Institution New York City College of Technology
Pages 1
File Size 95.1 KB
File Type PDF
Total Downloads 92
Total Views 124

Summary

78-09-19...


Description

NYCCT

EMT2461

Lab 4 Completion of this assignment will allow you to replace of the missing grades from previous assignments. 1. Download “FSM_Door_Operator_v3_r1.zip” from Lecture Programs section in blackboard. Unzip to open project. 2. Run Program and familiarize yourself with program. What happens when you send ‘3’ over the serial port? How about ‘9’? Describe in one or two sentences. 3. Modify the circuit and provide function:



Instead of using time to block for making this decision, read the input from the button. If high, return 1 otherwise return a zero.



Add a timer to debounce the signal (from noise) for 200 milliseconds.

• • •

Blink on board LED every second only when the doors are closing Turn LED off when doors are closed Turn LED on when the doors are open

4. Test your program and make sure that if a. Doors are closed….. input forces them open b. Doors are closing…. Input forces them to reopen c. Doors are open….input extends the time door remains open for 5 seconds d. Doors are opening… input does NOTHING! REPORT Upload your new program to blackboard as the solution. You could answer the questions above as comments of your new program OR write them in a word document but please make sure it is not more than a page (one paragraph may be enough to answer all questions)

Fall 2021...


Similar Free PDFs