欢迎访问ic37.com |
会员登录 免费注册
发布采购

2SD1898T100Q 参数 Datasheet PDF下载

2SD1898T100Q图片预览
型号: 2SD1898T100Q
PDF下载: 下载PDF文件 查看货源
内容描述: 示例程序(遥控发送/接收) [Sample Program (Remote Control Transmission/Reception)]
分类和应用: 晶体晶体管遥控开关PC
文件页数/大小: 18 页 / 532 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号2SD1898T100Q的Datasheet PDF文件第1页浏览型号2SD1898T100Q的Datasheet PDF文件第2页浏览型号2SD1898T100Q的Datasheet PDF文件第3页浏览型号2SD1898T100Q的Datasheet PDF文件第5页浏览型号2SD1898T100Q的Datasheet PDF文件第6页浏览型号2SD1898T100Q的Datasheet PDF文件第7页浏览型号2SD1898T100Q的Datasheet PDF文件第8页浏览型号2SD1898T100Q的Datasheet PDF文件第9页  
M16C/26A Group
Sample Program (Remote Control Transmission/Reception)
5.
Operational Outline
<Remote control transmission>
Each time a switch is depressed, the buzzer is sounded and remote control code is transmitted from the infrared LED.
<Remote control reception>
The transmitted code is received in the remote control photodetector, and the received data is shown on liquid crystal display.
Liquid crystal display (LCD)
IR-TRAN
RCV----
Liquid crystal display (LCD)
IR-TRAN
R C V - - 03
Infrared LED
Remote control
photodetector
M16C26A
Code: 00H
M16C26A
Remote control transmission
Remote control reception
The operation described above is accomplished using the following microcomputer facilities:
• Timer A0 (timer mode, main 2 ms cycle)
This timer counts 2 milliseconds using the main clock of the microcomputer as the count source.
It is used as the basic timer of RSK_LIB.
Time management, key scan and LCD display management are performed using this timer.
• Timer A4 (timer mode, carrier output)
This timer counts 26 microseconds using the main clock of the microcomputer as the count source.
It generates a carrier (frequency 38.46 kHz) that is output during transmission.
• Timer B0 (timer mode, remote control transmission “500 µs”)
This timer counts 500 microseconds using the main clock of the microcomputer as the count source.
It turns carrier output on and off in a 500 microsecond cycle to generate a remote control transmission waveform.
• Timer B2 (timer mode, remote control reception “250 µs”)
This timer counts 250 microseconds using the main clock of the microcomputer as the count source.
It generates remote control receive data from the port input level in a 250 microsecond cycle.
• Timer A1 (pulse modulation mode, buzzer output)
This timer outputs a waveform with different high and low pulse widths using the main clock of the microcomputer as the count source.
It is used to sound a buzzer each time a key is touched.
REJ05B0814-0110 Rev.1.10
2007.12
Page 4 of 18