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

function

function,表示子例程的一般性名词。在某些编程语言中,它指带返回值的子例程或语句。在一些编程语言中起着关键字的作用。
  • 基于MAX7219的LED数码显示驱动电路设计

      现有基于MAX7219芯片的数码管驱动电路只适用于小尺寸LED,为扩展其使用范围,在介绍动态显示芯片MAX7219功能的基础上,提出了一个基于该芯片的8位高亮度8英寸数码管驱动电路。电路保留了MAX7219芯片的功能强大、编程简单等优点,通过74LS273锁存器和ULN2803达林顿驱动器,实现了对任意大尺寸数码管提供较高电压和电流驱动的静态显示,并亮度可调。   Abstract:   The existing display-driving circuit based on MAX7219 was only applicable to small-size LED. To expand its use, based on the function introduction of dynamic display chip MAX7219, a display-driving circuit for high-brightness 8-bit LED with the size of 8-inch was proposed. The advantages of MAX7219 were retained, such as powerful function and simple programming. Static display with adjustable brightness for large-size LED with higher voltage and current was achieved with the help of 74LS273 and ULN2803.

    标签: 7219 MAX LED 数码显示

    上传时间: 2013-10-23

    上传用户:31633073

  • 单片机Flash存储器坏块自动检测

    在深入了解Flash存储器的基础上,采用单片机自动检测存储器无效块。主要通过读取每一块的第1、第2页内容,判断该块的好坏,并给出具体的实现过程,以及部分关键的电路原理图和C语言程序代码。该设计最终实现单片机自动检测Flash坏块的功能,并通过读取ID号检测Flash的性能,同时该设计能够存储和读取1GB数据。 Abstract:  On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data

    标签: Flash 单片机 存储器 自动检测

    上传时间: 2013-10-25

    上传用户:taozhihua1314

  • 基于ATmega16L单片机的温度控制系统设计

     设计一种基于ATmega16L单片机的温度控制系统,阐述该系统的软硬件设计方案。采用模块化设计方法,利用增量式PID算法使被控对象的温度值趋于给定值。实验结果表明该系统具有良好的检测和控制功能。 Abstract:  This paper designs a temperature control system based on ATmega16L,describes the hardware and software de-sign scheme of the system,adopts the modularized design method and utilizes the incremental PID algorithm to realize the temperature of controlled device incline to the given value.The experiment result indicates that the system has good detec-tion and control function

    标签: ATmega 16L 16 单片机

    上传时间: 2013-10-09

    上传用户:stvnash

  • 串行时钟PCF8583在微机保护装置中的应用

    实时时钟是微机保护装置的重要部件,在讨论PCF8583结构与功能的基础上,提出采用dsPIC33F系列微处理器与串行I2C时钟PCF8583的接口设计方案,给出了相应的接口电路与软件流程。该设计方案结构简单,可靠性高,开发周期短,具有一定的实用与参考价值。所设计的微机保护装置已投入现场运行,效果良好。 Abstract:  Real-time clock chip is an important part in microcomputer protection device.Based on discussing the structure and function of PCF8583,a new interface scheme which uses dsPIC33F microprocessor and serial clock chip(I2C)PCF8583is proposed.The method of the circuit design and the main software flow are introduced in this paper.The scheme has simple structure,higher reliability and shorter exploitation cycle,so has definite practicality or reference value.The microcomputer protection device has been put into operation with better effects.

    标签: 8583 PCF 串行时钟 中的应用

    上传时间: 2013-11-18

    上传用户:Thuan

  • 基于C8051F320的心电监护系统设计

    介绍一种基于C8051单片机的动态心电监护系统。该系统由两部分组成:以C8051F320单片机为核心的数据采集装置和以PC机为平台的分析处理系统。硬件电路功耗低,由单片机自带的USB接口将数据传送给PC机。软件平台采用LabVIEW可视化虚拟仪器系统开发平台,将传统仪器的功能模块集成到计算机中,用户可通过修改虚拟仪器的程序改变其功能。采用USB接口实时传输心电数据,并将数据采集模块设计为计算机外设,使该系统高速快捷、小巧便携。 Abstract:  In this design,a low-cost ECG electrocardiogram monitoring system is introduced,which consists of two parts:data acquisition device based on C8051F320and PC terminal as the analysis and processing system.The system is low-power consumption,the data is transmitted to the PC terminal by USB interface of the C8051F320.By using the visible virtual instrument system developing platform LabVIEW,the traditional instruments function modules are integrated into the computer,so the user can modify virtual instrument software to change its function to meet their needs.Using USB in-terface to realize real-time ECG data transmission,in addition,ECG data acquisition module is designed as the computer peripheral,which makes the syetem high-speed and portable.

    标签: C8051F320 心电监护 系统设计

    上传时间: 2013-11-13

    上传用户:zhangzhenyu

  • 基于Attiny13的投影仪防盗器设计

    介绍一种以Atmel公司的Attiny13为处理器的投影仪防盗器设计方案。该防盗器具有功耗低,功能完整,防盗效果良好等特点,除具有报警功能外,防盗器还具有以无线方式向主机发送报警信号的功能。采用315MHz发射模块实现无线信号发送。该投影仪防盗器可适应众多厂家生产的防盗器主机。 Abstract:  This paper introduces the design scheme of overhead projector's anti-theft device which users ATMEL company’s Attiny13as processor.This anti-theft device features low powerloss,functional integrity,good effect of anti-theft.In addition to its own with alarm functions,the anti-theft device also has alarm function which can send alarm signal to the host through wireless way.It sends wireless signal using315MHz transmitting module,so this overhead projector’s anti-theft device is adapted to anti-theft device host produced by many manufacturers.

    标签: Attiny 13 投影仪 防盗器

    上传时间: 2013-11-02

    上传用户:ysystc699

  • 基于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

  • 基于单片机和FPGA的多功能计数器的设计

    以89S52单片机和EP1C6Q240C8型FPGA为控制核心的多功能计数器,是由峰值检波、A/D转换、程控放大、比较整形、移相网络部分组成,可实现测量正弦信号的频率、周期和相位差的功能。多功能计数器采用等精度的测量方法,可实现频率为1Hz~10MHz、幅度为0.01~5Vrms的正弦信号的精确测频,以及频率为10Hz~100kHz、幅度为0.5~5Vrms的正弦信号精确测相。液晶显示器能够实时显示当前信号的频率、周期和相位差。该多功能计数器精度高,界面友好,实用性强。 Abstract:  A multi-function counter,which uses89S52MCU and EP1C6Q240C8FPGA as a control core,consists of peak detector,A/D conversion,program-controlled amplification,compared shaping and phase-shifting network part.The counter measures the frequency,period and phase of sinusoidal signal.With the equal precision method,the multi-function counter achieves the precise frequency measurement of the sinusoidal signal which its frequency is from1Hz to10MHz,its amplitude is from0.01Vrms to5Vrms,as well as the accurate phase measurement of the sinusoidal signal which its frequency is from10Hz to100kHz,its amplitude is from0.5Vrms to5Vrms.The LCD monitor real-time displays the frequency,period and phase difference of current signal.The multi-function counter features high precision,friendly interface,and strong practical.

    标签: FPGA 单片机 多功能 计数器

    上传时间: 2013-11-15

    上传用户:gy592333

  • 基于ATmega16的标记机控制系统

    介绍了当前普通标记机控制系统现状及其存在缺点,给出气动标记机及相频修正PWM模式的工作原理。采用ATmega16单片机和USB转换RS232接口器件CH341T实现驱动控制系统与PC的实时通讯,标记控制系统可升级到USB接口。采用基于ATmega16的相频修正PWM替换555振荡电路产生的PWM,可直接通过软件调整PWM信号。使用达林顿三极管TIP122替代直流继电器驱动高频电磁阀,使得电磁阀驱动电路简单,成本低廉。该控制系统已成功应用于气动标记机。 Abstract:  In this paper,the actuality and demerit of the common gas marking machine control systems are described.The operation principle of the gas marking machine and the phase and frequency correct PWM of ATmega16is introduced.The real-time communication between the driving control system and PC by CH341T which its function is translated USB to RS232is realized,the control systems is updated grade to USB interface.The PWM signal can be adjustable by software for the555surge circuit was substituted by the phase and frequency.The high frequency electromagnetic value’s driving circuit by DC relay is replaced by TIP122,therefore,the circuit is become simple and the cost cheap.The control systems has been widely used in gas marking machine.

    标签: ATmega 16 标记 控制系统

    上传时间: 2013-10-18

    上传用户:1427796291

  • 基于C8051F040的方位角测试系统

    提出一种基于C8051F040的炮塔方位角测试系统的设计方案,给出测试系统的各个模块软硬件设计。炮塔方位角测试系统集数据采集,数据传输和数据显示等功能于一体,实现了炮塔方位角装置的离线检测。系统软件采用C51编写,对单片机进行有效电源管理,保证了系统的稳定性,可靠性。 Abstract:  This paper puts forwards a design of artillery position system based on C8051F040,describes all modules hardware and software design of measurement system.The system has the function of information collection,transmission,and display.It can measure artillery position system in offline.The system software using C51can manage the power of single chip microcomputer,guarantee the stability,reliability.

    标签: C8051F040 方位角 测试系统

    上传时间: 2014-12-27

    上传用户:7891