Properties:
We can see in this view the actor 'Student' who can use the
application 'LPT Interface' in two ways.
He can see on the 'LPT Interface' the Values of the LPT Bits.
He can reprogramm in the 'LPT Interface' the Program, and when he is
done with it, he can to start that Program. This should be a graphical
environment where the Student can to drag the entities of the program
in the flowchart, so in this way he can assemble a simple program.
We can see furthermore the entities like: the 'LPT Interface', the
'LPT', the 'Hardware Interface', the 'Module', the 'USB Connector',
and the 'Adapter' and their functions.
We can see wether the system functions as we wish?
'LPT Interface' use case diagram
Actors, their functions, relations between actors.
The student can to reprogramm a program that is graphically represented in the 'LPT Interace' application.
Stereotype: realization
LptInterface provide a Graphical Interface for the Student, and at the same time is an interface for connection to the Parallel Port (LPT).
Throught LptInterface flow a communication between Student and Lpt.
Stereotype: realization
Class LptInterface |
Class Lpt |
When the reprogramming is done, Student can to run this new program.
Stereotype: realization
Lpt provide three Ports for communication:
Data Port with eight Bit (0,1,2,3,4,5,6,7),
Status Port with four Bit (4,5,6,7),
Control Port with four Bit (0,1,2,3).
See: http://www.soft-collection.com/images/ParallelPortViever.gif
The communication throught LPT can be performed in the following directions:
Data Port: in/out
Status Port: in
Control Port: out
The LPT mode can be set up in BIOS.
It can have:
SPP standard parallel port
Bi-directional
EPP
ECP
ECP/EPP
PS/2 modes.
See:
http://www.beyondlogic.org/spp/parallel.htm#5
Stereotype: realization
Class Student |
Class HardwareInterface |
Hardware Interface provide 12 channel for communication:
eight Data channel (direction: in/out),
four Status channel (direction: in),
four Control channel (direction: out).
Stereotype: realization
Class Module |
The Module can to do movement with an Electric Motor. That Electric Motor can to drive some Wheel.
The Module with a Relay can to switch on or off some another electric circuit. That circuit can to contain an electric Lamp, or a Beeper.
The Module can to detects miscellaneous things, like: light intensity, ultra sound, sound and a touch.
Hardware Interface Supply the Module with filtered: +12V DC and +5V DC:
four pin: +12V DC,
four pin: +5V DC,
six pin: GND.
Stereotype: realization
Class UsbConnector |
The USB Connection supply Hardware Interfaces Integrated Circuits with +5V DC.
Class AcAdapter12V |
AC Adapter supply the Hardware Interface with 2V AC on current of 2A.
On the Graphical Interface called 'LPT Interface' Student can see the values of the Bits of the LPT, or the graphically represented Program.
That Program can to write and/or read the Bits of the LPT.