Water Level Indicator and Controller using PIC Microcontroller

Water Level Indicator and Controller using PIC Microcontroller

Here is a simple, versatile project which indicates the level of water and automatically controls it by using PIC Microcontroller. The Water Level Sensing Section senses the level of water in the tank and sends it (wireless) to the Receiver Section. Receiver Section is connected to the Controlling Section, which process the received information and produces visual, sound indications and controls the operation of the motor whenever required. The project is divide into 4 sections.

1. Power Supply Section

Power Supply section provides required supply for Receiver and Controlling modules. Receiver module requires +5V power supply. Controller module requires +5v and +12v supply. Circuit Diagram:

 2.Water Level Sensing Section

ASK RF Transmitter

ASK RF Transmitter

Level Sensor module is made of with HT12E encoder and ASK (Amplitude Shift Keying) RF transmitter. This circuit can be drive using 9V battery. For more details about this transmitter, please read the article Wireless RF Transmitter and Receiver using ASK RF Module. This circuit is placed near the Water Tank and connected to the tank as show in the figure below.

Water Tank Connections

Water Tank Connections

3. Receiver Section

ASK RF Receiver

ASK RF Receiver


Receiver Module is made of with HT12D decoder and ASK RF receiver. The data transmitted by the Sensor module is received by this module and is given to the Controlling Module. For more details about this receiver, please read the article Wireless RF Transmitter and Receiver using ASK RF Module.

4. Controlling Section

Circuit Diagram

Water Level Indicator Controller using PIC Microcontroller

Water Level Indicator Controller using PIC Microcontroller

The soul of the Controlling Section is PIC16F877A. It process the data given by the Receiver Section. LCD Display, LED Indications and Motor status are updated according to the data. You can download the hex file and mikroC Source Code at the bottom of this article.

MikroC Code

// LCD module connections
sbit LCD_RS at RB2_bit;
sbit LCD_EN at RB3_bit;
sbit LCD_D4 at RB4_bit;
sbit LCD_D5 at RB5_bit;
sbit LCD_D6 at RB6_bit;
sbit LCD_D7 at RB7_bit;

sbit LCD_RS_Direction at TRISB2_bit;
sbit LCD_EN_Direction at TRISB3_bit;
sbit LCD_D4_Direction at TRISB4_bit;
sbit LCD_D5_Direction at TRISB5_bit;
sbit LCD_D6_Direction at TRISB6_bit;
sbit LCD_D7_Direction at TRISB7_bit;
// End LCD module connections

char txt1[] = "Water";
char txt2[] = "Level";
char txt3[] = "Indicator";
char txt4[] = "And Controller";

char mtr1[] = "Motor ";
char mtr2[] = "OFF";
char mtr3[] = "ON";

char wtr1[] = "Level: ";
char wtr2[] = "Very Low";
char wtr3[] = "Low";
char wtr4[] = "Medium";
char wtr5[] = "High";
char wtr6[] = "Full";

void main() 

  int i = 0;
  int c = 16;
  int b = 0;
  CMCON = 0x07;
  ADCON1 = 0x06;
  TRISA = 0x0F;                  // set direction to be input
  PORTA = 0x00;
  PORTD = 0x00;
  PORTC = 0x00;
  TRISB = 0x00;                  //  set direction to be output
  TRISC = 0x00;                  // set direction to be output
  TRISD = 0x80;                  // set direction to be output

  PORTD.F2 = 1;
  PORTD.F7 = 1;

  Lcd_Init();                    // Initialize LCD
  Lcd_Cmd(_LCD_CLEAR);           // Clear display
  Lcd_Cmd(_LCD_CURSOR_OFF);      // Cursor off
  Lcd_Out(1,1,txt1);             // Write text in first row
  Lcd_Out(2,1,txt2);             // Write text in second row
  Lcd_Cmd(_LCD_CLEAR);           // Clear display
  Lcd_Out(1,1,txt3);             // Write text in first row
  Lcd_Out(2,1,txt4);             // Write text in second row

  // Moving text
  for(i=0; i<15; i++) 

  i=0; //Motor Status OFF
      PORTD.F2 = 1               //LCD Backlight ON
      PORTD.F2 = 0;              //LCD Backlight OFF
      PORTD.F0 = 1;              //Buzzer ON
      PORTD.F0 = 0;              //Buzzer OFF
    if(PORTD.F7 == 0)            //Manual Backlight ON
      c = 16;
    if(PORTA == 0x0F)
       PORTD.F1 = 1;
       PORTC = 1;
       if(i == 0)
          c = 16;                //Backlight
          b=3;                   //Buzzer
    else if(PORTA == 0x0E)
       if(i == 1)
       PORTC = 3;                 //LED Bar
    else if(PORTA == 0x0C)
       if(i == 1)
       PORTC = 7;                  //LED Bar
    else if(PORTA == 0x08)
       if(i == 1)
          PORTC = 15;              //LED Bar
    else if(PORTA == 0x00)
       PORTD.F1 = 0;              // Motor OFF
       if(i == 1)
         c = 16;                  //Backlight
         b = 3;                   //Buzzer
       i=0;                       //Motor Status Updated
       PORTC = 31;                //LED Bar
       PORTA = 0x0F;

  }while(1);                     // Endless loop


For the transmission and reception of data we have used Holtek encoder-decoder pair of HT12E and HT12D. Both of them are CMOS ICs working voltage ranges from 2.4 to 12v. The oscillator resistances are chosen according to the datasheet. When water level raises, the data pins of the encoder will be grounded corresponding to the level of water, which will be transmitted to the Receiver via ASK RF module. The received data is decoded by the decoder HT12D. LED on the receiver indicates that it is receiving data. Then the data is given to the PIC for processing.

D0 D1 D2 D3 Status
0 0 0 0 All data pins are grounded, indicates tank is Full.
0 0 0 1 Water level is below D3 and above D2, indicates High level.
0 0 1 1 Water level is below D2 and above D1, indicates Medium level.
0 1 1 1 Water level is below D1 and  above D0, indicates Low level.
1 1 1 1 Water level is below D0, indicates Very Low level.

When the water level becomes Very Low, the motor will turned ON, buzzer sounds and the LCD backlight will automatically turned ON for 5 seconds. After this, when the water level reaches Full level, the motor will automatically turned OFF, buzzer sounds and the LCD backlight will automatically turned ON for 5 seconds. During normal operation you can manually turn on LCD backlight by pressing the Push button switch. The LCD indicates the Level of water (‘Very Low’, ‘Low’, ‘Medium’, ‘High’,’Full’) and the status of the motor (‘ON’ or ‘OFF’). The LED bar will also indicate the level of water.

Download Here

You can download the hex file, mikroC source code, PCB Design, Layout, Proteus and Orcad files here.


Share this post

Comments (268)

  • srikanth

    Dear friend how much distnce it will work

    July 30, 2012 at 2:08 am
  • Ligo George

    More than 100m……..

    August 2, 2012 at 9:32 am
  • Hirak Das

    dear friend pls tell me the crystal value

    August 18, 2012 at 1:47 am
  • Ligo George

    You may use 4 or 8 MHz……

    August 20, 2012 at 5:55 pm
  • Sallysamantha5988

    can we get the programming of this project??

    September 10, 2012 at 1:00 pm
  • Ace Virgil Villaruz

    where can I buy the materials needed for this project?

    September 11, 2012 at 2:57 pm
  • Ligo George

    Do you mean the programmer to write program to PIC Microcontroller?

    September 12, 2012 at 5:19 am
  • Ligo George

    You can get if from a good electronics shop……..

    September 12, 2012 at 5:21 am
  • Sallysamantha5988

    Yes…can we get that  programmer languange? thank you..

    September 12, 2012 at 10:37 am
  • Ligo George

    Do you mean programmer or compiler?

    The programming is done by using MikroC Compiler….
    You can download the trial version from their site : http://www.mikroe.com/mikroc/pic/

    Trial version is sufficient for this….

    September 12, 2012 at 7:54 pm
  • Sallysamantha5988


    September 14, 2012 at 7:26 am
  • Ligo George

    I have included the source code along with the zip file…………

    September 17, 2012 at 4:25 am
  • Sallysamantha5988

    what others software that i need to used in this project,except for the microC pro software??because i found that i can’t open some sourcecode in the Zip file..

    September 25, 2012 at 11:28 am
  • Ligo George

    programming is done using mikroc pro…….

    the circuit can be simulated using Proteus and PCB designing is done using Orcad 9.1 whose files are included in the zip file…

    September 25, 2012 at 6:53 pm
  • Md.

    I completed this project in bread board , connect the all component correct connection but Transmitting or Receiving system does not work properly. Hang up always indicate Level: Full, Motor OFF. How could i solve this problem? plz help me……….

    October 7, 2012 at 4:50 pm
  • Ligo George

    Check the transmitting and receiving circuit……….The LED in the receiving circuit will glow when it receives signals from the transmitting circuit……..

    October 8, 2012 at 4:39 am
  • Modasser_84

    I face a new prob……when I D0 throw ground Level: Low , Motor ON. but when D1 is grounded Its showed Level: Very Low,Motor On. after that D2,D3 grounded Level:”  “, Motor:”  “……….All the connection are correct and ok…………but when I remove D1 from receiver of decoder Its work proper but D0 is showed both level: Low/Medium.and finally D2,D3 was showed correct data…… now what should i do…..plz help me..The LED in the receiving circuit is glowing……….. 

    October 12, 2012 at 10:00 pm
  • Ligo George

    There are only 5 valid conditions for D0, D1, D2, D3
    as shown in the table given in the article………Please refer it……….Un-implemented inputs may generate un-predictable outputs……….

    October 12, 2012 at 10:41 pm
  • Modasser_84

     I understand ……..bt the receiver of decoder D1 is always shown +5 volt it doesnt generate 0 volt is it the decoder IC problem??????????? I gave implement input…..D0,D1,D2,D3 (Close)……by the reverse condition D3, D2,D1,D0 (Open) Isnt correct loop????????

    October 12, 2012 at 11:18 pm
  • Ligo George

    It may be the decoder or encoder IC probelm………check with another IC …….also check for unwanted shots………..
    I don’t understand the last sentence you said….

    October 13, 2012 at 8:01 am
  • sumonrashid

    i can’t understand the program clearly. please add comment with each instruction..and send a copy to my email address: [email protected]

    October 22, 2012 at 1:30 am
  • Ligo George

    Variable C is used to light led backlight when switch is pressed or when motor on off conditions occur………b is used to sound the buzzer 3 times……….

    October 23, 2012 at 8:00 am
  • bentancc

    Hi, could this project be modified to read diesel tank level instead of water?

    January 26, 2013 at 8:44 am
  • Ligo George

    No, it is dangerous……………..

    January 26, 2013 at 9:36 am
  • A.Faisal

    hi. I feel curious about the tx and rx circuit. I found one RX and TX module, but the leg is not same. If i use that, still can work or not?

    February 2, 2013 at 10:14 pm
  • Ligo George

    If it is ASK TX and RX you can connect HT12D and HT12E to its appropriate pins

    February 3, 2013 at 5:43 am
  • A.Faisal

    ok. thank you. btw, this project is really working right? in term of rx and tx circuit.

    February 3, 2013 at 9:30 am
  • Ligo George

    Yes it is working perfectly ….. You can buy the rf transmitter & receiver online from extereme electronics or robokits…

    February 3, 2013 at 11:46 am
  • A.Faisal

    Thanks. I will post it to you when its working. Btw, I’m looking forward to work with you with other project. Maybe we can work together.

    February 3, 2013 at 1:15 pm
  • Ligo George

    Yes, of course……

    February 3, 2013 at 2:18 pm
  • Simba

    how do you pair the two or there is no need to pair the two they will automatically pair?

    March 7, 2013 at 9:10 am
  • Ligo George

    You mean transmitter & receiver? ……. Encoder and Decoder IC contains Address pins A0 – A7…… in both transmitter and receiver, status of these address pin should be same……

    March 7, 2013 at 5:12 pm
  • Simba

    yes I meant the transmitter and receiver. I want to use the two for wireless sensor monitoring connected to the Arduino uno. Thanks for the response

    March 7, 2013 at 6:45 pm
  • Tommy

    How i can change the programming using mplab??

    March 13, 2013 at 8:55 am


    March 13, 2013 at 6:51 pm
  • Ligo George

    You need a PIC Programmer for writing program to pic..

    March 15, 2013 at 9:48 pm
  • Ligo George

    Take the logic from mikroc and convert it to mplab..

    March 15, 2013 at 9:48 pm
  • Rochelle April

    Hi, would like to ask if do you have a code for this ? I want to try this in virtual breadboard. We have a finals for PIC Microcontroller, and I’m searching for easier but working one 🙂 Looking forward to your reply. Thanks and Godbless.

    March 16, 2013 at 8:07 pm
  • Ligo George

    Yes you can download codes etc from above link……..

    March 16, 2013 at 9:55 pm
  • Rochelle April

    Hi. I don’t get the code, sorry, I’m new to vb. I’m working to understand but it’s so hard. When I try to assemble your wli.asm file you provided, it has 400errors. And I don’t know what lines causes the errors.

    And may I know please if what is its processor used?

    like the sample code below:

    processor 16f84
    __config _RC_OSC & _WDT_OFF & _PWRTE_ON
    STATUS equ 03h ;define address for the status register
    TRISA equ 85h ;define address for the tristate register for port A
    PORTA equ 05h ;define address of port A
    TRISB equ 86h ;define address for the tristate register for port B
    PORTB equ 06h ;define address of port B
    ORG 0x000
    BSF STATUS,5 ;switch to bank1
    MOVLW B’00000000′ ;set port B as output port
    MOVLW B’11111′ ;set port A as input port
    BCF STATUS,5 ;switch back to bank0

    MOVLW 01h
    GOTO start

    Pardon to have so much questions. Just want to understand it, hope you helps ♥ thanks.

    March 16, 2013 at 10:48 pm
  • farish

    what is the ‘contast 100’ in the circuit….?
    and what type of switches that we have to use in place of ‘reset’ and’manual lcd backlight’?

    March 22, 2013 at 4:44 pm
  • Ligo George

    It is a variable resistor use 10K, used to adjust the contrast of LCD……. You can use micro switches ,,,

    March 22, 2013 at 8:12 pm
  • Ligo George

    That is a MikroC program written for PIC 16F877A microcontroller…….

    March 22, 2013 at 8:23 pm
  • farish

    plz send the main board pcb layout to my email id

    [email protected]

    -thank you

    March 23, 2013 at 1:24 pm
  • Ligo George

    You can download the entire project files from the above download link…..

    March 24, 2013 at 11:47 am
  • Tommy Ukat

    my circuit is already operation, but my problem now. i don know how to convert the programming to mplab because we study using the mplab..i dont have the converter and programer to install the programming in pic using mikroc… can u xplain more detail step to convert the programming to me.. or if u have the programming in mplab.. can email me [email protected].. tq

    March 25, 2013 at 12:17 pm
  • Ligo George

    You can write the hex file to the pic microcontroller in the downloaded zip file using a pic programmer…….if you want to convert the program to mplab……. take the logic of mikroc and write your own code……..

    March 25, 2013 at 2:33 pm
  • nimra

    hey, what changes will be required if motor work is excluded i want only indication in lcd

    April 6, 2013 at 4:40 pm
  • Ligo George

    Remove the relay and its driving circuits……….
    LCD indications include motor on off status……. you can remove this by editing the program…

    April 6, 2013 at 4:47 pm
  • abhay

    wat is the crystal value???

    April 15, 2013 at 11:46 am
  • Ligo George


    April 16, 2013 at 8:29 am
  • steve

    hi can we use a cheaper or smaller mcu ? and how to modify the program

    May 4, 2013 at 1:57 pm
  • Ligo George

    Yes, of course..
    You may use 8051
    But PIC is also cheaper, PIC16F877A costs below 3$..

    May 5, 2013 at 6:07 pm
  • Nibhath

    Hey Ligo,I wish to implement water level controller based on 16F877A PIC microcontroller. Important thing that detect the water level continuously using vertical float switch sensor.It gives output as resistance.I would like to know how float switch sensor apply to this system and how mikroc program for relevant change…Looking forward to your reply ASAP..thanks friend…

    June 1, 2013 at 10:26 pm
  • Ligo George

    You need to use an ADC….. Since wireless communication via RF module is required… only discrete values are possible.. from 0000 to 1111… total 16 discrete values possible… If you need more accuracy it will become more complex…

    June 2, 2013 at 9:57 am
  • Nibhath

    In this system has one of particular water level unlike site having system.System design to maintain that particular water level.The tank contain inlet and outlet in order to insert water into tank and eliminate water from tank.Inlet and outlet should be activate when water level goes below and above of that particular water level separately.I wish to deploy this into paddy field.Since there require predefined water level for each mtime period.Your system having discrete water level is not practical when implement to paddy field.That’s why i selected float switch.I want to know about mikroc program of control section and how it change when apply float into this system..Look forward your reply…Thanks Ligo

    June 3, 2013 at 8:01 pm
  • vinutha

    sir can you please provide me with the complete code for the project.. its little urgent, as ma presentation is this weekend 🙁

    June 19, 2013 at 2:06 pm
  • Ligo George

    There is an option to download the complete project files… above…

    June 19, 2013 at 6:15 pm
  • faisal

    Hi Ligo. Long time no see. For your information, I already build up the circuit. Left things is to program the circuit into PIC. I just want to know, the 12V power source is necessary or not? because I dont see 12 V power supply connected to circuit that you created for simulation.

    June 27, 2013 at 4:55 pm
  • Ligo George

    12V is used to operate the relay that used to control the motor… If you wish to use 5V relay, then you can avoid 12V.. I think 5V relays for handling high currents are not available..

    June 28, 2013 at 9:28 am
  • faisal

    i see. another thing, seeing the 5V as primary power supply for the controller circuit, is it sufficient to power up all the components eg PIC, level LED, LCD screen. FYI, i tried to make the PIC used the stand-alone power supply which is 5V, but not working. If i connected it to one source only, it lit up but somehow the display fluctuated. keep resetting.

    June 28, 2013 at 10:14 pm
  • Ligo George

    Yes, that 5V power supply is enough…. You should add enough filtering capacitors to avoid ripples as shown in the power supply circuit diagram..

    June 29, 2013 at 7:31 am
  • Cyn

    My proteus is working but led didn’t light up and hardware for led n LCD also didn’t light up

    July 13, 2013 at 5:58 pm
  • Cyn

    By the way do u hav an actual circuit for me to see the connections?

    July 13, 2013 at 5:59 pm
  • Ligo George

    The above circuit is the actual one.. VDD and VSS of the pic microcontroller is not shown in that circuit diagram.. VDD should be connected to 5V and VSS should be connected to ground..

    July 14, 2013 at 11:03 am
  • Ligo George

    You might not have connected VDD and VSS of PIC microcontroller which is not show in the circuit diagram.. Actually VDD and VSS are hidden in proteus.. anyway I will modify the above circuit diagram by including VDD and VSS..

    July 14, 2013 at 11:04 am
  • Faraz Khan

    Please tell me whether, can i use this RF transmitter and receiver with the above circuit? ASK RF transmitter and receiver are not available in my area.

    kindly reply soon.

    July 26, 2013 at 8:59 pm
  • Ligo George

    This might be differs only in pin diagram.. I think so.. You can buy RF modules that I used from many online stores.. just search it…

    July 27, 2013 at 7:57 am
  • Faraz Khan

    can i use 20 MHz crystal ??

    July 28, 2013 at 10:46 pm
  • Ligo George

    Yes … ofcourse…. change the clock frequency to 20MHz in the project settings and Build it again…

    July 30, 2013 at 6:16 pm
  • Faisal

    hi George, I want to ask, the output on decoder circuit is on what type? HI LOW or in binary number?

    August 24, 2013 at 3:06 pm
  • Ligo George

    Actually, I don’t get your question… All binary numbers are represented using HIGH and LOW (here it is 5V and 0V)…

    August 24, 2013 at 9:14 pm
  • prakasha

    how to dowload the code.

    August 26, 2013 at 4:13 pm
  • Ligo George

    Don’t you see the above download link. You must login to download it.. Please register and login, its free..

    August 26, 2013 at 5:37 pm
  • Faisal

    George, one more thing, the RX will read input from each respective pins and give data to correspondence pins on decoder right? Eg: pin 10 on encoder take data from tank, and the data will be transmitted and give that data at pin 10 on decoder. Am I correct? If I’m correct, than my project actually faced problem with this thing, where, if one pin of DATA IN on encoder take reading from the tank, then, the all DATA OUT on decoder give HIGH. Hope you can help me. I did troubleshooting many times including changing ICs, TX and RX, osc value etc.

    August 28, 2013 at 5:40 pm
  • Ligo George

    HT12E – Encoder – (Data In) Reads data from water tank and gives it serially to RF Transmitter……..
    HT12D – Decoder- RF Receiver Receives data transmitted by Transmitter and it is given (serial data) to HT12E- it decodes it in to parallel output (Data Out)

    August 28, 2013 at 6:02 pm
  • Faisal

    OK, but seem, the output is not really good, where in case LOW level is detected, but, all output at HT 12D is HIGH. so how?

    August 28, 2013 at 6:16 pm
  • Ligo George

    Does the LED in the receiver circuit glows when the transmitter circuit is turned ON?
    That LED indicates that the receiver circuit is receiving data from transmitter….
    You might have burned the encoder or/and decoder by misplacing them..

    August 28, 2013 at 9:10 pm
  • Faisal

    Yes, it does glow. Here is another problem, why everytime it read data from RX, it always reset? Sometime, when controller read HIGH to MEDIUM, then the controller reset again, not live feed.

    August 29, 2013 at 6:42 pm
  • Ligo George

    I don’t get what you said..

    August 31, 2013 at 11:25 am
  • SRI

    Dear Friend What is the Configuration of PIC16F877A

    October 20, 2013 at 6:03 pm
  • Ligo George

    Here is mikroc project settings.

    October 23, 2013 at 5:42 am
  • Atchai

    can we use ir transmitter insteed of rf transmitter?>What’s difference between both?

    October 28, 2013 at 10:32 pm
  • Ligo George

    Yes you may use….
    . IR –> Infrared
    RF —> Radio frequency..

    IR allows only Line Of Sight communication and less range.. RF has no such problems..

    October 29, 2013 at 10:21 am
  • Regina Assuncion Adame

    good day.. i have a question.. where or in what pin im gonna connect the rf receiver to the pic16f877a.. sorry kinda new to this one..

    November 17, 2013 at 11:11 pm
  • Ligo George

    See the labels on data pins on pic and rf receiver (HT12D)…..

    November 18, 2013 at 10:54 am
  • Regina Assuncion Adame

    oh i get it now.. i will put it on RA0- RA3.. thanks sir.. i have 1more question sir.. if i wil put uart converter or max232 and rs232 to connect it to serial port of the computer and display it through visual basic instead of the LCD.. will it be working?.. thank you

    November 18, 2013 at 11:01 am
  • Ligo George

    Of course .. it will work…

    November 18, 2013 at 11:17 am
  • Regina Assuncion Adame

    sir.. i edit the circuit diagram so i can interface it to the pc and visual basic.. is this correct..thanks

    November 18, 2013 at 4:28 pm
  • Ligo George

    There is a small mistake…….
    RX of PIC should be connected to TX of UART Converter..
    TX of PIC should be connected to RX of UART Converter..

    Hope you got it..

    November 18, 2013 at 5:07 pm
  • Regina Assuncion Adame

    ooppss..thank you sir…

    November 18, 2013 at 8:40 pm
  • Regina Assuncion Adame

    good day sir.. i would like to ask if how far will be the maximum distance of the rf transmitter to the receiver?.. thank you

    November 22, 2013 at 12:16 pm
  • Ligo George

    You can have about 100 meters range with proper antenna..

    November 23, 2013 at 12:26 pm
  • sophie

    that is good,but do i need two microcontrollers for receiver module and transmitter module or just one? if it only one PIC how is it connected to receiver and transmitter module.

    December 4, 2013 at 12:48 am
  • sophie

    I would like to know also if i want to have multiple water tanks what should i do?

    December 4, 2013 at 1:25 am
  • sophie

    how can use Proteus for simulation if the tanks are out of the site?

    December 4, 2013 at 2:10 am
  • Ligo George

    You need only one microcontroller.. .which is used in receiver module

    December 5, 2013 at 7:38 pm
  • Ligo George

    you may use multiple transmitter/receiver with different frequencies..

    December 5, 2013 at 7:39 pm
  • Ligo George

    We can’t do proteus simultion.. since transmitter and receiver are not available in proteus library..

    December 5, 2013 at 7:39 pm
  • junaid ullah

    i need a circuit with out using rf antenna
    what should i do

    December 8, 2013 at 3:51 pm
  • Ligo George

    Without RF antenna?? Every RF wireless device should have an antenna to radiate energy..

    December 9, 2013 at 5:58 pm
  • Albin George

    can u plz send me the vb code

    [email protected]

    December 15, 2013 at 7:40 pm
  • Albin George

    i need to add a manual switch to on the motor(When the water level is above medium or other case ). What changes i need to made to the code?

    December 15, 2013 at 7:48 pm
  • Ligo George

    VB Code??
    This project hasn’t any interface with PC..

    December 22, 2013 at 1:01 pm
  • Ligo George

    Simply connect a push button switch to a IO pin of PIC.. make that pin input … see our pic tutorials..

    December 23, 2013 at 10:25 am
  • raj

    Hi Ligo, i couldnt get any thing on the LCD despite programming successfully with PICKIT2 using hex file you’ve provided.but the LEDS and buzzer are working in a continuous loop i dont understandwhat might be the reason there is nothing displayed on the LCD(rest everything including LCD backlight working,also I tried the contrast preset but nothing on the Lcd).please help.

    December 31, 2013 at 8:41 pm
  • Ligo George

    There might have some connection problems.. above circuit and program is 100% working..

    January 1, 2014 at 9:49 pm
  • Guest

    there is no download option ….please help in getting the code..

    February 5, 2014 at 2:27 am
  • vijay

    will copper wires be efficient as sensors in this project??????

    March 1, 2014 at 7:16 pm
  • kotelo

    can I use PIC16F887 in this Project, if yes help in getting the source code

    March 6, 2014 at 8:05 pm
  • kotelo

    can I use PIC16F887A in this Project, if yes help in getting the source code

    March 6, 2014 at 8:14 pm
  • Antu

    can i use this controller without RF transmitter? i prefer normal sensor probes eg: float switch, will it work ?

    March 11, 2014 at 8:21 am
  • Antu

    i made this wlc on a breadboard and it works fine.The only problem i found was there is no dry run protection for the motor..

    April 3, 2014 at 9:20 am
  • Krishna

    No…. Due to current passing in the wires.. Because of electrolysis the copper will be eaten Up with a time less than 1 week. ( I Faced the same problem) “sorry fro bad english”

    April 20, 2014 at 1:20 pm
  • Mangala Kulasekera

    i have difficulties with programming of ic 16f877a. can i get programmed ic.

    April 20, 2014 at 3:58 pm
  • sunil

    this is not a complete water level controller. sump tank sensor is missing

    April 28, 2014 at 8:08 pm
  • Shri Kamble

    i got the whole program of this, comment your id here 😀 😉

    May 8, 2014 at 9:37 pm
  • Mangala Kulasekera

    It is not available ask transmitter receiver and decoder in my country.how can I get these.

    May 19, 2014 at 5:05 am
  • viju

    hi Shri kamble do u have any idea abt water level indicator with float …if u know just mail me to [email protected]…thanks for advance..

    June 4, 2014 at 4:56 pm
  • Ligo George

    You can download the entire code at the bottom of above article.. just before the ads..

    If haven’t yet done it with float..

    June 12, 2014 at 9:08 pm
  • Ligo George

    Try online shopping..

    June 12, 2014 at 9:28 pm
  • axel

    Hi sir, can i have the this source code in c language or assembler cause i cant see the hex file in the file i downloaded.
    [email protected]

    July 8, 2014 at 12:04 am
  • Ligo George

    Download the above zip file and extract it.

    July 8, 2014 at 2:15 pm
  • Batman

    I use a uln2803 because is not available ask transmiter in my country,it doesn’t mather right?

    August 2, 2014 at 12:10 pm
  • Ligo George

    Which Country?

    August 2, 2014 at 1:58 pm
  • Batman

    I need or not the ULN2803?

    August 6, 2014 at 9:13 pm
  • Ligo George

    You don’t need ULN2803 for this project..

    August 9, 2014 at 8:51 pm
  • murthy

    hi, can i use PIC 16F877

    August 16, 2014 at 5:01 pm
  • Murthy kamireddi

    Hi, While programming to IC i am getting some problem, so please help me..

    August 18, 2014 at 11:04 am
  • Ligo George

    yes, just change the pic in mikroc project settings..

    August 18, 2014 at 12:17 pm
  • Ligo George

    Please elaborate your problem….. I don’t get it..

    August 18, 2014 at 12:20 pm
  • Murthy kamireddi

    hi, While programming to IC i am getting some problem (see in photo attached)

    August 20, 2014 at 10:58 am
  • Ligo George

    Why did you use Manual Device Select ? PICkit 2 can automatically detect the target. .
    Uncheck Programmer >> Manual Device Select

    Try changing the PIC Microcontroller..

    And the above project is done using PIC 16F877A.. not using PIC 16F877

    August 20, 2014 at 12:42 pm
  • Murthy kamireddi

    ok, i will try, thank you

    August 20, 2014 at 2:10 pm
  • Murthy kamireddi

    I have done this project, its working successfully, thanks for this project

    August 25, 2014 at 2:09 pm
  • Murthy kamireddi


    August 25, 2014 at 5:49 pm
  • Ligo George

    Thanks for the feedback. 🙂

    August 25, 2014 at 10:05 pm
  • Murthy kamireddi

    Hi, Its not sensing from tank(first floor) to main controller with receiver(in ground floor), if both are in same floor its working, so what should i do.

    August 26, 2014 at 4:38 pm
  • Ligo George

    I think, it is the problem of your antenna… Try using simple wire antenna or Aerial antenna..

    August 27, 2014 at 2:15 pm
  • Murthy kamireddi

    I have used antenna by using Copper wire(shown in attached pic)

    August 27, 2014 at 5:37 pm
  • Ligo George

    Use a simple aerial antenna.. or simple wire antenna.. without these turns..

    August 28, 2014 at 10:02 am
  • Murthy kamireddi

    While starting LCD display its showing “Project developed by———————–” . Is it possible to change that names in source code.

    August 28, 2014 at 11:04 am
  • Ligo George

    Yes, it is possible.. You can edit the source code..

    August 28, 2014 at 1:08 pm
  • Murthy kamireddi

    1) what file should i use from above RAR,…….
    ASM or MicroC.
    2) which lines i have to change

    Please give me some instructions.

    August 28, 2014 at 2:24 pm
  • Ligo George

    Download and install mikroC pro for pic microcontroller… open wli.mcppi using that..
    You can find C code there and edit it. .

    August 29, 2014 at 3:21 pm
  • Murthy kamireddi

    Then how to convert that file to hex

    August 29, 2014 at 4:51 pm
  • Ligo George

    Build the code after editing, then the new hex file will be generated.

    August 30, 2014 at 4:52 pm
  • axel

    I have programmed the pic successfuly using mplab ipe but when im powering up it look like the controller is freezing and i have to reset many time before getting something in the screen and it freezes again

    September 1, 2014 at 1:01 am
  • Murthy kamireddi

    I have edited the same code from above RAR, but its showing some errors (i have changed name only)

    September 1, 2014 at 11:55 am
  • Ligo George

    The above project is done using mikroC pro not using MPLAB IDE. You may use MPLAB for programming the hex file.
    There is no problem with the program. It might be some hardware issues.
    See the comments below, some of them successfully completed the above project.

    September 1, 2014 at 4:36 pm
  • Ligo George

    You can remove that line CMCON = 0x07;
    There is no CMCON register in PIC 16F877..

    September 1, 2014 at 4:42 pm
  • amat

    hello sir ,where can ifind the source code .can you give the link?

    September 4, 2014 at 1:10 pm
  • Ligo George September 4, 2014 at 10:19 pm
  • Satheesh

    Hi, can I use a 4Mhz crystal instead of 8Mhz. If so, do I need to change and edit the source code. Please help me how to do it, because I’m new to c programming. Thank You

    September 6, 2014 at 9:14 pm
  • Ligo George

    Yes, you can use 4MHz crystal.. Just edit the MikroC project settings and rebuild the project.

    September 9, 2014 at 4:33 pm
  • riyaj

    sir i want the complete assembly program so kindly give me the link

    September 9, 2014 at 7:55 pm
  • Ligo George

    Sorry, I haven’t the assembly code.

    September 9, 2014 at 8:58 pm
  • Benyameni Benyameni

    Hlw mr Ligo George i am a student at Namibia i am currentry bisy with my project bt i am failing to come up with the circuit diagram can you please help me here is the scope of it its a water level indicator project

    It mainly consist of following

    1. Potentiometer and pulley
    arrangement: We have to measure the water level, for this purpose we are going
    to use a pulley-float/potentiometer arrangement. Pulley will be hanged above
    the water and a float will be resting on the water surface using a rope. And
    potentiometer will be fixed at the center of the pulley. So as the water level
    goes up and down, respectively pulley and potentiometer will rotate. So
    eventually water level is converted into resistance of potentiometer. A
    constant current source is used to pass current through this potentiometer, so
    as to get a voltage drop. This voltage is given to amplifier.

    2. Amplifier: As the voltage output
    across the potentiometer is less, it has to be increased to 0 to 5 volts range.
    We are going to use linear amplifier for this purpose.

    3. Voltage to frequency converter:
    The main part of our project is microcontroller (89s51) which reads only
    digital input (0V & 5V) But the output of Amplifier is in analog form, so
    it has to be converted into digital format, for this purpose we are going to
    use Voltage to Frequency converter to convert analog output from amplifier into
    the digital output to be given to microcontroller

    4. Microcontroller: This is the CPU
    (central processing unit) of our project. We are going to use 89s51, because it
    belongs to the 8051 family. The various functions of microcontroller are like:

    I. Reading the digital input from Volt to Freq converter which is derived from Potentiometer and pulley arrangement II. Sending this data to LCD so that the person operating this
    project should read the values of Water level. III. Storing the data into
    EEPROM memory and display it later using keypad IV. Sending the values of
    temperature and light to the computer using serial port


    6. LCD: We are going to use 16×2
    alphanumeric Liquid Crystal Display (LCD) which means it can display alphabets
    along with numbers on 2 lines each containing 16 characters.

    September 11, 2014 at 1:49 am
  • Ligo George

    No need to use Voltage to Frequency converter.. use Analog to Digital Converter.

    September 11, 2014 at 8:44 am
  • Benyameni Benyameni

    can u plz provide me with a circuit diagram

    September 11, 2014 at 5:12 pm
  • Ligo George

    Sorry, I haven’t any circuit diagram,, check our adc tutorials.

    September 13, 2014 at 10:35 pm
  • Benyameni Benyameni

    thank u sir Ligo

    September 15, 2014 at 7:19 pm
  • Benyameni Benyameni

    How are u Mr Ligo George I am doing the water level indicator project i attached the broke diagram but i am stuck with the circuit diagram now i found the almost similar project with mine bt this one include measuring water level and temperature i took the circuit diagram of it but now i want to remove the temperature component but i am falling to do it please help me remove the than i will be left only with the components of water level in the circuit here is the circut attached please u can even draw it on paper and scan it and upload it i want to simulate it using proteas software.

    September 17, 2014 at 9:38 pm
  • Benyameni Benyameni

    block diagram

    September 17, 2014 at 9:39 pm
  • Ligo George

    Sorry, I don’t get what you are talking about.

    September 18, 2014 at 11:37 am
  • zara

    can someone please list all the components /equipment for this project

    September 21, 2014 at 6:12 pm
  • twentyone21

    Hi. Im doing a simple WIRELESS water tank project with pic18F4515 using mplab but i dont where to start i dont have schematic diagram can you help me with my project? my project needs only 2 LED (if the water its highest level the tank will automatically switch off) and we have to use float switch. please help me

    September 26, 2014 at 7:53 am
  • Ligo George

    Use above project as reference..

    September 29, 2014 at 4:34 pm
  • amat

    Hello Sir ,can you list up the component that use in this project?

    October 1, 2014 at 8:17 pm
  • poni

    Hi sir, i have a project on water level with water pump. i dont know how to connect water in the tank to the motor with the pic16f887. thank you

    October 2, 2014 at 8:05 am
  • Charishma Yerramsetti

    sir,can we use ARM(lpc2148) microcontroller in the place of PIC?

    October 6, 2014 at 6:04 pm
  • Ligo George

    Note it from the above circuit diagrams

    October 6, 2014 at 10:02 pm
  • Ligo George

    It is given in the above circuit..

    October 6, 2014 at 10:03 pm
  • Ligo George

    Yes,, but you need to program it.

    October 6, 2014 at 10:04 pm
  • Ryandude

    Hi sir, im doing this project now and i have a question. Is it only 22pFarad capacitor can be used in oscillator or we can use other value for it if not available. What will happen to the program if im not using a 22pFarad capacitor?

    October 14, 2014 at 10:10 am
  • Ligo George

    It will work without 22pF…

    October 14, 2014 at 2:15 pm
  • manu

    Your project is nice but there is some problems in working time. RF communication is common through anywhere your device is caching all rf frequencies in surrounding….please try to modify that in usart communication…..

    October 18, 2014 at 9:27 am
  • Ligo George

    Here, it is not a big problem as the RF signals are already encoded and decoded……
    If the problem still persists, it can be solved by proper programming..

    October 18, 2014 at 3:12 pm
  • Er Nitin Ahuja

    sir, if we are using two set of rf module in same place they are not working. one rf reciever become off . they are getting interference from each other. how to remove it.

    October 18, 2014 at 8:20 pm
  • Ligo George

    You can use 433Mhz and 315MHz transmitter receiver pairs… as they are different frequencies they will not interfere.

    October 18, 2014 at 9:03 pm
  • Er Nitin Ahuja

    are u tested it…sir…..???

    October 18, 2014 at 11:30 pm
  • Ligo George


    October 19, 2014 at 11:09 am
  • samantha perera

    pls tell me the maximum distance between transmitter & receiver

    October 22, 2014 at 12:44 pm
  • hema

    hey, by the way this have contacts in the water, which will corrode the elements and stop functioning later. there is another one without any connections with the liquid.
    Any way good attempt. 4Sn.

    October 23, 2014 at 11:43 am
  • Ligo George

    It will be about 100 meter with proper antennas.

    October 24, 2014 at 7:23 pm
  • Ligo George

    You may use floating switch..
    Magnetic reed switch, tilt switch… etc..

    October 24, 2014 at 7:31 pm
  • Cherovlet Comaro

    Good day sir,
    I have tried to understand your code one line by another but I found it difficult to do it because you don’t put comment next to you code for each lines.
    I hope you can help me to understand you code better by putting more comments.
    Kindly regards.

    November 1, 2014 at 11:06 am
  • Ligo George

    Article updated…. try now..

    November 2, 2014 at 7:28 pm
  • Didymus Nota

    Hi sir how can you write a code to run a stepper motor using micro c

    November 4, 2014 at 1:28 pm
  • koushik pramanik

    can i use with out wireless device? i want to use a 5 core cable?

    November 28, 2014 at 7:41 pm
  • Ligo George

    Yes, you may use 5 core cable with ground..

    November 28, 2014 at 7:47 pm
  • Er Nitin Ahuja

    sir, i want to display uart data(from gps module) on lcd 16*2… pls check the code in mikroc & 16f877a microcontroller

    December 15, 2014 at 12:14 pm
  • Er Nitin Ahuja

    pls chek the code sir…..i am sending uart data via UART terminal at mikroc. at virtual terminal of uart, data is coming correctly,but on lcd it is not diaplaying

    December 15, 2014 at 12:24 pm
  • yusman

    Sir, what components should be replaced if I want to use float switches to detect the water level and without having to use Any ASK rf transmitter and amplifier? And would that be possible for the system to run?

    December 17, 2014 at 9:11 pm
  • Ligo George

    Hello, your doubt is not related to above article, please use our forum for that :

    December 22, 2014 at 11:51 am
  • Ligo George

    You needn’t replace any components. You can connect float switches directly.

    December 22, 2014 at 12:22 pm
  • Wasim Sheikh

    Can we do this project with AT89S52 Microcontroller???
    Please dont mind, Iam beginner to embedded system.
    If yes can you please send me the code on my mail. [email protected]

    January 5, 2015 at 2:59 am
  • Ligo George

    Yes, you can do it.
    Sorry, we don’t have code.

    January 10, 2015 at 9:06 am
  • Zameer Ahmed

    Hi George,
    which file is related to pcb design and Layout.
    Please let me know

    January 13, 2015 at 6:48 pm
  • Ligo George

    *.MAX files.. they are OrCAD files..

    January 15, 2015 at 9:33 am
  • Ian

    Is is possible to have the receiver unit hook up to wi-fi set up so the tank level information can be accessed on-line?

    January 18, 2015 at 9:42 pm
  • Ligo George

    You may do it using wifi modules……

    January 21, 2015 at 11:04 am
  • Tom

    If I wanted to use some float switches, that change from NO to NC or vice versa in place of bare wires, where would the two wires from these switches be connected? Thanks!

    January 23, 2015 at 12:39 am
  • Ligo George

    connect it to.. ground and sensing pin in the transmitter.

    January 25, 2015 at 12:03 pm
  • Diveshjain

    Can i replace pic micro controller with 8051 or AT89s52 micro controller

    February 16, 2015 at 12:08 pm
  • RAM

    pls give me the main circuit PCB DESIGN

    February 16, 2015 at 2:49 pm
  • Ligo George

    Yes, you can;.. but you should do the programming of AT89s52..

    February 17, 2015 at 9:11 am
  • Ligo George

    All PCB files are available in the zipped folder.

    February 17, 2015 at 9:12 am
  • sana reddy

    Lcd display is not showing any display and led is not glowing but code was sucessfully executed so where is the problem i can’t understand please help me.

    February 22, 2015 at 1:05 pm
  • Ligo George

    The above project is 100% working.. you can see the comments below. Some of them posted the photos of finished items.

    February 23, 2015 at 4:30 pm
  • Divesh jain

    can you give any PPT of the project
    my mail id is [email protected]

    February 24, 2015 at 3:45 pm
  • sana reddy

    thanks for providing code .At first time after simulation it is showing display in reverse no change in output

    February 25, 2015 at 4:50 pm
  • Ligo George

    Sorry, we don’t have any ppt.

    March 2, 2015 at 5:46 pm
  • Ligo George

    Sorry, I don’t understand your question.
    The above project is 100% working. You can see the completed photos of some users here.

    March 2, 2015 at 5:49 pm
  • Jefff

    Hello, can I use different value resistors for the oscilators than the ones in the diagram ?

    March 3, 2015 at 5:12 am
  • Ligo George

    You mean oscillator resistors for HT12E and HT12D ?
    You can use 51K MFR and 1M resistors.

    March 3, 2015 at 1:17 pm
  • Nidheesh

    What if i used 10Mhz crystal insted of 8MHz?

    June 17, 2015 at 9:50 am
  • Ligo George

    You can change it in MikroC Project Settings. Don’t forget to rebuild the project after changing.

    June 18, 2015 at 8:33 am
  • Nidheesh

    Can I use HC-SR04 Ultrasonic Sensor for this?

    June 20, 2015 at 5:18 pm
  • Ligo George

    It might not be a good option.

    July 1, 2015 at 7:03 pm
  • PanDan

    Hello sir can I add a water temperature sensor?

    July 11, 2015 at 7:30 am
  • Vishwa

    Hi, Can you tell me the purpose of using HT12E & HT12D?

    July 11, 2015 at 8:21 pm
  • Ligo George

    Yes ofcourse you can.

    July 18, 2015 at 11:17 am
  • Ligo George

    For encoding and decoding signals to a single line for transmission.

    July 18, 2015 at 11:19 am
  • kushan

    how to connect (which pin) pB switch for manul motor on/off,and need to edit code for that?

    July 24, 2015 at 10:08 am
  • Adam

    Dear Ligo
    i need to ON and OFF on pin from pic for 5 min ON and OFF for 2hours. will it possible, if possible can provide the code.

    August 6, 2015 at 3:54 am
  • Adam

    i need to ON and OFF, PORTD.F3 from pic for 5 min ON and OFF for 2hours. will it possible, if possible can you please provide the code.

    August 9, 2015 at 5:57 am
  • Sambarta Banerjee

    Sir wont anyone feel any electric shock when I dip the +5V into the water when Im using pump and at the same instant someone uses the water?

    August 13, 2015 at 8:55 pm
  • Ligo George

    You can connect switch to any of the remaining IO pin but you should add it in the program.

    August 14, 2015 at 9:19 pm
  • Ligo George

    5V will not provide any electric shocks.

    August 14, 2015 at 9:45 pm
  • Adam

    Hi Sir
    Could please tell me how to make ON and OFF any pin from Pic as 5min ON and 2hours OFF, when did the coding, level indicator stop working

    August 19, 2015 at 12:27 pm
  • prashant

    from where to get the floating switch.. have searched abt and confused which kind of floating switch shuold work better ?

    August 31, 2015 at 11:10 pm
  • Ligo George

    Sorry, I didn’t understand you question.

    October 3, 2015 at 1:00 pm
  • enerpadanaV

    Hello I use MPLAB IDE and MPLAB ipe to compile and progammare the pic , I wanted to know if the hex file in the document is ready to be loaded in the pic ?

    December 8, 2015 at 1:35 am
  • Ligo George

    yes, it is ready to be loaded.

    December 19, 2015 at 3:46 pm
  • Shivendra Kr. Sahu

    When we take on the use of a metal contact, so he is very perishable. What do you suggest for him?

    February 4, 2016 at 2:17 am
  • Vaishali

    sir, i want to know where the motor is connected in the circuit?

    February 6, 2016 at 11:31 am
  • Ligo George

    You can use floating sensors or use ac sensing method.

    February 14, 2016 at 6:14 pm
  • Ligo George

    Motor is connected in series with the relay.

    February 14, 2016 at 7:02 pm
  • Vaishali

    Thank you sir.
    I am new to mikroC programming so i want to know how to understand the program given by you.
    if you have any tutorial or handouts or if you can suggest me a website from where i can understand the program. please reply as soon as possible.

    March 5, 2016 at 10:26 am
  • Ligo George

    You need to learn MikroC programming for understanding it.
    PIC Microcontroller MikroC Tutorials : https://electrosome.com/category/tutorials/pic-microcontroller/mikroc/

    March 19, 2016 at 10:54 am
  • suresh

    I did this project successfully but i would like to add something more like ds1307 clock and display time on screen and motor should not on between 6pm to 9 pm plus suction water empty protection if you can make it for me please modify the circuits and codes

    March 22, 2016 at 6:10 pm
  • Ligo George

    Sorry, it is very difficult for us to customize program for each and everyone. If you want something like that, please hire one of our engineers and pay for it. It will help us to live.

    April 15, 2016 at 7:43 am
  • Manu

    sir we are not using lcd display…suppose we load same program cn i get output or not

    April 23, 2016 at 12:25 pm

    HC-SR04 working perfectly for me in the water tank

    May 6, 2016 at 10:17 am
  • Ligo George

    Yes, the same program will work without LCD also.

    June 2, 2016 at 6:13 pm
  • jayjay

    sir, how high should this be if i were to install it from the ground for a flood warning purpose?

    July 6, 2016 at 10:29 am
  • kishyenraj

    what type of sensor do you use?

    July 27, 2016 at 6:32 pm
  • Ligo George

    It depends on the level you want to detect. Make sure that the circuit is above that level.

    August 27, 2016 at 12:58 pm
  • Ligo George

    You can use a simple conductor with low corrosion.

    August 27, 2016 at 1:33 pm
  • divya

    can i get the algorithm for water level indicator in dams

    September 9, 2016 at 7:42 pm
  • Ligo George

    Can you please explain in detail ?

    September 10, 2016 at 10:33 pm
  • divya

    i need a algorithm to check water level in dam

    September 12, 2016 at 8:39 am
  • divya

    i need an algorithm for water level indicator in dam

    September 12, 2016 at 8:53 am
  • Ligo George

    Sorry, I can’t help you much without explaining about your project.

    You can use our forums ( https://electrosome.com/forums ) if your topic is outside the scope of above article.

    You can mail me if you need premium support : [email protected]

    September 14, 2016 at 12:42 pm
  • Mira Zaini

    hi sir, can i change the PIC16F7787A to PIC18F4550?

    September 27, 2016 at 5:02 pm
  • amer

    Water Level Indicator and program pic 16F876

    November 18, 2016 at 6:04 am
  • Ligo George

    Yes, you can change it. But why you need 18F4550 for a water level controller ? In my openion 16F877A is more than enough for it.

    November 27, 2016 at 12:44 pm
  • Agsc Mzd

    SIr, how can add level 5 ,6, and above up to 10?

    March 12, 2017 at 8:12 pm
  • Agsc Mzd

    and how can add the monitoring led ?

    March 12, 2017 at 8:14 pm
  • Agsc Mzd

    Dear sir, how can add more water levels and monitoring LED s?
    Is there any option to use SEVEN SEGMENT LED instead of LCD?
    And can I edit any modification in hex file?

    March 12, 2017 at 8:27 pm
  • Muhammad Ezree Amree

    Sir , I didnt get this. what does D0 , D1 , D2 means ? is it a kind of sensor ? hm

    March 15, 2017 at 10:00 pm
  • Soumik Choudhury

    if you are using salty water then 5v is workable otherwise in normal water 9v is required for conductivity

    April 27, 2017 at 11:36 am
  • Palatty Shaju

    I made circuit successfully and it is working but LCD display not reading anything , Just back light On /Off happening . I used 16*2 Display unit , always display is blank,
    Can you give the details to rectify this issue ?

    December 7, 2017 at 1:15 am
  • selehadin seid

    hello, sir the source code is not bulding in microc

    January 25, 2018 at 9:26 pm

    Dear Sir,
    I am trying to learn PIC programming from your site
    and very impressed. I built your Water Level Controller circuit and LED/LCD interface
    using Ctrl-C Ctrl-V works !
    However, due to my ignorance of the Language I am not able to progress further.
    Inspite of your busy schedule, can I request you to please guide me ?
    My problem is, for the Water Level:
    D0 D1 D2 Status
    0 0 0 Motor OFF
    0 0 1 Motor Off (Permissible Limit)
    1 1 1 Motor ON (WaterLevel LOW)
    The above Cycle Repeats till Power off.
    How to program the above ?
    I like to use ASK RF Rx Tx Modules with PIC16F628A or any other PIC
    you recommend WITHOUT the HT12E and HT12D ICs.
    Ca you please HELP?
    Thank you very much in anticipation.
    Imsa Naga.

    May 2, 2018 at 7:12 pm
  • Chandima Jayawardana

    can you share the described circuit diagram?? by using this can we conrtrol motor?

    December 3, 2018 at 12:44 am

Leave a Reply

Your email address will not be published. Required fields are marked *