Water filter system with pump

WST006

Has your family all gotten a bit sick for no reason? If you answer, “Yes,” to the question, then you may have been forced to filter water at home. If you haven’t faced this situation yet, who’s to say you won’t in the near future? Make your own water filtration system at home with a pump at home to keep everyone away from water-borne diseases.

  1. Battery and Connector
  2. Arduino UNO
  3. Motor Driver IC
  4. Water Pump Module
  5. USB Cable
  6. Jumper Wires
  1. Connect the motor driver to the Arduino UNO board.
    Arduino UNO Motor Driver IC Pump
    Pin 8 In1  
    Pin 9 In2
    Pin 10 En1  
    5 v 5 v  
       A+ Red
      A-  Black
  2. Upload the code in Arduino UNO.
  3. Fit the system to filter.
  4. Connect driver IC with battery. 

    int in1=9;
int in2=8;
int en=10;
void setup() {
  // put your setup code here, to run once:
pinMode(in1,OUTPUT);
pinMode(in2,OUTPUT);
pinMode(en,OUTPUT);

Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
analogWrite(en,100);
digitalWrite(in1,0);
digitalWrite(in2,1);
}