Question

University nology LEARNING OUTCOME 3 A learner is expected build a simple circuit that uses a PIC16F627A micro-controller to decode binary numbers to BCD counter that will display a zero to 9. Make sure that you download the data sheet for the type of 7 segment you have. The circuit must be able to convert the binary numbers from the four switches to a BCD that is to be displayed on a 7 segment display Buld a dirout that wil accomplish what is described above. Ifal four SWITOESS are open, the croît should display a o, and if the SWITCH! s pressed, the cirouit display a 1, etc NOTE There must be no noticeable delay between pressing or releasing the switch and the counter changing direction Hint: LOOKUP TABLE DO NOT USE A LOOKUP TABLE DOCUMENTATION OF RESULTS 1. A cover page as descrbed in Experiment 1 2. A fully labelled block diagram of the circuit 3. Component list as described in Experiment 1 4. A fully labelled crcut diagram as described in Experiment 5. The function of each component in this dircuit . A flowchart 7. Fully commented program listing. 8. A desaription of your understanding of the operation of the orcuit 1.Build a circuit using PIC16F627A microcontroller that will decode binary number to BCD counter that will display zero to 9 2.Draw a fully labelled block diagram of that circuit builded 3.Name the components used to build a circuit 4.write the function of each components used to connect the circuit 5.Draw a control flow chart s 6.Write a program code pic16f627a


don't make use of truth table or logical operation

0 0
Add a comment Improve this question Transcribed image text
Answer #1

LDI R1, 0x00 ; Load immediate value in register R1
MOV DDRD, R1 ; Make PORTD pins as input
LDI R1, 0xFF ; Load immediate value in register R1
MOV DDRB, R1 ; Make PORTB pins as output

LOOP1: ; Label name “LOOP1” starts here
IN R1, PORTD ; Read PORTD and store in register R1
OUT PORTB, R1 ; Make respective LED ON as per read value
JMP LOOP1 ; Jump to label name LOOP1 for infinite looping

Add a comment
Know the answer?
Add Answer to:
don't make use of truth table or logical operation University nology LEARNING OUTCOME 3 A learner...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT