SPRINT 1 - B-division-2019-2020-odd/Repo-06 GitHub Wiki
Subsystem 1 name- WIPER
Fabrication plan:
Materials used:
1.cardboard sheet
2. sponge(cleaning material)
Data interaction: The data is sent to through the bluetooth to the wiper and it moves as the code given to it.
Energy interaction: The power is supplied to the motors which cause the wiper to move.
Image of the subsystem 1:
.png?raw=true)
Subsystem 2 name-ASSEMBLY
Fabrication plan
Materials used:
DC Motors(30 rpm each),Relays,Arduino 2560,wipers,Radium sheets,Thermocol.
Data interaction: The data is sent to through the bluetooth to the wiper and it moves as the code given to it.
Energy interaction: The power is supplied to the motors which cause the wiper to move.
Program:
void setup()
{
Serial.begin(9600);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
}
void loop()
{
char data;
data=Serial.read();
if(data=='0')
{
digitalWrite(3,LOW);
digitalWrite(4,HIGH);
digitalWrite(5,LOW);
digitalWrite(6,HIGH);
}
else if(data=='1')
{
digitalWrite(3,HIGH);
digitalWrite(4,LOW);
digitalWrite(5,HIGH);
digitalWrite(6,LOW);
}
else if (data=='2')
{
digitalWrite(3,HIGH);
digitalWrite(4,HIGH);
digitalWrite(5,HIGH);
digitalWrite(6,HIGH);
}}
Image of the subsystem 2:
