Saturday, December 27, 2014

Non Contact Water level controller using Arduino and LabVIEW

This project represents the water tank depth sensor system design for measurement of water level using arudino and LabVIEW software. Here we used a ultrasonic sensor to measure the water depth, and from that measurement it calculates how full the tank is. This sensor switches ON the pump when the water level in the tank goes low and switches it OFF as soon as the water level reaches a predetermined level. The ultrasonic sensor connected to the arduino board as a input signal. The Arduino then reads the height of the water and reports the depth of the tank. The same program is interfaced with labview and in the front panel of labview which we can visually see the level of water tank and how the motor is ON and OFF depend on the water level requirement.









Labview file can be download from here

check out this link for arduino controlled water level controller without labview here

Monday, December 22, 2014

LED LIGHT SEQUENCING

If you are new and looking to control learn arduino with labview, Here's the example of How to control few led's with Labview and LIFA.








Labview File can be download from here

Thursday, December 4, 2014

AUTOMATIC WATER LEVEL CONTROLLER USING ARDUINO

Hi all , are you looking to control your tank water level automatically here's the post for you, how can water level be controlled automatically?
There are many ways by using a float sensor to determine the water level, or using probes to detect peak and low level in the tank.

How to measure water level without using probe or contacting with water?

yeah there is a way just using a Ultrasonic sensor, this is very simple where the level of water is measured using ultrasonic sensor which gives the depth , by determining the tank depth we can set the maximum and minimum level 




circuit diagram shown in the above fritzing, where it uses only two components, one is HC-SR 04 ultrasonic sensor and relay controller, relay controller is connected to the motor. 

Components required

Arduino
HC-SR 04
Relay

Arduino Program
-----------------------------------------------------------------------------------------------------------------------------

/*
 HC-SR04 Ping distance sensor:
 VCC to arduino 5v 
 GND to arduino GND
 Echo to Arduino pin 9 
 Trig to Arduino pin 8*/
#define echopin  9 // echo pin
#define trigpin 8 // Trigger pin

int maximumRange = 50;
long duration, distance;

void setup() {
  Serial.begin (9600);
  pinMode (trigpin, OUTPUT);
  pinMode (echopin, INPUT );
  pinMode (4, OUTPUT);
  pinMode (13,OUTPUT);
}
  
void loop ()
{
  {
    digitalWrite(trigpin,LOW);
    delayMicroseconds(2);
    
    digitalWrite(trigpin,HIGH);
    delayMicroseconds(10);
    
    duration=pulseIn (echopin,HIGH);
    
    distance= duration/58.2;
    delay (50);
    Serial.println(distance);
  }
  
 if (distance >= 25 ){
   digitalWrite (4,HIGH);
   digitalWrite (13,HIGH);
 }
 else if (distance <=10) {
   digitalWrite (4,LOW);
   digitalWrite (13,LOW);
 }
}
  
-----------------------------------------------------------------------------------------------------------------------------


give the distance according to your specification, I've used a small bucket where 25 is the minimum level to turn ON the motor and if the water level reaches a distance of 10cm or lesser than that the motor automatically stops.



If you want to add an LCD to this device to indicate water level check this link here