Question: Problem 1 [16 points] Design a 16F84A MCU-Based system that would detect the status of two push buttons (PB1 and PB2 ) and would accordingly
Problem 1 [16 points]\ Design a 16F84A MCU-Based system that would detect the status of two push buttons\ (PB1 and
PB2) and would accordingly turn ON/OFF two LEDs (LED1 & LED2) and one\ DC motor as per the following design requirements:\ i. All devices shall be interfaced with PORTB pins. Other ports are not\ allowed to be used.\ ii.
PB1shall be interfaced using a pull up resistor, while
PB2shall be\ interfaced through a pull down resistor.\ iii. LED1 shall be interfaced to the chosen PORTB pin directly through its\ Anode, while LED2 shall be interfaced directly to another pin through its\ cathode.\ iv. The DC Motor requires an external
9Vpower source.\ v. All LEDs shall be ON all of the time, they only turn OFF while (PBD) is\ pressed.\ vi. The DC motor shall be OFF all of the time, it only turns
ONwhile
PB2is\ pressed.\ vii. The user shall be able to manually reset the system at any time.
,DC Molew\ Available components:\ Push buttons\ LEDS\ DCMotor\ Resistors of ary value you need\ HS Oscillators of
8MHz\
5Vpowersupply\ 9 V powesupply\ NMOS transistors\ a. Hardware Design[8 points]: Show your electric circuit design. (Label everything\ in your circuit schematic. And show all resistor values to be used).\ Use the back of the page if you need more spa\
R=300\\\\Omega \ limiting resistar\ e. both LEDS.\ Page 2 of 5\ GND
![Problem 1 [16 points]\ Design a 16F84A MCU-Based system that would](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66effb2d540ec_43666effb2cd207e.jpg)
Problem 1 [16 points] Design a 16F84A MCU-Based system that would detect the status of two push buttons (PB1 and PB2) and would accordingly turn ON/OFF two LEDs (LEDI \& LED2) and one DC motor as per the following design requirements: i. All devices shall be interfaced with PORTB pins. Other ports are not allowed to be used. ii. PB1 shall be interfaced using a pull up resistor, while PB2 shall be interfaced through a pull down resistor. iii. LED1 shall be interfaced to the chosendPORTB pin directly through its Anode, while LED2 shall be interfaced directly to another pin through its cathode. iv. The DC Motor requires an external 9V power source. LED v. All LEDs shall be ON all of the time, they only turn OFF while(PBD) is pressed. vi. The DC motor shall be OFF all of the time, it only turns ON while PB2 is pressed. vii. The user shall be able to manually reset the system at any time. DC Molea Available components: - Push buttons - LEDs - DC Motor - Resistors of gary value you need - HS Oscillators of 8MHz - 5V power-supply - 9V powesupply - NMOS transistor a. Hardware Design[8 points]: Show your electric circuit design. (Label everything in your circuit schematic. And show all resistor values to be used)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
