




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
8051 microcontroller with blinking led
Typology: Exercises
1 / 8
This page cannot be seen from the preview
Don't miss anything!





Pin No Function Name 1 8 bit input/output port (P 1 ) pins P 1. 2 P 1. 3 P 1. 4 P 1. 5 P 1. 6 P 1. 7 P 1. 8 P 1. 9 Reset pin; Active high Reset 10 Input (receiver) for serial communication
RxD 8 bit input/ output port (P 3 ) pins
11 Output (transmitter) for serial communication
TxD P 3.
12 External interrupt 1 Int0 P 3. 13 External interrupt 2 Int1 P 3. 14 Timer1 external input T 0 P 3. 15 Timer2 external input T 1 P 3. 16 Write to external data memory Write P 3. 17 Read from external data memory Read P 3. 18 Quartz crystal oscillator (up to 24 MHz) Crystal 2 19 Crystal 1 20 Ground (0V) Ground 21 8 bit input/output port (P 2 ) pins / High-order address bits when interfacing with external memory
29 Program store enable; Read from external program memory PSEN 30 Address Latch Enable ALE Program pulse input during Flash programming Prog 31 External Access Enable; Vcc for internal program executions
Programming enable voltage; 12V (during Flash programming)
Vpp
32 8 bit input/output port (P 0 ) pins
Low-order address bits when interfacing with external memory
40 Supply voltage; 5V (up to 6.6V) Vcc