lptinterface
Documentation

Properties:

1 Use Case View 'LPT Interface'

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.

1.1 Use Case ReProgramming

The student can to reprogramm a program that is graphically represented in the 'LPT Interace' application.

Stereotype: realization

1.2 Use Case Communication Student <-> Lpt

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 Lpt

1.3 Use Case Program Running

When the reprogramming is done, Student can to run this new program.

Stereotype: realization

1.4 Use Case Communication Lpt <-> Hardware Interface

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

1.5 Use Case Communication HardwareInterface <-> Module

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

1.6 Use Case Movement and Detection

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.

1.7 Use Case Supply the Module with 12V, 5V DC

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

1.8 Use Case Supply HardwareInterface with +5V DC

The USB Connection supply Hardware Interfaces Integrated Circuits with +5V DC.

1.9 Use Case Supply HardwareInterface with 12V AC, 2A

AC Adapter supply the Hardware Interface with 2V AC on current of 2A.

1.10 Use Case Provide Programming Environment

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.