html5-img
1 / 17

I/O Port & CLCD

I/O Port & CLCD. Microprocessor. Noh Jin- Seok. Contents. 1. I/O Port. 2. 7-Segment. 3. Character LCD. 4. Circuit & Example Source Code. Input/Output Port. 기본 구조 6 개의 8 비트 양방향 병렬 I/O 포트 (Port A~F) 1 개의 5 비트 양방향 병렬 I/O 포트 (Port G) 총 53 개의 I/O 핀 내장 최대 구동 전류 40mA.

Download Presentation

I/O Port & CLCD

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. I/O Port & CLCD Microprocessor NohJin-Seok

  2. Contents 1. I/O Port 2. 7-Segment 3. Character LCD 4. Circuit & Example Source Code 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 핀의 구조 Digital System & Robotics Lab.

  4. Register • DDRx : 입출력 방향 레지스터 • PORTx: 데이터 출력 레지스터 • PINx : 포트 입력 레지스터 PORTx7 PORTx6 PORTx5 PORTx4 PORTx3 PORTx2 PORTx1 PORTx0 PORTx DDx1 DDx7 DDx6 DDx5 DDx4 DDx3 DDx0 DDx2 DDRx PINx7 PINx6 PINx5 PINx4 PINx3 PINx2 PINx0 PINx1 PINx Digital System & Robotics Lab.

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

  6. Example Source Code Digital System & Robotics Lab.

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

  8. Circuit Digital System & Robotics Lab.

  9. Digital System & Robotics Lab.

  10. Example Source Code Digital System & Robotics Lab.

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

  12. Pin Description • 4비트 제어 시 DB4~7을 사용 • Pin 15, 16은 Back Light 전원 Digital System & Robotics Lab.

  13. Operation Set Digital System & Robotics Lab.

  14. Sequence Of Initial Digital System & Robotics Lab.

  15. Digital System & Robotics Lab.

  16. Example Source Code Digital System & Robotics Lab.

  17. Thank You ! www.themegallery.com

More Related