虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Off-Line

  • 基于单片机的倒车雷达的设计

    为降低汽车倒车时的碰撞事故,提出了一种基于单片机的超声波测距倒车雷达的设计方案。该设计根据超声波测距原理,采用AT89S52单片机为控制核心,设计了超声波测距倒车雷达,并对测量距离误差进行了分析。测量距离为0.1~5.0 m,其精度经过校正后可达1 cm。该设计结构简单、工作可靠,有良好的测量精度和灵敏度。

    标签: 单片机 倒车雷达

    上传时间: 2013-11-10

    上传用户:songkun

  • 基于单片机的区域交通信号控制系统

    介绍了一种基于单片机的区域交通信号控制系统设计方案,阐述了系统的工作原理及各主要模块的软硬件实现方法。系统能够根据车流量信号动态地改变交通信号灯各状态配时,并通过无线通信技术,有效地解决了特定区域内各路口信号机之间数据的传输,实现了区域交通信号的智能控制。该系统抗干扰能力强,可靠性高,使用非常方便。

    标签: 单片机 交通信号 控制系统

    上传时间: 2013-10-21

    上传用户:kinochen

  • keil编译错误分析

    一、 main.c(35): warning: #128-D: loop is not reachable from preceding code 原因,前面有一个while(1){ …….} 二、 main.c(54): warning: #1-D: last line of file ends without a newline 少了一个回车在}之后  

    标签: keil 编译 错误

    上传时间: 2014-12-26

    上传用户:sjb555

  • 基于8098单片机的SPWM变频调速系统

      数字控制的交流调速系统所选用的微处理器、功率器件及产生PWM波的方法是影响交流调速系统性能好坏的直接因素。在介绍了正弦脉宽调制(SPWM)技术的基础上,设计了一种以8098单片机作为控制器,以智能功率模块IPM为开关器件的变频调速系统。通过软件编程,产生正弦脉冲宽度调制波形来控制绝缘栅双极晶体管的导通和关断,从而达到控制异步电动机转速的目的。实验结果表明,该系统可调频率调电压,稳定度高,调速范围宽,具有较强的实用价值   Abstract:   AC variable speed with digital control systems used microprocessors, power devices and generate PWM wave is the direct factors of affecting the performance AC speed regulation system. On the basis of introducing the sinusoidal pulse width modulation (SPWM) technology,this paper designed variable speed system which used 8098 as a controller, intelligent power module IPM as switching device. Through software programming, resulting in sinusoidal pulse width modulation waveform to control the insulated gate bipolar transistor turn on and off, so as to achieve the purpose of speed control of induction motors. Experimental results show that the system can adjust frequency modulation voltage, high stability, wide speed range, has a strong practical value.  

    标签: 8098 SPWM 单片机 变频调速系统

    上传时间: 2013-11-14

    上传用户:ynwbosss

  • 基于MT8880的一键拨号电话系统设计

      针对煤矿井下调度及紧急救援系统的需求,以DTMF编解码模块为核心,设计了具有自动拨号功能的新型电话系统。该系统利用MT8880对DTMF信号的编解码功能实现一键拨号和远程设置,通过检测振铃和忙音信号,完成自动摘机和挂机过程,配合AGC等外围电路达到话音清晰流畅的效果。   Abstract:   To meet the demand for mine scheduling and emergency rescue system, with using DTMF signal codec as the core, a new telephone system was designed with automatic dialing function. In the system, the DTMF signal encoding and decoding function of MT8880 was used to achieve one-touch dialing and remote setting. The circuit detects the ringing and busy signal, and then completes automatic off-hook and hangup. With AGC(Automatic Gain Control) and other peripheral circuits, the voice was regulated to a clear and smooth effect.

    标签: 8880 MT 拨号电话 系统设计

    上传时间: 2014-11-18

    上传用户:ly1994

  • 基于CH341A的USB串口通讯设计

    为解决当前计算机串行通讯接口只有USB,难以满足旧型号设备或某些单片机要求RS232通讯的问题,设计出两款RS232/USB电路。采用CH341A与MAX223集成电路芯片构建标准9线RS232/USB通用接口转换器,无需编程。采用CH341A与PIC16F877A构建单片机与计算机之间的USB通讯电路,软件遵循RS232通讯协议,硬件进行电平转换。实际使用表明,这两款产品与计算机端Windows 操作系统下的串口应用程序完全兼容,且通讯过程中无握手失败现象。 Abstract:  To solve the problem that current computer serial communication only with USB interface can not satisfy with the old type equipments or MCU to communicate with RS232, two kinds of RS232/USB circuit were designed.CH341A and MAX223 integrated circuit chips were used to create a standard 9-line RS232/USB universal interface convertor without programme. CH341A and PIC16F877A chips were adopted to build the USB communication circuit between computers and MCU. The software follows RS232 communication protocol, and the hardware converts electrical levels. Actual practices indicate that the two manufactures are compatible with serial application program of Windows operation system completely,and get avoid of handshake lost.    

    标签: 341A 341 USB CH

    上传时间: 2013-11-03

    上传用户:siying

  • 基于凌阳单片机的步进电机加减速的控制方法

    提出一种基于凌阳单片机的步进电机加减速的控制方法。采用凌阳科技推出的16位结构工控单片机SPMC75F2413A为控制器,由Allegro公司生产的两相步进电机专用驱动器件SLA7042M构成步进电机的驱动电路,在传统的3段直线加减速控制算法基础上增加至7段S形曲线加减速过程,控制步进电机的启动和停止。实验结果表明,该控制方法克服了直线加减速中不连续、易造成系统冲击的问题,整个系统实现柔性控制,电机启动、停止连续性能提高30%。 Abstract:  The method of controlled stepping motor is referred based on SPMC75F2413A MCU, which adopts the 16 knots SPMC75F2413A MCU as the controller. The special-purpose actuation chip SLA7042M of two stepping motor produced by Allegro Corporation constituted to actuation electric circuit. The purpose of increasing to seven section of S shape curve based on the traditional three sections of straight line is to control the start and stop process of stepping motor. The experimental results show that the control method solves easy to pull-out and overshot problems. The overall system realizes flexible control, and the performance of motor start or stop continuity is increased 30%

    标签: 凌阳单片机 步进电机 控制方法

    上传时间: 2013-12-08

    上传用户:jiangfire

  • 单片机P0口的片外数据存储器扩展

    单片机作为一种微型计算机,其内部具有一定的存储单元(8031除外),但由于其内部存储单元及端口有限,很多情况下难以满足实际需求。为此介绍一种新的扩展方法,将数据线与地址线合并使用,通过软件控制的方法实现数据线与地址线功能的分时转换,数据线不仅用于传送数据信号,还可作为地址线、控制线,用于传送地址信号和控制信号,从而实现单片机与存储器件的有效连接。以单片机片外256KB数据存储空间的扩展为例,通过该扩展方法,仅用10个I/O端口便可实现,与传统的扩展方法相比,可节约8个I/O端口。 Abstract:  As a micro-computer,the SCM internal memory has a certain units(except8031),but because of its internal storage units and the ports are limited,in many cases it can not meet the actual demand.So we introduced a new extension method,the data line and address lines combined through software-controlled approach to realize the time-conversion functions of data lines and address lines,so the data lines not only transmited data signals,but also served as address lines and control lines to transmit address signals and control signals,in order to achieve an effective connection of microcontroller and memory chips.Take microcontroller chip with256KB of data storage space expansion as example,through this extension method,with only10I/O ports it was achieved,compared with the traditional extension methods,this method saves8I/O ports.

    标签: 单片机 P0口 数据存储器 扩展

    上传时间: 2014-12-26

    上传用户:adada

  • 工控软件组态王与单片机多机串口通讯的设计

    详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于RS-485总线传输的接口电路原理图。根据组态王提供的通讯协议和单片机多机串口通讯的原理,给出程序设计流程与思路。 Abstract:  In this paper,the design principle of communication between multi-SCM and KingView by serial ports is described in detail.We analysis the advantage of method supplied by KingView,by which KingView can communicate with serial ports of SCM directly,and provide the system’s interface circuit based on the RS-485transmission line.We provide flow diagram of programming and thinking on the basis of communication protocol supplied by KingView and principle of communication among multi-SCM through serial ports.

    标签: 工控软件 单片机 串口通讯 多机

    上传时间: 2013-12-19

    上传用户:tecman

  • 基于AT89S52的机载电气盒测试仪的设计

    飞机电网故障时,机载电气盒必须在延迟时间内切断电网,保护机载设备。采用AT89S52设计的电气盒测试仪能够测试电气盒保护功能,测量延迟时间。实际应用结果表明,该测试仪具有测量准确、可靠性高、成本低等优点。 Abstract:  The helicopter-electrical-box must shut off the helicopter power,protect the equipments of the helicopter when the helicopter power is failed.The tester for the helicopter-electrical-box based on AT89S52is used for testing the protect-ing function and measuring the delay time.Application results show this tester has some advantages,such as accurate mea-surement,high dependability,economical cost etc.

    标签: 89S S52 AT 89

    上传时间: 2014-12-27

    上传用户:786334970