Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microprocessor I/O Port & CLCD Noh Jin-Seok.

Similar presentations


Presentation on theme: "Microprocessor I/O Port & CLCD Noh Jin-Seok."— Presentation transcript:

1 Microprocessor I/O Port & CLCD Noh Jin-Seok

2 Contents 1. I/O Port 2. 7-Segment 3. Character LCD
4. Circuit & Example Source Code Dep. Of Electronics Engineering Digital System & Robotics Lab.

3 Input/Output Port 기본 구조 6개의 8비트 양방향 병렬 I/O 포트 (Port A~F)
1개의 5비트 양방향 병렬 I/O 포트 (Port G) 총 53개의 I/O 핀 내장 최대 구동 전류 40mA 병렬 I/O 핀의 구조 Dep. Of Electronics Engineering Digital System & Robotics Lab.

4 Register DDRx : 입출력 방향 레지스터 PORTx : 데이터 출력 레지스터 PINx : 포트 입력 레지스터
DDx7 DDx6 DDx5 DDx4 DDx3 DDx2 DDx1 DDx0 DDRx PINx7 PINx6 PINx5 PINx4 PINx3 PINx2 PINx1 PINx0 PINx Dep. Of Electronics Engineering Digital System & Robotics Lab.

5 Block Diagram DDR을 통하여 입출력 방향 설정 Dep. Of Electronics Engineering
Digital System & Robotics Lab.

6 Example Source Code Dep. Of Electronics Engineering
Digital System & Robotics Lab.

7 7-Segment LED (FND) 7 Segment LED 는 LED의 조합으로 숫자를 표현할 수 있는 LED
Cathode Type 과 Anode Type Dep. Of Electronics Engineering Digital System & Robotics Lab.

8 Circuit Dep. Of Electronics Engineering Digital System & Robotics Lab.

9 Dep. Of Electronics Engineering
Digital System & Robotics Lab.

10 Example Source Code Dep. Of Electronics Engineering
Digital System & Robotics Lab.

11 Character LCD CLCD 문자 및 숫자를 표현하는 디스플레이 장치 5x7, 5x10 도트로 문자를 표현
인터페이스가 표준화되어 있기 때문에 마이크로프로세서와 간편히 인터페이스가 가능 8비트 혹은 4비트 데이터 버스 방식 구동 Dep. Of Electronics Engineering Digital System & Robotics Lab.

12 Pin Description 4비트 제어 시 DB4~7을 사용 Pin 15, 16은 Back Light 전원
Pin No. Symbol Level (V) Function 1 VSS (GND) Ground 2 VDD (VCC) +5 Logic Supply Voltage 3 V0 - LCD Driving Voltage 4 RS H/L H : Data Input L : Instruction Input 5 R/W H : Data Read L : Data Write 6 E H, H→L Enable Signal 7 DB0 Data Bus Line 8 DB1 9 DB2 10 DB3 11 DB4 12 DB5 13 DB6 14 DB7 15 NC C 16 D 4비트 제어 시 DB4~7을 사용 Pin 15, 16은 Back Light 전원 Dep. Of Electronics Engineering Digital System & Robotics Lab.

13 Operation Set Dep. Of Electronics Engineering
Digital System & Robotics Lab.

14 Sequence Of Initial Dep. Of Electronics Engineering
Digital System & Robotics Lab.

15 Dep. Of Electronics Engineering
Digital System & Robotics Lab.

16 Example Source Code Dep. Of Electronics Engineering
Digital System & Robotics Lab.

17 Thank You !


Download ppt "Microprocessor I/O Port & CLCD Noh Jin-Seok."

Similar presentations


Ads by Google