SPRINT 1 - B-division-2019-2020-odd/Repo-05 GitHub Wiki
INTERACTION BETWEEN AURDINO AND BLUETOOTH
SUB SYSTEM
USER INPUT
INTERACTION ASPECT
DETAILS- Data interaction-user given data is sent and recieved between bluetooth module ans microcontroller
PROGRAM
void setup() { Serial.begin(9600); pinMode(13,OUTPUT); // put your setup code here, to run once:
}
void loop() { char data; data=Serial.read();
if (data=='1')
else (data=='o');
}
SUB SYSTEM PHOTO

FUNCTIONALITY TEST PLAN
| Functions | Planned inputs | Test Procedure | expected output | pass/fail |
|---|---|---|---|---|
| bluetooth | run dc motor | using serial.begin and if else cases in program | if (data==1) dc motor runs | pass |