Question: solve it all , clearly 3. Design a system with a switch and LED based on PIC 24C. The requirements are: - Initially, the LED

solve it all , clearly
solve it all , clearly 3. Design a system with a switch

3. Design a system with a switch and LED based on PIC 24C. The requirements are: - Initially, the LED is off. - When the user presses the switch: - the LED intensity is increased in five steps: 20%,40%,60%,80%, and finally, the LED is switched on completely at 100%. - When the user presses the switch again - the LED intensity is decreased in five steps: 80%,60%,40%,20%, and finally the LED is switched off completely at 0%. - The LED stays 50ms in each step. Assumptions: Fosc is 20MHz, PWM output of 1000Hz is mapped to RP0, and RB5 is used for switch input. (a) Specify the PIC24H resources used by the design and their usage and specify the system clock source and value: System Clock: (b) Draw the circuit (schematic) diagram

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!