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

interface-f

  • 基于单片机和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

  • 基于MSP430F247和TMP275的测温仪

    介绍了一种TI公司最新推出的MSP430F247单片机,利用它自带的I2C模块驱动I2C总线的温度传感器TMP275。TMP275是一款具有高精度、低功耗的新型温度传感器。由于TMP275具有可编程功能,纤小的封装以及极大的温度范围,因而广泛应用于组建超小型温度测量装置。 Abstract:  A new single chip microcomputer MSP430F247 which is released by TI is introduced.It can drive I2C interface digital temperature sensor TMP275 with I2C module.TMP275 is a new temperature sensor which has high accurate,low power. Because TMP275 has programmable function,small packages and wide temperature range,it is applied widely in very little temperature measurment equipment.

    标签: 430F F247 MSP 430

    上传时间: 2013-12-06

    上传用户:asdfasdfd

  • 单片机名词解释

    总线:指能为多个部件服务的信息传送线,在微机系统中各个部件通过总线相互通信。地址总线:它是传送由CPU发出的用于选择要访问的器件或部件的地址。数据总线:它是用来传送微型机系统内的各种类型的数据。汇编:是能完成一定任务的机器指令的集合。二进制数:只有0和1两个数码,基数为二。16进制数:采用0、1、2、3、4、5、6、7、8、9、A、B、C、D、E、F等16个数码,其中A-F相应的十进数为10-15,基数是16。指令:是计算机所能执行的一种基本操作的描述,是计算机软件的基本单元。存储器:用来存放计算机中的所有信息:包括程序、原始数据、运算的中间结果及最终结果等。

    标签: 单片机

    上传时间: 2013-11-14

    上传用户:caoyuanyuan1818

  • 基于C8051F340的数据采集器设计

    针对众多低成本数据采集需求,采用带有片上USB控制器和D/A转换器的混合信号微处理器C8051F340,设计了一款可通过USB接口和LabVIEW图形用户界面实现与PC机联机的数据采集器,同时借助系统的SD卡存储独立实现现场长时间采集数据。该数据采集器成本低,结构简单,体积小,已成功用于工业现场。 Abstract:  Aiming at the need of low cost data acquisition, a data acquisition device is designed based on C8051F340 which is a mixed-signal microcontroller and integrates USB controller and A/D controller on a chip.The data acquisition device which can combine with PC by USB interface and LabVIEW graphical user interface,can realize data acquisition. At the same time,it can be solely run a long time in virtue of SD card in field.The date aequisition device features low cost,simple structure and little sharp, and it has been used in industry field.

    标签: C8051F340 数据 集器设计

    上传时间: 2014-05-31

    上传用户:1109003457

  • 基于DAC7512的数控直流恒流源设计

    为了解决磁放大器性能测试过程中,需要对其供给不同数值恒定电流的问题,设计了一种基于DAC7512和单片机的数控恒流源系统。该系统采用AT89C51作为主控器件,将计算机发送的电流控制字命令转换为D/A转换器控制字,通过模拟SPI通信接口,写D/A控制字到DAC7512,从而控制其输出相应数字电压值,经差动缩放电路、电压/电路变换电路和功率驱动电路,最后输出恒定电流。实验结果表明,恒流源输出电流调节范围为-45~+45 mA、精度为±0.1 mA,分辨率达0.024 4 mA,具有应用灵活,外围电路简单,可靠性高的特点。该数控直流恒流源也可为相关产品的测试系统研发提供参考。 Abstract:  In order to solve the need to supply different values constant current for the magnetic amplifier in testing process, numerical control constant current source system was designed based on DAC7512 chip and microcontroller technology. The system used the AT89C51 as the main chip, which can convert the current control word from computer into to D/A control words. And the system wrote D/A control word into the DAC7512 chip to control the output voltage value by the SPI communication interface, which can output corresponding constant current figures by scaling circuit, the V/I converter and power drive circuit. Experimental results show that the current source output current adjustment range is -45~+45mA, accuracy is ± 0.1mA, and resolution ratio is 0.024 4mA

    标签: 7512 DAC 数控直流 恒流源

    上传时间: 2014-12-27

    上传用户:invtnewer

  • ADS1110与AT89C51单片机系统的接口电路设计

    针对51单片机系统中常用的A/D转换器价格高、精度低的缺点,介绍TI公司的16 位的带有I2C串行接口的A/D转换器ADS1110的工作原理,给出ADS1110与AT89C51单片机系统的接口电路和软件设计。实践证明,ADS1110具有高性价比和实用性。 Abstract:  According to the disadvantages of high expense and low accuracy of the general A/D converter used in MCS51 microchip system,the principle and working process of a high accuracy 16-bit A/D conversion ADS1110 which has I2C bus and belongs to TI Company are proposed here as well as the interface of ADS1110 to AT89C51 and software list.It is proved to be high performance index and practicability.

    标签: 1110 ADS 89C C51

    上传时间: 2013-11-21

    上传用户:gyq

  • 基于AVR单片机的USB接口设计

    以AVR单片机ATmega8和USB接口器件PDIUSBD12为核心,基于标准的USB1.1协议,设计一种通用USB接口模块,以满足嵌入式系统中对USB接口的需求。对模块的硬件电路或单片机固件程序的硬件接口层稍加修改即可用于其他各种微处理器。该模块可为各种嵌入式系统增加USB接口,实现与USB主机系统通信。 Abstract:  Based on AVR microcontroller ATmega8 and USB interface chip PDIUSBD12, a general USB interface module is designed according to USB1.1 protocol for various requirements of embedded systems. Only with few modifications in circuit or hardware abstract layer of firmware, the module can be used on many types of microprocessors. All kinds of embedded systems can realize high speed and stable communication with USB host systems, owing to the facility of this module.

    标签: AVR USB 单片机 接口设计

    上传时间: 2014-01-08

    上传用户:赵云兴

  • LS7266R1在电子式万能材料试验机中的应用

    针对材料试验机等设备中要求测量或控制材料拉伸或压缩的位移,一般采用光电轴角编码器检测位置信号,输出正交编码脉冲信号。若采用其他方法检测位置信号,必然导致电路设计复杂,可靠性降低。因此,提出一种基于LS7266R1的电子式万能材料试验机设计方案。给出了试验机中的控制器工作原理,LS7266R1与单片机的接口硬件设计,以及主程序软件流程图。巧妙地把力量传感器,位移传感器等机械运动状态的压力或拉力以及位置坐标,变成了电压信号和电脉冲数字信号,供A/D测量和LS7266R1计数,从而实现了独立完成材料试验控制或通过PC机串口命令完成材料试验控制。 Abstract:  Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware interface design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.

    标签: 7266R 7266 LS R1

    上传时间: 2013-11-02

    上传用户:yl1140vista

  • 基于MC33993的多路开关检测接口电路设计

    主要介绍了以PIC18F2480单片机为处理器,基于可编程多路开关检测接口器件MC33993实现的车用多路开关检测接口电路的设计。该设计克服了以往基于分立元件的检测接口电路的弊端,简化了接口电路设计,保证了车用开关工作的可靠性和安全性。 Abstract:  The design of automotive multiple switch detection interface circuit based on MC33993 is introduced mainly which adopts PIC18F2480 single chip microprocessor.This circuit overcomes shortage of traditional design which contains many schism elements, and the application of MC33993 also predigests the whole design of interface circuit and guarantees the dependability and security of the switch.

    标签: 33993 MC 多路开关 检测

    上传时间: 2013-11-19

    上传用户:star_in_rain