Professional Documents
Culture Documents
3.1 INTRODUCTION
In the previous chapter we discussed the hardware details both module wise as
well as in full assembly.In this chapter,we move to the software design for the
project.Since,we are using microprocessor 8085 kit,so the assembly language
mnemonics and machine codes pertaining to microprocessor 8085 are used.But
since the logic design will be same so the same program can be written for 16-bit
processor also by making a few changes and using the appropriate machine
code.
As per the requirements of the project the machine language program has been
divided into three different parts which are,
In the subsequent sections,we will present the software design flow for the
project followed by the machine code.
1.Initialize 8255U (upper 8255 chip in the kit) and send control word to use
port A and port C upper in input mode and port B and port C lower in
output mode.
2. Select the channel of the ADC at which analog signal is to be fed.
8.If the temperature measured is less than or equal to the lower limit.port
B is used to switch on the relay connected to heater.
Now below ,we present the flow chart depicting the software design
flow.This is shown in Fig.22
START
CHECK EOC
NO
IS CONV
OVER?
YES