Beruflich Dokumente
Kultur Dokumente
Project-Question no.9
Design a Micro Processor based flour packing machine. You have flour
contained in the silo. The user keys in the required amount of flour per
packet. The system should take the input and pack the specified amount of
flour upon press of a START key. It is also required to monitor the
temperature of the floor where packing is going on. This temperature range
can be user settable and also should be displayed. Display the number of
packets packed in every hour. An alarm for any malfunctioning of the system
should be provided.
Design Specifications
Temperature Sensor
Calibrated in degree Celsius
Weight Sensor
Calibrated in pounds
14. OR Gate 6
15 MHz
AD [0…15]
X1 X2
AD [16…19]
EPI CLK CLK
F/C’
Reset RESET
AEN1
RD’
NMI RD’
M/IO’
PCLK GND M/IO’
RDY1 RDY2
I/O DECODING
A3 A O0 8255 (1)
A4 B O1 8253
A5 C O2 8255 (2)
O3 8255 (3)
74LS138
5V G1
A6 G2A’
M/IO’ G2B’
KEYPAD INTERFACING
D0- PA0-
D0-D7
D7 PA3 16 KEY MATRIX
KEYPAD
RD’ PB0-
RD’
PB3
WR’ WR’ 8255 (1)
A1 A0 PA0-PA3
A2 A1
RESET’ from PC0- A a 7 SEG
100Hz
10KHz
CLK0 OUT0
Count 100d
5V GATE0
5Hz
OUT1 CLK1
Count 20
5V GATE1
1 Hour
CLK2 OUT2
hr
Count 36000d
5V
GATE2
ADC INTERFACING
ADD A
Through 74LS373 with
RD’ RD’ ADD B
PB7 as LE ADD C
WR’ EOC
WR’ 8255(2) OE
SOC
A1 A0 Vref(+) 2.56V
A2 5V ALE
Vref (-) GND
RESET’ from
RESET’ LT0
8284 ADC0808
PC5 LT1 EOC_Check
Y2 CS’ PC6 LT2
PC7 LT3
OUT2
GND 5V
DISPLAY INTERFACING
PA3 Output
RD’ RD’
RBO 7447A to G Display
WR RBI
WR’
A1 LT
A0 8255(3)
PB0- Latch
A2 A1 PB5 Enable
5V
RESET’ from 8284
RESET’
Y3 CS’ PC0 EOC_Check
PC1 hr
Actuator interfacing
Temperature sensor
ADC 0808
Load cell
MEMORY INTERFACING
AD16-AD19 LS373
A16-A19
S6-S3
8086
G OE’
ALE
BHE’/S7
BHE’
LS373
AD8-AD15 A8-A15
G OE’
LS373
AD0-AD7 A0-A7
G OE’
MN/MX’ 5V
SYSTEM BUS 8086
Data control
RD’
WR’
IO’/M
8086
LS245
AD8-AD15 D8-D15
DEN’
LS245
AD0-AD7
D0-D7
DIR OE’
MN/M
MN/MX’ 5V
XXXXXX
XXXXXX
’X’
Flow Charts
System Start
Top
Stop flour motor and conveyor Take temperature input Take temperature input
motor
Weight Set
Jump To Top
Jump to Top
Start
Display
Temperature No
within range Alarm
Yes
Compare Weight
YES
Motor Forward If Required
Weight Filled
NO
DISPLAY
Check if one NO
hour Over
YES
END
KEYBRD
Read Columns
All Keys
Open ?
Yes
Read Columns
No
Key
Pressed ?
Yes
Wait
Read Columns
No
Key
Pressed ?
Yes
Output zero
to one row
Read Columns
No
Key
Found ?
Convert To HEX
Return
APPENDIX
The appendix contains the list of all datasheets of all the chips used.
8086
http://www.datasheet-pdf.com/datasheetdownload.php?id=544568
8255
http://www.alldatasheet.com/datasheet-
pdf/pdf/66100/INTEL/8255A.html
8259
http://www.alldatasheet.com/datasheet-
pdf/pdf/66107/INTEL/8259A.html
8253
http://www.alldatasheet.com/datasheet-
pdf/pdf/66098/INTEL/8253.html
ADC0808
http://html.alldatasheet.com/html-
pdf/8097/NSC/ADC0808/38/1/ADC0808.html
Load Cell
http://www.velamed.com/englisch/products/electromyography/noraxon
- sensors/noraxon-sensors.html
LS138
http://www.alldatasheet.com/datasheet-pdf/pdf/46206/SLS/LS138.html
74373
http://www.alldatasheet.com/datasheet-pdf/pdf/192081/TI/LS373.html
74245
http://www.alldatasheet.com/datasheet-
pdf/pdf/44472/SIEMENS/BF245.html
L293D
http://www.ti.com/lit/ds/symlink/l293d.pdf
LM 35
http://www.ti.com/lit/ds/symlink/lm35.pdf