Answered step by step
Verified Expert Solution
Question
1 Approved Answer
160 POINTS QUESTION 5 1. Consider the following code: (20 points) 1. II. III. A push button on RBO is connected. When pressed the code
160 POINTS QUESTION 5 1. Consider the following code: (20 points) 1. II. III. A push button on RBO is connected. When pressed the code starts, and a buzzer connected to pin REI makes a sound for 5 seconds.(5 points) Send the values of 3 characters received serially via the USART module from a PC keyboard to an LCD connected to PORTD when functioning in external interrupt mode. The interrupt is triggered when a push button on RBI is pressed. The LCD receives data in 4 bit programming mode. (10 points) There are 5 red LEDs connected to PORTA that flash continuously when the code is not in interrupt mode. (5 points) a. Design a block diagram for this circuit using Word. Make sure it is clear where all the components are connected to the Ports. List which components are output and which are input. Identify engineering design requirements and define design strategy. (P12a) (10 points) b. If the designer of this application was using 8 bit programming mode to receive data from the LCD, and he would like to add a second LCD to represent text messages, will he be able to? Identify design constraints considering public health, safety, and welfare, as well as global, cultural, social, environmental, and economic factors. (P12b) (10 points) c. What can be done to reduce the amount of pins the existing components (Scenario in Q5b) need so that the designer is not forced to use another PIC16F877A along with that one? Use a methodical process to develop and evaluate feasible solutions against specifications/requirements with consideration of public health, safety, and welfare, as well as global, cultural, social, environmental, and economic factors.(P12c) (10 points) d. Would adding a second PIC 16F877A microcontroller or using 4 bit programming on the LCDs be a more environmentally sustainable? Explain. Select a solution by considering risk and making appropriate trade-offs.(P120) (10 points) 160 POINTS QUESTION 5 1. Consider the following code: (20 points) 1. II. III. A push button on RBO is connected. When pressed the code starts, and a buzzer connected to pin REI makes a sound for 5 seconds.(5 points) Send the values of 3 characters received serially via the USART module from a PC keyboard to an LCD connected to PORTD when functioning in external interrupt mode. The interrupt is triggered when a push button on RBI is pressed. The LCD receives data in 4 bit programming mode. (10 points) There are 5 red LEDs connected to PORTA that flash continuously when the code is not in interrupt mode. (5 points) a. Design a block diagram for this circuit using Word. Make sure it is clear where all the components are connected to the Ports. List which components are output and which are input. Identify engineering design requirements and define design strategy. (P12a) (10 points) b. If the designer of this application was using 8 bit programming mode to receive data from the LCD, and he would like to add a second LCD to represent text messages, will he be able to? Identify design constraints considering public health, safety, and welfare, as well as global, cultural, social, environmental, and economic factors. (P12b) (10 points) c. What can be done to reduce the amount of pins the existing components (Scenario in Q5b) need so that the designer is not forced to use another PIC16F877A along with that one? Use a methodical process to develop and evaluate feasible solutions against specifications/requirements with consideration of public health, safety, and welfare, as well as global, cultural, social, environmental, and economic factors.(P12c) (10 points) d. Would adding a second PIC 16F877A microcontroller or using 4 bit programming on the LCDs be a more environmentally sustainable? Explain. Select a solution by considering risk and making appropriate trade-offs.(P120) (10 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started