-
STC_IR_REMOTER
说明: 使用P3.2外部中断下降沿触发, 对NEC红外编码方案进行解码。
单片机晶振12M, 22pf匹配电容
测试遥控器为淘宝购买, 淘宝输入 ‘红外遥控器’ 即可, 不到2元一个。
单片机用的是 STC 的 12C5A60S2, 使用串口下载烧录程序。
因为使用的12M晶振, 不是11.0592,所以使用单片机内部的专用波特率发生器, 最高9600bps,再高就乱码误码比较大了。
红外接收电路1838T 3脚一体化, 使用数据手册里的推荐电路, 自行百度。(NEC infrared decoder program based on STC MCU using C language.
MCU model: STC12C5A60S2
CRYSTAL: 12 M
INFRARED RECEIVER MODEL: 1838T)
- 2020-09-04 14:54:57下载
- 积分:1
-
TM1620
PIC16f1947驱动TM1620数码管芯片(PIC16f1947 Drives TM1620 Digital Tube Chip)
- 2020-06-24 13:20:02下载
- 积分:1
-
5.Matrix-key
矩阵按键测试程序, 输出结果用串口传输到上位机显示(Matrix key test program, the output with serial transmission to the PC)
- 2014-02-26 20:25:41下载
- 积分:1
-
MQTT_stm32_SIM800C_TLS
说明: 基于stm32f103的mqtt完整通信的例子,支持TLS加密通信(An example of mqtt complete communication based on STM32F103 supports TLS encrypted communication)
- 2020-06-15 22:50:02下载
- 积分:1
-
C8051F020
该程序为C8051F020型单片机用于采集频率信号和模拟量信号以及对采集后的信号进行逻辑判断(This program is for C8051F020 Single Chip and is applied to collect frequency signal and analog signal as well as judge these signals logically. )
- 2011-10-05 15:02:22下载
- 积分:1
-
robot
超声波测距,测量精度为1cm,可以使机器人安全避障。(Ultrasonic distance measurement accuracy of 1cm, can make the robot obstacle avoidance safety.)
- 2013-11-13 10:35:13下载
- 积分:1
-
USART—485通信
使用485向外发送0-255的数字。
若开发板的485接收到256个字节数据,会把数据以16进制形式打印出来。(Use 485 to send out 0-255 digits.
If 485 of the development board receives 256 byte data, the data will be printed in 16 form.)
- 2018-09-29 08:58:18下载
- 积分:1
-
BLDC
基于stm32的速度闭环,直流无刷电机驱动程序。(Based stm32 speed closed loop brushless DC motor driver.)
- 2016-05-30 20:58:27下载
- 积分:1
-
12290
用c语音编写的超声波测距的源代码,可以实现超声波测距的界面c语言编程(C speech prepared by ultrasonic distance of the source code, you can achieve ultrasonic distance c programming language interface)
- 2014-12-14 13:13:59下载
- 积分:1
-
CC2530-anf-GSM
有关CC2530在Ztack中实现串口与GSM之间的通信,内容简单明了(For the CC2530 Ztack achieve the communication between the serial port and GSM, the content is simple)
- 2013-09-17 14:46:40下载
- 积分:1