Question: Experiment #1 Using PICmicro, MPLab IDE and Lab kit, implement and test a circuit that accepts two, 2-bit binary input and output the sum as

Experiment #1 Using PICmicro, MPLab IDE and Lab kit, implement and test a circuit that accepts two, 2-bit binary input and output the sum as a 3-bit binary value. Input operands (A,A) and (BB) are simulated using DIP switches and should be connected to PIC micro input pins 9,8,18 and 17 respectively. And the resulting output (R R R.) should be produced on PICmicro pins 13, 12, 11 and displayed using LEDs. The program should only write to output port if the value of input has changed. This experiment requires that you review your high level design (flow chart or pseudo code) and demonstrate your system to the instructor upon completion. Include the approval signature in your report. PC118 Fi 220 Hints: 1. Read the background notes carefully and make sure that LVP and WDT is disabled. 2. MCLR pin must be high for PICmirco normal operation. 3. Frequent (0.5 seconds) writing to PortA and Port causes invalid values on the output pins. Experiment #1 Using PICmicro, MPLab IDE and Lab kit, implement and test a circuit that accepts two, 2-bit binary input and output the sum as a 3-bit binary value. Input operands (A,A) and (BB) are simulated using DIP switches and should be connected to PIC micro input pins 9,8,18 and 17 respectively. And the resulting output (R R R.) should be produced on PICmicro pins 13, 12, 11 and displayed using LEDs. The program should only write to output port if the value of input has changed. This experiment requires that you review your high level design (flow chart or pseudo code) and demonstrate your system to the instructor upon completion. Include the approval signature in your report. PC118 Fi 220 Hints: 1. Read the background notes carefully and make sure that LVP and WDT is disabled. 2. MCLR pin must be high for PICmirco normal operation. 3. Frequent (0.5 seconds) writing to PortA and Port causes invalid values on the output pins
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
