Testdocsdii 1

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

ASISTS Testing Document

Clayton Dale
Chris Williams
Alex Johndrow
Alex Dalzell

Testing Requirements
1. Introduction:
Our tests requirements for the Smart Temperature Sensor are based around the proper and timely
communication of a problem situation to the work force and the ability to constantly show
temperature to the workers.

2. System Tests:
*Note*: For purpose of simplifying and facilitating the testing process, the
over-temperature threshold will be lowered from 90 degrees Fahrenheit to 80
deg F.
TEST CASE FOR I2C SUBSYSTEM:
Requirement
(Test description/condition)

Pass/ Fail Criteria

Data from TMP100 temperature


sensors displayed on LCDs
correctly

Pass if room temperature is displayed on


all 14 LCDs within +/- 3 degrees
Fahrenheit

No noise or erratic data displayed


on LCDs when entire system is up
and running.

Temperatures displayed must hold steady


when sitting in a static condition.

System must be capable of


supporting long distances, which
implies a large capacitance

System must operate normally with all


ethernet cables connected, each varying in
length (i.e. 5, 10, 23, 30...etc). One
cable must be 100 to demonstrate the
effectiveness of the systems reach

Temperature rise and fall must be


logical and numerical

When subject to temperature variation, the


temperature displayed on the LCD screen
must increase in a sequential fashion.
When returning to room temperature, the
decrease must be in a sequential fashion.

If TMP100 sensors have no


connection, an indication must be
given

LCDs display err when cable is


disconnected. err goes away when
cables are plugged back in.

TEST CASE I/O SYSTEM:


Requirement
(Test description/condition)

Pass/ Fail Criteria

Each individual LED illuminates


when its corresponding TMP100
sensor exceeds 80 degrees F

Using either a thumb or a hair dryer, each


TMP100 sensor will be forced above 80
degree F. when each temp displayed on
the LCD exceeds 80 deg F, its assigned
LED will illuminate. When the temp falls
back below 80 deg F, LED will go out.

Each individual LED illuminates


when its corresponding TMP100
sensor loses its signal

Disconnect each cable one at a time.


When a TMP100 sensor is disconnected,
its assigned LED illuminates. When the
cable is reconnected, the LED goes off.

The buzzer is activated when any


individual or combination thereof
TMP100 temp sensors reaches an
over-temperature condition

Force each TMP100 sensor above 80 deg


F individually and verify the buzzer is
activated. When falling back below 80
deg F, the buzzer must go back to silent.
Check random combinations of TMP100
sensors being forced above 80 deg F
simultaneously. Same logic must hold
true.

The silence pushbutton must render


the buzzer silent under all
conditions, until the system power
is recycled

Force the system into an overtemp


condition and verify buzzer is on and
working. Press the silence button.
System must remain silent while forcing
each TMP100 sensor into an overtemp
condition. Also, the same holds true for
various combinations of TMP100 sensors
simultaneously above threshold. Cycle
power and then verify buzzer activates
again.

TEST CASE FOR SUBSYSTEM HOST NOTIFICATION:

Requirement
(Test description/condition)

Pass/ Fail Criteria

The flight training device (FTD)


interface socket gives a logical
depiction (0/1) of the current state
of each TMP100

With pins 1 thru 14 of the FTD socket,


each representing TMP100 sensor #1 thru
#14 directly: Using a digital multimeter, if
a specific sensor is below 80 deg F, its
corresponding pin will buzz out to digital
return. If a specific sensor is at or above
80 deg F, its pin will read 3.3 VDC.

TEST CASE FOR SUBSYSTEM BLUETOOTH:


Requirement
(Test description/condition)

Pass/ Fail Criteria

Temperature is sent via bluetooth


accurately

Temperature is displayed properly on


LCD using only bluetooth

Must continually displace


temperature.

Pass if the unit can run for overnight we


will assume it is fine to run prolonged.

Wireless connection must reach all


cabinets to be monitored

Must maintain connection distance of up


to 50 feet with line-of-sight and 30 feet in
an obstacle-rich environment.

Must be able to connect multiple


sensors to the central hub.

Must be able to display temperature data


from at least two wireless sensors.

TEST CASE FOR SUBSYSTEM APP FOR BLUETOOTH:


3

Requirement
(Test description/condition)

Pass/ Fail Criteria

App can read the bluetooth signal

App connects to bluetooth

App displays temperature

App sets off buzzer at designated


temperature 1

Pass if buzzer turns on if and only if


designated temperature is reached on any
sensor.

App sets off buzzer at designated


temperature 2

