遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410...

20
遠遠遠遠遠遠遠遠 693441011 卓卓卓 693415087 卓卓卓
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    220
  • download

    3

Transcript of 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410...

Page 1: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

遠端家電遙控系統遠端家電遙控系統

693441011卓正賢

693415087高銘甫

Page 2: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

OutlineOutline

• Project Proposal

• QT2410 發展版• QT2410 GPIO Introduce

• Introduction of IrDA• Protocol Stack• IR Remote Control

• Designing process

Page 3: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

Project Proposal(1/2)Project Proposal(1/2)

Network

House

Remote

Page 4: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

Project Proposal(2/2)Project Proposal(2/2)

AP

Driver

Hardware•RS232 •GPIO

Page 5: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

QT2410 發展版QT2410 發展版USB host MMC/

SDRS-232

Power

Network

JTAG

FOR 2410 CORE

Page 6: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

QT2410 CoreQT2410 CoreS3C2410NAND Flash

64 MB

SDRAM32 MB * 2

Page 7: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

QT2410 GPIO Introduce(1/2)QT2410 GPIO Introduce(1/2)

GPFCON

GPFDAT

GPFUP

Page 8: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

QT2410 GPIO Introduce(2/2)QT2410 GPIO Introduce(2/2)

PORT CONFIGURATION REGISTER (GPACON-GPHCON)

PORT DATA REGISTER (GPADAT-GPHDAT)

PORT PULL-UP REGISTER (GPBUP-GPHUP)

Page 9: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

Introduction of IrDAIntroduction of IrDA

• IrDA 裝置是使用紅外線的 LED. 其波長大多是介於 875 nm +- 30 nm 之間 .

• IrDA 裝置其距離約工作在 1.0m .

• 依傳輸速度可分為:• SIR115.2Kbps• MIR1.152Mbps• FIR4.0Mbps• VFIR16Mbps

Page 10: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

IrTran-P OBEX IrLan IrCom IrMC

Async Serial-IR9.6 – 115.2 kb/s

Sync Serial-IR1.152 Mb/s

Sync4PPM4Mb/s

Physical layer

Ir Link Access Protocol - IrLAPData Link layer

Ir Link Mgmt –MUX - IrLMPNetwork layer

Tiny Transport Protocol – Tiny TPLM-IASTransport layer

Protocol StackProtocol Stack

IrPHY

Page 11: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

IrPHYIrPHY

• 實體訊號層 (physical signal)

• 為實際的紅外線裝置,資料便是透過它來傳送

• 其發射頻率介於 33kHz-40kHz 之間• 其傳送資料封包是使用 CRC 的錯誤檢查碼格式

Page 12: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

IrPHY Packet FormatIrPHY Packet Format

STA STA ADDR DATA16b

FCSSTO

PA STA Payload STO

1.152 Mbit/s and the lower rates

4 Mbit/s

PA STAIrLAP Frame

CRC FB STO NULL

16 Mbit/s

Page 13: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

IrLAPIrLAP

• 連結存取協定 (link access protocol)

• 用來提供和維護 IrDA 裝置間的可靠連結• IrLAP 提供兩種一般形式的服務

• Connectionless Services• Connection-oriented Services

Page 14: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

IrLAP Frame StructureIrLAP Frame Structure

• IrLAP employs four generic types of service primitive• Request• Indication• Response• Confirm

Address Control Information

8 bits

8 bits

8 * X bits

Page 15: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

IrLMPIrLMP

• 連結管理協定 (link management protocol)

• Provides multiplexing of the IrLAP layer

• Support for multiple application to operate

independently and concurrently

Page 16: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

IR Remote ControlIR Remote Control

• Low cost solution of remote control

• No specific stack

• Control signal defined by manufactory

Page 17: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

Signal DefinitionSignal Definition

Start Signal Factory ID Button ID

Ex : TOSHIBA TV power on signal Factory : 40BF Button ID : 12ED 1 0 | 0 1 0 0 0 0 0 0 1 0 1 1 1 1 1 1 | 0 0 0 1 0 0 1 0 1 1 1 0 1 1 0 1 40BF 12ED

Page 18: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

Designing processDesigning process

Study about GPIO driver

TraceCode

Make IrDA Module

Write the IrDA driver

Test the System

Write the Final report

Find how to use 2410 I/O

Page 19: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

Q&AQ&A

Page 20: 遠端家電遙控系統 693441011 卓正賢 693415087 高銘甫. Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control.

EndEnd

Thanks for your listening Thanks for your listening