遠端家電遙控系統 卓正賢 高銘甫
Outline Project Proposal QT2410 發展版 QT2410 GPIO Introduce Introduction of IrDA Protocol Stack IR Remote Control Designing process
Project Proposal(1/2) Network House Remote
Project Proposal(2/2) AP Driver Hardware RS232 GPIO
QT2410 發展版 USB hostMMC/SDRS-232Power Network JTAG FOR 2410 CORE
QT2410 Core S3C2410NAND Flash 64 MB SDRAM 32 MB * 2
QT2410 GPIO Introduce(1/2) GPFCON GPFDAT GPFUP
QT2410 GPIO Introduce(2/2) PORT CONFIGURATION REGISTER (GPACON-GPHCON) PORT DATA REGISTER (GPADAT-GPHDAT) PORT PULL-UP REGISTER (GPBUP-GPHUP)
Introduction of IrDA IrDA 裝置是使用紅外線的 LED. 其波長大多 是介於 875 nm nm 之間. IrDA 裝置其距離約工作在 1.0m. 依傳輸速度可分為: SIR 115.2Kbps MIR 1.152Mbps FIR 4.0Mbps VFIR 16Mbps
IrTran-POBEXIrLanIrComIrMC Async Serial-IR 9.6 – kb/s Sync Serial-IR Mb/s Sync 4PPM 4Mb/s Physical layer Ir Link Access Protocol - IrLAP Data Link layer Ir Link Mgmt –MUX - IrLMP Network layer Tiny Transport Protocol – Tiny TPLM-IAS Transport layer Protocol Stack IrPHY
實體訊號層 (physical signal) 為實際的紅外線裝置,資料便是透過它來傳 送 其發射頻率介於 33kHz-40kHz 之間 其傳送資料封包是使用 CRC 的錯誤檢查碼格 式
IrPHY Packet Format STA ADDRDATA 16b FCS STO PASTAPayloadSTO Mbit/s and the lower rates 4 Mbit/s PASTA IrLAP Frame CRCFBSTONULL 16 Mbit/s
IrLAP 連結存取協定 (link access protocol) 用來提供和維護 IrDA 裝置間的可靠連結 IrLAP 提供兩種一般形式的服務 Connectionless Services Connection-oriented Services
IrLAP Frame Structure IrLAP employs four generic types of service pri mitive Request Indication Response Confirm AddressControlInformation 8 bits 8 * X bits
IrLMP 連結管理協定 (link management protocol) Provides multiplexing of the IrLAP layer Support for multiple application to operate independently and concurrently
IR Remote Control Low cost solution of remote control No specific stack Control signal defined by manufactory
Signal Definition Start SignalFactory IDButton ID Ex : TOSHIBA TV power on signal Factory : 40BF Button ID : 12ED 1 0 | | BF 12ED
Designing process
Q&A
End Thanks for your listening