Pass if buzzer turns on if and only if


designated temperature is reached on any
sensor.

Application must show current


connection status

Pass if the status changes when the phone


connects and disconnects

App displays the temperature correctly

COMPLETE SYSTEM TEST:

Requirement
(Test description/condition)

Pass/ Fail Criteria

System must be capable of issuing


a warning condition for all 14
sensors at one time (maximum
load/demand)

Using a hair drier with all 14 TMP100s in


the same vicinity: a simultaneous overtemperature condition must be induced on
every sensor. All LEDs must illuminate,
the buzzer must activate, and all 14 pins on
the FTD interface socket must be at 3.3
VDC. The silence button must silence the
buzzer until power is cycled. Finally,
initiate the same test again: the system
must be allowed to rest (i.e. let
temperatures fall back below threshold).
Ensure all LEDs and the buzzer go off
when system settles to static room
conditions.

The system must pass a stress test


displaying its ability to operate
properly over a consistent period of
time.

The system must pass all tests for


operation of LEDs, temperature displays
and buzzer prior to, half way through, and
after a 24 hour period of consistent
operation.

Bluetooth

Model working outside of the box (not


going to be integrated, ASI does not want
it)

3. Test risks/issues
The test risks include touching a hot wire in the box that is live to the wall outlet. To mitigate
this, we will make sure this spot is known by all members and they do not touch it.

4. Data collection plan, Sampling plan


With LCDs and LEDs, most of our data is to be collected visually. We will make a checklist and
record all test results.

5. Measurement capability /equipment


5

We will need a thermometer in order to verify our temperature sensors, a hairdryer to force overtemp conditions and a digital multimeter to test the FTD interface socket. We will also need a
phone with bluetooth to check our application capabilities.

6. Test Procedure, Work Breakdown Structure.


The test procedure will be conducted in the order of simplicity. Each individual component will
be tested prior to the final design to ensure troubleshooting ease. The I2C subsystems will be
tested first. Temperature sensors will be tested in accordance with LCDs displaying room
temperature. With a thumb placed on each TMP100 temp sensor, the temperature displayed on
the LCD screen must increase in a sequential fashion. When the sensor is released, the
temperature must decrease in the same way.
Following this, the I/O system is addressed. Each LEDs will be individually tested by passing the
predefined threshold. With a hair dryer or thumb applied, the LED under test is to activate (light
up) upon reaching an LCD displayed value of 80 degrees Fahrenheit. The buzzer comes next in
the same procedure at 90 degrees Fahrenheit along with the reset button tested to silence the
buzzer.
After all parts have been verified, the complete system test will commence. Using a hair drier
with all 14 TMP100s in the same vicinity: a simultaneous over-temperature condition must be
induced on every sensor. All LEDs must illuminate, the buzzer must activate, and all 14 pins on
the FTD interface socket must be at 3.3 VDC. The silence button must silence the buzzer until
power is cycled. Finally, initiate the same test again: the system must be allowed to rest (i.e. let
temperatures fall back below threshold). Ensure all LEDs and the buzzer go off when system
settles to static room conditions. This is followed by a stress test in a similar fashion - testing
proper functionality 12 and 24 hours into consistent operation.
Bluetooth subsystem follows in a similar manner. First we ensure bluetooth communication and
LCD relay of this information. After timing this relay, the application subsystem is handled by
comparing the application displayed temperature to the LCD displayed temperature (both
relative to room temperature). To finish the tests, increase the sensors received temperature with
a hand or hair dryer. Verify the increase in temperature past the preset threshold of 80 degrees on
the application and the alarm triggered by the application.

7. Test Conditions / Setup Instructions:


6

Wired:
Plug in the wired box on a level surface. It must have all connections made the sensors with
wires. At least one wire must be 100 feet. The box must be able to complete all these tasks with
no changes to the internal set up. Now commence with the above tests.
Wireless:
The black box must be in its case and must contain the Hub variant of the wireless board. That
includes the hub program on the BT module, direct control from the FRDM board, and the
external SMA antenna. The sensors must be the Sensor variant of the wireless board. That
includes the use of the on-board chip antenna and the sensor programs on the BT module and the
MCU. The sensors are running off of CR2032 coin cell batteries while the hub is running off of
auxiliary power. The phone application is built for Android 5.1 and later, but only verified on the
Samsung Galaxy S5.

8. Contingencies/mitigation for preliminary or insufficient results


If the box does not work in any of these areas, we we redesign the part that does not function up
to speck,

9. Conclusion or Design Summary:


We will be able to make a conclusion after running the tests.

You might also like