How to draw the circuit diagram for the AT89C51AC2 Flashcards
Learn how to draw this circuit and learn the values of each component bit by bit
What are XTAL1 and XTAL2?
XTAL1 is the oscillator input
XTAL2 is the oscillator ouput
How is the circuit connected to XTAL1 and XTAL2?
XTAL1 is connected to the capacitor C2 and crystal. The crystal is connected to XTAL2 and another capacitor C1. Both capacitors are connected to ground.
What is RST?
RST is the Reset port.
How is the circuit connected to RST?
RST is connected to SW2, C3 and R18. C3 is connected to +5V (Power). Power is also connected to the other terminal of SW2. R18 is connected to ground .
This circuit is a pull-down circuit.
What is PSEN?
Program Store Enable Pin
What is ALE?
Address Latch Enable
What is EA?
External Address
What are PSEN (Program Store Enable Pin) and ALE (Address Latch Enable) connected to?
Nothing
What is EA (External Address) connected to?
Power (Vcc)
Where is Port 1 bits 0-7 located on the 8051 chip?
Bottom left on simulation
What is connected to P1.0?
A pull-up resistor R17 is connected to power. The other side of R17 is connected to a Switch SW1. SW1 is then connected to ground.
What is the circuit that is connected to P1.0 called?
Pull-up circuit and it is the digital input
What is connected to all the bits in P1 besides P1.0?
Nothing
Where is Port 0 located on the chip in the simulation?
Top Right of the Simulation
Where is Port 2 located on the chip?
In between Port 0 and Port 3 of the simulation
Where is Port 3 located on the chip?
Bottom right of the simulation
What is connected with port 0?
The digital outputs
How is Port 0 configured?
Hint: Is it in sinking or sourcing mode?
It is in sinking mode
How is Port 0 bit 7 connected?
Power is connected to R1, and in parallel to R1, also connected with power, we have D1 and R2. This is connected to Port 0 bit 7.
How is port 0 bit 6 connected?
Power is connected to R3, and in parallel to R3, also connected with power, we have D2 and R4. This is connected to Port 0 bit 7.
How is port 0 bit 5 connected?
Power is connected to R5, and in parallel to R5, also connected with power, we have D3 and R6. This is connected to Port 0 bit 7.
How is port 0 bit 4 connected?
Power is connected to R7, and in parallel to R7, also connected with power, we have D4 and R8. This is connected to Port 0 bit 7.
How is port 0 bit 3 connected?
Power is connected to R9, and in parallel to R9, also connected with power, we have D5 and R10. This is connected to Port 0 bit 7.
How is port 0 bit 2 connected?
Power is connected to R11, and in parallel to R11, also connected with power, we have D6 and R12. This is connected to Port 0 bit 7.
How is port 0 bit 1 connected?
Power is connected to R13, and in parallel to R13, also connected with power, we have D7 and R14. This is connected to Port 0 bit 7.
How is port 0 bit 0 connected?
Power is connected to R15, and in parallel to R15, also connected with power, we have D8 and R16. This is connected to Port 0 bit 7.
How many bits does Port 4 have?
2 bits
What is the value of the crystal?
X1 = 18.432MHz
What are the values of C1 and C2?
22pF
What is the value of C3?
10uF - electrolytic
Are the switches SW1 and SW2 normally-open or normally-closed?
Normally-open
What are the values of R2, R4, R6, R8, R10, R12, R14, R16?
560
What are the values of R1, R3, R5, R7, R9, R11, R13, R15, R17 and R18?
10k