[Resource Sharing] Based on 8086 multi-channel temperature acquisition system design (simulation, program, report), based on 8086 calculator system simulation design (simulation, program, bom)

Design of multi-channel temperature acquisition system based on 8086 (simulation, program, report)

The relationship between the resistance and temperature of the platinum resistance temperature sensor is nonlinear, and the resistance change caused by the temperature rise is realized by the bridge to correspond to the change of the voltage. After the A/D converter, it is sent to the latch for latching, and after being output by the decoder, it is displayed on the digital tube. Since the 74LS373 has a latch function, it can realize four-digit temperature display. Since the relationship between platinum resistance and temperature is non-linear, the output test accuracy is low and cannot meet our requirements for temperature control.

unit circuit design

(1) Temperature detection system

The temperature information is measured by the temperature sensor and converted into a microampere-level current signal. The small signal output by the temperature sensor is followed and amplified by the operational amplifier circuit, and input to the A/D converter (ADC0809) to convert it into a digital signal for input to the host. After the data is scale converted, on the one hand, the temperature is displayed through the digital tube; on the other hand, the temperature value is compared with the set temperature value, and the opening of the electric heating furnace is adjusted to control the temperature. When the electric heater is disconnected, the temperature is still abnormal, and the alarm will sound an alarm, prompting to take corresponding adjustment measures.

(2) Temperature measurement part

A\D590 is a double-terminal integrated sensor with good accuracy and linearity produced by AD Company. Its output current is related to absolute temperature. For the power supply voltage change from 5-10V, it only causes a change of 1uA maximum current or 1 degree Celsius equivalent error. Figure 4-1 shows the basic temperature sensitive circuit used to obtain an output current proportional to absolute temperature.

A\D590 output current I=(273+T)uA (T is Celsius temperature).

Therefore, the measured voltage V is (273+T)uA×10K=(2.73+T/100)V. In order to measure the voltage, the current I must not be shunted out. Use a voltage follower to make its output voltage V2 equal to V.

Since the general power supply is supplied to multiple devices, the power supply has clutter, so use a Zener diode as a voltage stabilizing element, and then use a variable resistor to divide the voltage. The output voltage V1 needs to be adjusted to 2.73V.

The output V0 of the differential amplifier is (100K/10K)×(V2-V1)=T/10, if the current temperature is 28°C, the output voltage is 2.8V.

The output voltage is connected to the A\D converter, then the digital quantity output by the A\D conversion is linearly proportional to the Celsius temperature.

基于8086计算器系统仿真设计(仿真、程序、bom)

功能:实现计算器仿真,具体功能可以看如下按键标注,采用8086芯片

资料:仿真、程序、元器件清单等资料

org 8000h
flag db 0
scount db 0 

;Define code at 100h
org 100h
mov al, 0 
out 020h, al 

;Set 2 initial elements in the stack
push 0
push 0
jmp display

;Start point of the program
redo:
mov ax, 0
mov dx, 0 
clc 

;Start of the input loop

start: 

;Check every line for inputs, if one is pressed, it will jump to that line
;Otherwise, it will jump to next if ah != 0, or loop if ah = 0
   
in al, 010h
cmp al, 0
jne line1
 
in al, 012h
cmp al, 0
jne line2
           
in al, 014h 
cmp al, 0
jne line3

in al, 016h
cmp al, 0
jne line4
         
in al, 018h
cmp al, 0
...
...
....

1669【毕设课设】基于8086计算器系统仿真设计(仿真、程序、bom)

1668【毕设课设】基于8086多路温度采集系统设计(仿真、程序、报告)

文章转自电设屋,完整资料百度网盘下载地址:百度网盘 www.aiesst.cn/share.html


8086汇编基础知识总结

一、寄存器

1、4个数据寄存器(16位):

AX(AH、AL)

BX(BH、BL):常用作基数寄存器(即数据段的偏移地址寄存器)

CX(CH、CL)

DX(DH、DL)

2、指针寄存器

BP:基数指针寄存器,用作堆栈段的偏移地址寄存器

SP:堆栈指针寄存器,用于堆栈段的偏移地址寄存器

3、变址寄存器

SI:源变址寄存器,与BX功能相近,但更常用于变址寻址

DI:目的变址寄存器,与BX功能相近,但更常用于变址寻址

4、4个段寄存器

CS:代码段寄存器,存放代码段的段地址

DS:数据段寄存器,存放数据段的段地址

SS:堆栈段寄存器,存放堆栈段的段地址

ES:附加数据段寄存器,当DS被占用后,可以另外使用ES来充当另外一个数据段的寄存器

5、其他

IP:指令指针寄存器(用作代码段的偏移地址寄存器)

6、状态标志寄存器

16位,有9个标志,见下文标志寄存器部分。

7、附:代码段、数据段、堆栈段

CS:IP(即物理地址为CSx16+IP)指向的指令即为当前正要执行的指令。

DS:BP(或DS:BX)指向的数据段,为当前可以读取的数据段

SS:SP指向当前正在读取的堆栈段地址。SS:SP指向的是栈顶元素

8、附:未显式给出段寄存器时的默认段寄存器

含有BX、DI、SI的寻址,默认段寄存器为DS

含有BP的寻址(同时含有BP和BX/SI/SI也属于这种情况),默认段寄存器位SS

Guess you like

Origin blog.csdn.net/jingdianjiuchan/article/details/128952948