| 数据搜索系统,热门电子元器件搜索 |
|
AN4099 数据表(PDF) 2 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4099 数据表(HTML) 2 Page - STMicroelectronics |
|
2 / 39 page ![]() Contents AN4099 2/39 Doc ID 023110 Rev 2 Contents 1 Infrared protocol specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1 RC5 protocol basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 SIRC protocol basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 Infrared transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1 Hardware considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2 IR transmitter: universal solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.1 RC5 encoder solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.2 How to use the RC5 encoder driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.3 SIRC encoder solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2.4 How to use the SIRC encoder driver . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3 Infrared receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.1 Hardware considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.2 Universal solution: software implementation using a GP-Timer configured in PWM input mode . . . . . . . . . . . . . . . . . . . . . . . . 18 3.3 RC5 protocol solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.3.1 RC5 frame decoding mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.3.2 RC5 decoding library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.3.3 How to use the RC5 decoder driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.4 SIRC infrared control solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.4.1 Software implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.4.2 SIRC library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.4.3 How to use the SIRC decoder driver . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4 Interface layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.1 Demonstration programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.1.1 Transmitter demonstration using IRTIM . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.1.2 Receiver demonstration using GP-Timer configured in PWM mode . . . 32 4.2 How to customize the IR drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.2.1 IR receiver drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.2.2 IR transmitter drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |