您好,欢迎光临本网站![请登录][注册会员]  
文件名称: 示波器模拟软件
  所属分类: C
  开发工具:
  文件大小: 12kb
  下载次数: 0
  上传时间: 2013-07-18
  提 供 者: lita*****
 详细说明: Scope 1.0 for Linux ELF ======================= This is an oscilloscope program written in c using the XForms library. It uses the PC's parallel port for data input. The way it's done is as follows: first data bit 1 is set to 1 then to 0 to enable the a-to-d converter ( ADC0801 ), then we read 4 bits of data from the multiplexer ( 74LS157 ) placed after the a-to-d, then a 1 is sent to the second data bit and the other four bits of data are read. The circuit is setup as follows: ---------------------------------------------------------<---- Data bit 1 | | ---------------- -------------- | | D0|-------->----------| Select|----<---- Data bit 2 |---|Enable D1|-------->----------| | From | D2|-------->----------| O0|---->---- Status bit 4 Circuit->--|Ain D3|-------->----------| O1|---->---- Status bit 5 | D4|-------->----------| O2|---->---- Status bit 6 From | D5|-------->----------| O3|---->---- Status bit 7 555 timer->|CLK D6|-------->----------| | | D7|-------->----------| | ---------------- -------------- ADC0801 74LS157 The parallel port used as default is 0x378 but it can be changed within the program. Other options such as number of points per screen update and a few more can also be set from the options dialog. The 555 timer is an easy chip to configure. Set it to between 70 and 100kHz. You will need the data-sheets for these 3 chips; these can be found at www.national.com in pdf format. One thing I haven't been able to figure out yet is the frequency response of this setup. If anyone can help me with that it would be greatly appreciated. Amplitude sensitivity is approximately 0.04 volts per bit change. Also, because this program accesses the hardware directly, you will need to run it as root ( pretty obvious ). If you have any questions regarding the circuit setup or operation just let me know through e-mail and I'll write back with the solution. ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: 并口 示波器 PC C
 输入关键字,在本站1000多万海量源码库中尽情搜索: