0% found this document useful (0 votes)
99 views3 pages

Port Description

The document outlines various microcontroller port connections for different applications. It describes the ports used for LEDs, switches, LCD control and data pins, serial communication, analog to digital conversion, relays, encryption/decryption, stepper motors, RTOS porting and an elevator application. The ports are assigned to control different peripherals like LEDs, switches, LCDs, serial communication and motors.

Uploaded by

sunnynnus
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views3 pages

Port Description

The document outlines various microcontroller port connections for different applications. It describes the ports used for LEDs, switches, LCD control and data pins, serial communication, analog to digital conversion, relays, encryption/decryption, stepper motors, RTOS porting and an elevator application. The ports are assigned to control different peripherals like LEDs, switches, LCDs, serial communication and motors.

Uploaded by

sunnynnus
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

PROGRAM PORTS CONNECTIONS

1. DANCING LEDS

SWITCHES- PORT P0
LEDS-PORTS P1.

2. SERIAL COMMUNICATION

SERIAL TRANSMISSION

SERIAL COMMUNICATION- P3.0, P3.1

SERIAL RECEPTION

LCD CONTROL PINS- RS-PORT P2.0


RW-P2.1
EN- P2.2
LCD DATA PINS- PORT P1
SERIAL COMMUNICATION- PORT P3.0, P3.1

3. TEMPERATURE DISPLAY ON PC

ADC CONTROL PINS- RD- PORT P2.5


WR-P2.6
INTR-P2.7
ADC DATA PINS- PORT P1
SERIAL COMMUNICATION –P3.0, P3.1
4. STREET LIGHT CONTROL DISPLAY ON PC

ADC CONTROL PINS - RD-PORT P2.5


WR- P2.6
INTR- P2.7
ADC DATA PINS- PORT P1
RELAY – P0.0
SERIAL COMMUNICATION – P3.0, P3.1

5. DATA ENCRYPTION AND DECRYPTION ON PC

LCD CONTROL PINS- RS- P3.5


RW- P3.6
EN- P3.7
LCD DATA PINS- PORT P1
KEYPAD ROWS- P0.0, P0.1, P0.2, P0.3
COLUMNS- P2.0, P2.1, P2.2
SERIAL COMMUNICATION- P3.0, P3.1

DATA ENCRYPTION AND DECRYPTION ON LCD

LCD CONTROL PINS- RS-P2.0


RW-P2.1
EN-P2.2
LCD DATA PINS - PORT P1
KEYPAD ROWS- P0.0, P0.1, P0.2, P0.3
COLUMNS- P3.0, P3.1, P3.2

6. STEPPER MOTOR CONTROL

SWITCHES- P0.0, P0.1, P0.2


LCD CONTROL PINS- RS- P2.0
RW- P2.1
EN- P2.2
LCD DATA PINS- PORT P1
STEPPER MOTOR- PORT P3

7. PORTING RTOS

LED BANK ‘A’- PORT 0(P0)


LED BANK ‘D’- PORT 1(P1)

LCD CONTROL PINS- RS-P3.5


RW-P3.6
EN-P3.7
LCD DATA PINS- PORT 2(P2)

SERIAL COMMUNICATION- P3.0, P3.1

8. ELEVATOR

LCD CONTROL PINS RS-P3.5


RW-P3.6
EN-P3.7

LCD DATA PINS PORT 2

SWITCHES PORT 1

LEDS P0.0, P0.1, P0.2, P0.3

You might also like