Repository navigation
Sprint 2
nishath12345 edited this page Dec 9, 2019
·
9 revisions
Data is sent and received between Bluetooth module and aurdino.
Power is supplied to motor by 5V adaptor and external voltage by relay.
The linkage of wooden sticks and DC motor are interconnected through nylon rod, box made of acrylic, washers, nuts and bolts.
void setup()
{
Serial.begin(9600);
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);// put your setup code here, to run once:
}
void loop() { char data; data=Serial.read();
if(data=='1') { digitalWrite(2,HIGH); digitalWrite(3,LOW);
} else if(data=='0') { digitalWrite(2,LOW); digitalWrite(3,LOW);
} }

| Funcions | planned inputs | test procedure | Expected output | Pass/Fail |
|---|---|---|---|---|
| DC motor | Motor must run in one direction | Criss cross links attached to motor must have free motion with the connected link | Wiper must have both forward and backward movement | Pass |
| Scissor lift mechanism | Links made of foam must be tightly attached to DC motor with nuts and bolts | The links must have free forward and backward movement | Wiper tightly connected with link must free move forward and backward | Pass |
| Rack and Pinion | Rack attached to the pathway of wiper and pinion as wheels | Pinion must be tightly attached with rack and connected to the wiper with bolt | the wiper must have a free motion on the board and must not stuck or slip | Pass |