单片机AT89C51产生2KHZ的方波,由其端口P3.2输出,当方波为为波峰时,是NPN型三极管导通,驱动喇叭发出声音,当其为波谷时,则三极管截止, 喇叭不发出声音。 - 下载
/* 程序详细功能介绍: * 用AT89S51单片机产生“嘀、嘀、…”报警声从P3.2端口输出,产生频率为1KHz, * 1KHZ方波从P3.2输出0.2秒,接着0.2秒从P3.2输出电平信号,如此循环下去,就形成我们所需的报警声了。 * * 程序设计方法 *(1.生活中我们常常到各种各样的报警声,例如“嘀、嘀、…”就是常见的一种声音报警声, * 但对于这种报警声,嘀0.2秒钟,然后断0.2秒钟,如此循环下去,假设嘀声的频率为1KHz, * 由于要产生上面的信号,我们把上面的信号分成两部分,一部分为1KHZ方波, * 占用时间为0.2秒;另一部分为电平,也是占用0.2秒;因此,我们利用单片机的定时/计数器T0作为定时, * 可以定时0.2秒;同时,也要用单片机产生1KHZ的方波,对于1KHZ的方波信号周期为1ms, * 高电平占用0.5ms,低电平占用0.5ms,因此也采用定时器T0来完成0.5ms的定时; * 最后,可以选定定时/计数器T0的定时时间为0.5ms,而要定时0.2秒则是0.5ms的400倍, * 也就是说以0.5ms定时400次就达到0.2秒的定时时间了。 */- 下载
这是一个智能小车的原理图,里面包括红外传感器的收发,液晶显示模块,方波产生模块,单片机控制模块等.-This is a smart diagram of the car, including infrared sensors inside the transceiver, LCD modules, square wave generated modules, SCM control module. 下载
介绍一种基于单片机控制的多功能直流稳压电源的设计方案。该电源简单易用 ,精度高、成 本低 ,可以用作信号发生器 ,产生输出正弦波、方波、三角波、锯齿波等多种波形信号 通过软件升级很容 易实现功能扩展。-introduced a microcontroller-based control of the multi-purpose DC power supply design. The Power simple to use, high accuracy, low cost, can be used to signal generator, the output sine wave, square wave, triangular wave, sawtooth waveforms and other signal through software upgrades are easy to achieve functional expansion. 下载
强!自制电容表的源程序和PCB图,很多贴片电容都没有标明电容值,而我又舍不得扔了它们;自己做电路玩时,经常看到一些废电路板上有很多贴片电容,可以拆下来用,但是却看不到容量,很郁闷。所以我决定做一个电容表来测试它们的容量。 我用单片机8952和电压比较器339做了一个简单的电容容量测量表,参数大致如下: 电容测量范围为1pF-9999.99uF,最小分辨力为1pF。分为5个量程,可以自动切换量程,也可手动切换。 另外,有简单的频率计功能,能测量0-60MHz的数字信号频率(TTL电平);还可以产生几个单点频率的方波信号(比如1KHz)。-strong! Table homemade capacitance of the source and PCB plans, many chip capacitors are not marked with capacitance values, and I could not bear to throw them; Circuit done playing, I always see some circuit board waste a lot of chip capacitors, used to be removed, but I fail to see the capacity, very depressed. So I decided to make a capacitance meter to test their capacity. I used SCM 8952 and voltage comparator 339 to do a simple capacitance measurement table, along the following parameters : capacitance measurement range to max-9999.99uF, minimum resolution of the disturbance. Divided into five range, it will automatically switch range can also manually switch. In addition, a simple function of frequency meter, capable of measuring 0-60MHz digital signal frequency (TTL level); Some ca 下载
matlab时间序列预测 虚拟现实软件vega下载 矢量量化算法 diameter协议 listview的扩展示例 牛拉法 matlab vc 项目 原代码 watermarking and vc code vc 界面设计工具 2410-s开发平台 histogram equalization 18b20 c程序 铁电存储器fm25cl64 的c51 编程 定时器课程设计 lpc214x usb程序 网络神偷 源代码 sd2000驱动程序 qt 编程 实例 opengl 灯光 gpl162003 s3c2410 串口 源代码 rtfifo arm开发板 ads1.2 java 多线程 聊天程序 c 课程设计 同学录 zi2020 watermarking and vc 神经网络小程序 mp3 解码器 代码 粒子滤波 运动的小车 源程序 模拟退火遗传算法介绍 锐化处理算法 vc linux rs232 sl811 u盘 最好用的串口工具 hopfield;解决;tsp;源;程序 visual c directx9 3d游戏开发导引 下载 verilog代码 jtag c 获取摄像头 迭代法 matlab java des md5加密 文件系统课程设计代码 cserialport类 软件开发文档格式 vc chart control 代码 24cxx应用源程序 java打印程序实例 libnids tcp重组 rbf预测源程序