environment
visual basic version 6 running under microsoft windows xp operating system was chosen as the target development environment as it gave straightforward access to speech, graphics, serial interfacing and camera interfacing
windows is not a real-time operating system - as it does not support pre-emptive multi-tasking or inter-task synchronisation- but the real time performance is sufficient for the needs of this project
concurrency
the interface executable module and all of the lower level modules that it calls run synchronously with the following exceptions:
portability
the system runs on a pc with the following minimum specification:
the periodic aspects of the system are independent of processor speed
integration
the format and scope of the vectors sent from the sensor module to the interface module are as follows:
N | target is in the north sector |
NE | target is in the north east sector |
E | target is in the east sector |
SE | target is in the south east sector |
S | target is in the south section |
SW | target is in the south west sector |
W | target is in the west sector |
NW | target is in the north west sector |
C | target is in the centre section |
F | movement level is above fright threshold |
X | movement level is above intrigue threshold |
L | left pir sensor triggered |
R | right pir sensor triggered |
P | front pir sensor triggered |
H | microphone level is above noise threshold |
Void | movement is below boredom threshold |
communication between the modules uses microsoft component object module (com) which is the recommended method for communicating between visual basic 6 components