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

数模命题

  • TLC2543 中文资料

    TLC2543是TI公司的12位串行模数转换器,使用开关电容逐次逼近技术完成A/D转换过程。由于是串行输入结构,能够节省51系列单片机I/O资源;且价格适中,分辨率较高,因此在仪器仪表中有较为广泛的应用。 TLC2543的特点 (1)12位分辩率A/D转换器; (2)在工作温度范围内10μs转换时间; (3)11个模拟输入通道; (4)3路内置自测试方式; (5)采样率为66kbps; (6)线性误差±1LSBmax; (7)有转换结束输出EOC; (8)具有单、双极性输出; (9)可编程的MSB或LSB前导; (10)可编程输出数据长度。 TLC2543的引脚排列及说明    TLC2543有两种封装形式:DB、DW或N封装以及FN封装,这两种封装的引脚排列如图1,引脚说明见表1 TLC2543电路图和程序欣赏 #include<reg52.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int sbit clock=P1^0; sbit d_in=P1^1; sbit d_out=P1^2; sbit _cs=P1^3; uchar a1,b1,c1,d1; float sum,sum1; double  sum_final1; double  sum_final; uchar duan[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; uchar wei[]={0xf7,0xfb,0xfd,0xfe};  void delay(unsigned char b)   //50us {           unsigned char a;           for(;b>0;b--)                     for(a=22;a>0;a--); }  void display(uchar a,uchar b,uchar c,uchar d) {    P0=duan[a]|0x80;    P2=wei[0];    delay(5);    P2=0xff;    P0=duan[b];    P2=wei[1];    delay(5);   P2=0xff;   P0=duan[c];   P2=wei[2];   delay(5);   P2=0xff;   P0=duan[d];   P2=wei[3];   delay(5);   P2=0xff;   } uint read(uchar port) {   uchar  i,al=0,ah=0;   unsigned long ad;   clock=0;   _cs=0;   port<<=4;   for(i=0;i<4;i++)  {    d_in=port&0x80;    clock=1;    clock=0;    port<<=1;  }   d_in=0;   for(i=0;i<8;i++)  {    clock=1;    clock=0;  }   _cs=1;   delay(5);   _cs=0;   for(i=0;i<4;i++)  {    clock=1;    ah<<=1;    if(d_out)ah|=0x01;    clock=0; }   for(i=0;i<8;i++)  {    clock=1;    al<<=1;    if(d_out) al|=0x01;    clock=0;  }   _cs=1;   ad=(uint)ah;   ad<<=8;   ad|=al;   return(ad); }  void main()  {   uchar j;   sum=0;sum1=0;   sum_final=0;   sum_final1=0;    while(1)  {              for(j=0;j<128;j++)          {             sum1+=read(1);             display(a1,b1,c1,d1);           }            sum=sum1/128;            sum1=0;            sum_final1=(sum/4095)*5;            sum_final=sum_final1*1000;            a1=(int)sum_final/1000;            b1=(int)sum_final%1000/100;            c1=(int)sum_final%1000%100/10;            d1=(int)sum_final%10;            display(a1,b1,c1,d1);           }         } 

    标签: 2543 TLC

    上传时间: 2013-11-19

    上传用户:shen1230

  • 基于89C51放电法测高阻数据的采集与处理

        对大学物理实验中放电法测高阻的传统实验,采用单片机-计算机接口技术和模数变换技术,用计算机对数据进行处理得出结果。它既可以作为自动化测量设备,也可以作为高年级大学生课程设计或毕业设计题目,对于拓宽大学生知识面,提高实际动手能力和解决问题能力有一定的价值。

    标签: 89C51 放电 高阻 数据

    上传时间: 2013-11-03

    上传用户:jichenxi0730

  • 模数转换器设计指南 第十八版

    ad与da,希望对你有帮助

    标签: 模数转换器 设计指南

    上传时间: 2013-11-10

    上传用户:jiangshandz

  • 3D8光立方取模软件

    单片机软件,3D8光立方取模软件。

    标签: 3D8 光立方 取模软件

    上传时间: 2013-11-21

    上传用户:jyycc

  • lcd汉字取模软件

    lcd汉字取模软件

    标签: lcd 汉字 取模软件

    上传时间: 2013-10-09

    上传用户:18752787361

  • 模数转换资料

    还行吧

    标签: 模数转换

    上传时间: 2013-11-24

    上传用户:gaoliangncepu

  • 基于89C52的二极管特性测试器的设计

      利用单片机具有的智能程序控制的特点,设计了基于STC89C52单片机的"二极管特性测试器",可对二极管一般特性进行快速测试。通过稳定线性电流源给二极管加载恒定电流,然后由高精度模数转换器测试其压降,以此为基础可判断二极管好坏、检测二极管极性和测试二极管伏安特性等,避免了用万用表测试只能测得极性而不知其特性这一缺点。可用于电子设计制作过程中对二极管进行快速测试,以确定被测二极管是否满足电路的设计要求。   Abstract:   By making good use of the intelligent control function of the Micro Controller Unit (MCU), the diode trait tester was designed based on the STC89C52,which could be used to test the trait of a diode rapidly. By loading constant current to diode through the stable linear current source, and measuring the voltage drop of the diode by high-precision analogue-to-digital converter (ADC), it can judge whether the diode is good or not, distinguish the polarity of the diode, and test the trait that the diode, which can avoid the fault of using a multimeter can only measure the polarity but not the trait. This device can be used to test the trait of a diode quickly,and to make sure that whether a diode can be used in the electronic design or not.

    标签: 89C52 二极管 特性测试器

    上传时间: 2013-11-13

    上传用户:assef

  • 基于C8051F020单片机的多路压力测量仪

    介绍了一种基于C8051F020单片机的多路压力测量仪。该测量仪选用电阻应变式压力传感器采集压力信号,并经放大电路处理后送入C8051F020单片机,再由C8051F020单片机内部的A/D转换器将采集到的压力信号进行模数转化,然后分别对数据进行存储和显示。该测量仪能测量6路压力信号,并且各测量点都能单独检测和设置。由于采用了C8051F020单片机,简化了硬件电路,增强了抗干扰能力,使得测量仪具有测量精度高,冲击小等特点。 Abstract:  A measurement apparatus for multi-channel pressure based on single chip microcomputer is introduced.It can measure 6 channels signal of the pressure,and the pressure measure points can be detection and located individually.The pressure signal sampling is obtained by resistor stress-type pressure sensors,the digital signals of 6 channels are collected through amplifying and adjustment circuit of pressure signals and internal integrated A/D converter of MCU.Finally,and it realizes the function to store and display data separately.C8051F020 was used to made hardware circuit simple,and it also enhanced the anti-interference ability.It features high precision and little impact.

    标签: C8051F020 单片机 多路 压力

    上传时间: 2013-11-16

    上传用户:yare

  • HT46R47,HT46R22,HT46R23,HT46R2

    前言 自从盛群半导体公司成立以来,即致力于单片机产品的设计与开发。虽然盛群半导体提供给客户各式各样的半导体器件,但其中单片机仍是盛群的主要关键产品,未来盛群半导体仍将继续扩展单片机产品系列完整性与功能性。通过长期累积的单片机研发经验与技术,盛群半导体能为各式各样的应用范围开发出高性能且低价位的单片机芯片。许多连接到外部感应器的重要应用需要处理模拟信号,所有的这些应用,在它们可以被单片机处理之前需要通过一个A/D转换器做模数信号的转换。为了满足这些需求,盛群开发出A/D系列的单片机,除了拥有I/O系列的所有特性和功能外,还含有集成的多通道A/D转换器,它的解析度和通道个数可调。而PWM功能和I2C接口,则进一步增加了A/D系列单片机的功能和应用的可行性。

    标签: 46R HT 46 R47

    上传时间: 2013-12-05

    上传用户:waitingfy

  • 用AT89C52和TLC1543实现数据采集系统

    TLC1543是TI公司推出的采用SPI技术的模数转换器。具有输入通道多、高速、高分辨率、性价比高、易于和单片机接口等特点,在各种数据采集系统中有着广阔的应用空间。51单片机、TLC1543加上很少的外围器件即可构成一个高性价比的数据采集系统,同时TLC1543占用单片机I/O资源较少,使得单片机有足够的I/O资源去完成如控制、显示等功能。由AT89C52和TLC1543构成的三相单独可调400Hz中频电源的数据采集系统在实际运用中达到很好的效果。

    标签: 1543 89C C52 TLC

    上传时间: 2013-11-17

    上传用户:xg262122