-
由于普通单片机只有一个串口,由于用户可能会用到多个串口,而对于双串口的单片机价格贵,不如自己动手选择两个IO口,自己模拟串口通讯,以下为模拟串口程序....
由于普通单片机只有一个串口,由于用户可能会用到多个串口,而对于双串口的单片机价格贵,不如自己动手选择两个IO口,自己模拟串口通讯,以下为模拟串口程序.-Because there is only one common single-chip serial port, as the user might use multiple serial ports, dual serial ports for the price of your microcontroller, it is better to select two IO own mouth that they simulation serial communication, the following for Simulation of serial procedures.
- 2022-09-26 00:25:03下载
- 积分:1
-
红外转发
应用背景
所有红外遥控器的输出都是用编码后串行数据对38~40kHz的方波进行脉冲幅度调制而产生的。如果直接对已调波进行测量,由于单片机的指令周期是微秒(μs)级,而已调波的脉宽只有20多μs,会产生很大的误差。因此先要对已调波进行解调,对解调后的波形进行测量。红外遥控接收芯片CX20106可以完成对遥控信号的前置放大、限幅放大、带通滤波、峰值检波和波形整形,只需加上简单的外围电路即可完成对已调波的解调
关键技术
用红外转发器控制电器,首先要进行对码,把要控制的家电遥控器对准红外转发器,把遥控器的功能键学习到红外转发器中,学习成功后,就可以控制了,例如,学习了空调遥控器的开、关,用POLYHOME智能主机操作空调开,主机发出射频信号到红外转发器,红外转发器把射频信号转成红外信号的“开”发射出去,就能把空调打开了,射频可以穿墙,红外信号是不能穿墙的,这就能实现远距离控制电器。
- 2023-05-13 14:00:02下载
- 积分:1
-
To get the shortest time to get the end point
实现电脑鼠的最短时间搜索路线,能够十分有效的简短搜索时间-To get the shortest time to get the end point
- 2022-04-25 08:05:52下载
- 积分:1
-
PIC 16f84 数字时钟
项目规格
PIC: PIC16F84A
处理器频率: 4 MHz
范围: 0 到 24 小时
计时器设置: 上下开关
显示: 小时: 00-23 Minuts:00-59
电源: 外部 6V 特区
时钟的硬件进行计数每个控制的第二个。
与 SW1 和 SW2 开关的可调时间。
LED1 指示秒数。
Parts
Desc。
R1 — — R8
100 Ω
-R13 R9
接 10 K Ω
C1
22pF
- 2023-02-03 03:10:03下载
- 积分:1
-
IIC agreement procedure, the program IIC protocol
IIC协议程序,该程序时IIC协议的驱动,通过该程序可以访问IIC协议的器件-IIC agreement procedure, the program IIC protocol-driven, through which the program can access the device IIC Protocol
- 2023-05-24 08:25:02下载
- 积分:1
-
51上做到tcpip,程序有点长,参考别人的,第一次做到不是很好...
51上做到tcpip,程序有点长,参考别人的,第一次做到不是很好-Do 51 on tcpip, process a bit long, the reference of others, the first to do not very good
- 2023-01-11 11:50:03下载
- 积分:1
-
hi find the attachment
hi find the attachment
- 2022-04-11 02:02:15下载
- 积分:1
-
包括液晶键盘温度控制的温控仪表程序,可做工控仪表。
包括液晶键盘温度控制的温控仪表程序,可做工控仪表。--LED keyboard-controlled temperature controller program.
- 2022-01-25 22:30:47下载
- 积分:1
-
Dos下中断驱动的串口类(CPP)
Dos下中断驱动的串口类(CPP)-Dos Interrupt-driven serial port type (CPP)
- 2022-02-01 06:04:12下载
- 积分:1
-
Example demonstrates a simple use of the clipboard.
Example demonstrates a simple use of the clipboard.
- 2023-03-13 10:10:04下载
- 积分:1