Open jlandau10 opened 4 years ago
I think we'll need a test rack for some features. but the self check should be first line and can be a quick health check.
Functional Test Suite
Feature | Test Method |
---|---|
uC | Start up, start serial communication |
CAN Lines | option A: termination resistors to create a bus. Can0 talks to Can1, uC reports test results. Option B: hook up both lines to the CAN bus on a test rack - arduino with the can hat, switch back and forth. |
crypto | initialize on I2c and talk |
GPS | hook up antenna, wait for fix? (time consuming) |
Cellular | Option A: Just AT communication Option B: hook up antenna wait for ping (would need SIM card) |
Immo | Test Rack - send a signal, cut it off, send again |
12v Out | Test Rack - voltage divider |
Un/Lock Out | Test Rack - Record square wave change at indicated moment |
Bluetooth | Option A: Just comms with uC, uC pass/fail. Option B: Test Rack looks for broadcast name |
Power Consumption | Test Rack - voltage and current meter, compare to onboard voltage reading. |
SD Card | Make sure config file exists before/after. |
I think we'll need a test rack for some features. but the self check should be first line and can be a quick health check.
Functional Test Suite
Feature | Test Method |
---|---|
uC | Start up, start serial communication |
CAN Lines | option A: termination resistors to create a bus. Can0 talks to Can1, uC reports test results. Option B: hook up both lines to the CAN bus on a test rack - arduino with the can hat, switch back and forth. |
crypto | initialize on I2c and talk |
GPS | hook up antenna, wait for fix? (time consuming) |
Cellular | Option A: Just AT communication Option B: hook up antenna wait for ping (would need SIM card) |
Immo | Test Rack - send a signal, cut it off, send again |
12v Out | Test Rack - voltage divider |
Un/Lock Out | Test Rack - Record square wave change at indicated moment |
Bluetooth | Option A: Just comms with uC, uC pass/fail. Option B: Test Rack looks for broadcast name |
Power Consumption | Test Rack - voltage and current meter, compare to onboard voltage reading. |
SD Card | Make sure config file exists before/after. |
Device should be able to trigger a self test to make sure all of its systems are functional.