Water Pump

SRJT07202

Jugaadu and Chandan are childhood friends. Chandan is a chemist and most of his time includes conducting experiments. Chandan planned a meeting to discuss his problem. They met in a cafe where Chandan told him that while performing experiments he need to mix chemicals within a particular time interval, but he is unable to track the time while experimenting. Can you help jugaadu to solve the issue?

Bag Items:

<ol>
<li>Arduino UNO UNO</li>
<li>Jumper Cables</li>
<li>Motor Driver IC</li>
<li>Motor Pump</li>
<li>Pipes</li>
<li>Foam Core sheets</li>
<li>Glue gun</li>
<li>Buzzer</li>
<li>USB cable</li>
<li>9V Battery and DC jack</li>
<li>Beaker</li>
<li>Cardboard</li>
<li>LED</li>
<li>Cutter</li>
</ol>

We can set up a timer in an Arduino UNO. The pump will switch-on the time and it will all be done automatically. He just needs to prepare the setup.

    int pumpp=7;
int pumpn=6;
void setup() {
// put your setup code here, to run once:
pinMode(pumpp,OUTPUT);
pinMode(pumpn,INPUT);
}

void loop() {
// put your main code here, to run repeatedly:
digitalWrite(pumpp,HIGH);
digitalWrite(pumpn,LOW);
delay(10000);
digitalWrite(pumpp,LOW);
digitalWrite(pumpn,LOW);
delay(30000);
}