Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!

Solar Water Distiller

This distiller converts the entire drainage water from our college NITK into pure drinking water free from soluble and insoluble impurities.

IntermediateFull instructions provided7 hours25,935
Solar Water Distiller

Things used in this project

Hardware components

1000W Halogen Lamp
×1
PVC Pipes
×2
Acrylic Sheets/Transparent Sheets
×1
MSP-EXP430G2 MSP430 LaunchPad
Texas Instruments MSP-EXP430G2 MSP430 LaunchPad
×1
Plastic Foam Board
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
5V Water Pump
×1
A Tub to hold Sand
×1
5-6V Battery
×1
Relay Board
×1
Solder Gun
×1

Software apps and online services

Energia
Texas Instruments Energia
Code Composer Studio
Texas Instruments Code Composer Studio

Hand tools and fabrication machines

Wires
Scissors
Cutter
Hex Saw Blade
Tape
Any Strong Adhesive (Fevi-Clue)
M-Seal
Spokes

Story

Read more

Custom parts and enclosures

Solar Water Distiller 3D Model

It is a 3D Model of Solar Water Distiller created in Blender

Schematics

Solar Water Distiller Flowchart

Butterfly Valve

The following video shows how the Butterfly valve opens to let the water into the upper pipe and once the water reaches a particuar level, using a water sensor, MSP-430 guides the servo motor to close the butterfly valve.

Condensation

This video shows the water condensed on the transparent sheets after 10-15 minutes of continuous heating of water.

Water Pump

This video shows the extraction of water from the upper pipe once a particular water level is reached using a water pump.

Solar Water Distiller Image

Code

Solar Water Distiller Code

C/C++
Its the code for controlling the MSP-430 microcontroller.
#include <Servo.h> 
long previousMillis = 0;
 
Servo myservo;  // create servo object to control a servo 
                // a maximum of eight servo objects can be created 
 
int pos = 0;    // variable to store the servo position 
int pumpState =0;;
void setup() 
{ 
  myservo.attach(P2_3);
  pinMode(P2_4,OUTPUT);
  pinMode(P1_3,INPUT);
  pinMode(P1_4,INPUT);
  //pinMode(P
  Serial.begin(9600);// attaches the servo on pin 9 to the servo object 
} 
 
 
void loop() 
{ 
  //myservo.write(90);
  if(!digitalRead(P1_3))
  {
   myservo.write(20); 
   Serial.println("Servo on");
   delay(20000);
  }
  else
  {
    myservo.write(90);
    Serial.println(digitalRead(P1_3));
    Serial.println("Servo off");
  }
  unsigned long currentMillis = millis();
  if(currentMillis - previousMillis > 30000)
  {
    previousMillis = currentMillis;
    digitalWrite(P2_4,HIGH);
    Serial.println("pump on");
    delay(10000);
    digitalWrite(P2_4,LOW);
    Serial.println("Pump off");
    //Serial.println(analogRead(P1_3));
  }

  

} 

Credits

Harshit Kumar

Harshit Kumar

1 project • 3 followers
Texas Instruments University Program

Texas Instruments University Program

91 projects • 120 followers
TI helps students discover what's possible to engineer their future.
manashsharma20

manashsharma20

1 project • 4 followers
Jayanth M

Jayanth M

0 projects • 2 followers

Comments