搜索资源列表
-
0下载:
使用verilog编写的利用状态机实现对TLC549的采样控制,实验时可调节电位器,改变ADC
的模拟量输入值,数据采集读取后在数码管上显示。可以自己用万用表测一下输入电压,
然后与读取到的数据比较一下。-Use verilog prepared using the state machine to achieve the TLC549 sampling control, adjustable potentiometer experiment, change ADC
The anal
-
-
1下载:
利用状态机实现对TLC549的采样控制,实验时可调节电位器RW1(在开发板底板左下角),改变ADC
的模拟量输入值,数据采集读取后在数码管上显示。可以自己用万用表测一下输入电压,
然后与读取到的数据比较一下。注意:数码管显示的数据不是最终结果,还需要转换。
转换方法:
比如,采样电压值为V ,ADC转换后读取的8位二进制数为D,Vref为参考电压值,这里是2.5V
那么以下等式成立:
V=(D/256)*Vref-Using the state machine to ac
-
-
0下载:
内部ADC模数转换查询方式测试程序
1、程序说明:
该例程演示了单片机内部ADC模数转换测试实验,
通过查询方式读取转换结果,并进行简单的数据处理。
并将得到的电压值通过数码管显示出来。
2、实验操作
将拨码开关S10的SMG端拨到ON端,表示该端接通。
将拨码开关S10的ADC端拨到ON端,表示该端接通。
同时把该拨码开关的其他端置为断开状态,即不拨到ON端。
否则将影响到实验效果。
将程序下载到开发板后可观察到数码管显示测到的电
-
-
0下载:
the previous program reads an alog value through the P1 potentiometer EasyPIC5 card then converts this digital value to the posters and the result on ports A and C.
The result is displayed in 10 bit as the PIC16F887 to a resolution of 10 bit.-the p
-
-
0下载:
the previous program reads an alog value through the P1 potentiometer EasyPIC5 card then converts this digital value to the posters and the result on ports A and C.
the result is a binary storyteller that can be recovered through the port c:-the pr
-
-
0下载:
=== === === === === === === === === === ===
3. 比例电压变换器
要求:利用A/D和D/A实现将A/D的输入电压反向变换的功能,即A/D的输入电压
从0-5V变化时,D/A的输出电压相应的从+5V-0V变化。
控制功能:将仿真试验箱上的电位器W1产生0-5V电压输入到ADC0809的通道0。
利用74LS393将4MHz晶振产生的脉冲信号八分频后做为ADC0809的时钟信号
使用的主要元器件:8031、6
-
-
0下载:
DS18B20数字温度传感器测试程序
1、程序说明:
该例程演示了接在单片机端口上的数字温度传感器DS18B20测试实验。
并在1602液晶上显示当前温度。同时判断是否超过了温度上限和下限,
如果超过,液晶屏将有提示闪烁。
2、实验操作
1、将LCD1602液晶屏插入J15插座中,注液管脚方向。
2、通过调节电位器VR2可以改变显示的对比度。
3、将跳线插座J11的跳线帽调至TDQ端。
如果未正确设置跳线,液晶屏将显示No DS18
-
-
0下载:
电压采集,通过电位器调节输入电压,通过模数转换(Voltage acquisition, through the potentiometer to adjust the input voltage, through analog to digital conversion)
-
-
0下载:
使用ADC0809的通道0,接入0-5V的直流电压,用WR电位器调整模拟电压值,A/D的转换结束信号EOC接在主8259A的IR5上,采集100个数据并存入内存中,同时将采集的16进制数据显示在数码管上。请多次调整0-5V的电压值(旋动W1旋钮),进行A/D采集,并观测内存中的数据的变化情况。(The channel 0 of ADC0809 is used to connect to the DC voltage of 0-5V, to adjust the analog voltage va
-
-
0下载:
数字电压表实验
本实验我们将电位计的阻值转化为模拟值读取出来,然后显示到屏幕上,这也是我们以后完成自己所需的实验功能所必须掌握的实例应用。(Digital voltmeter experiment
In this experiment, we transform the resistance of potentiometer into analogue value and read it to the screen, which is an example application that
-
-
0下载:
在编程软件配合下,要求实现如下功能:调解电位器RV1可使其输出电压在0~5V之间变化。经A/D转换后,数码管以十进制数形式动态显示电位器的调解电压。(In cooperation with the programming software, it is required to realize the following functions: The adjustment potentiometer RV1 can change its output voltage between 0~5V. A
-
-
2下载:
利用ADC0809采集电位器的电压值,将采集的电压值通过8255显示在七段数码管上,显示数据保留小数点后2位,利用8253定时数据更新,每隔0.5秒数据更新一次。扩展要求:具有设置报警阈值功能,当超过阈值时,点亮一个LED灯。(Using ADC0809 to collect the voltage value of potentiometer, the collected voltage value is displayed on seven digital tubes through 825
-