EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / this is  mt project

this is  mt project

|

Microcontroller › AVR › water level controller › this is  mt project

August 17, 2011 at 8:04 am #6609
pranav patel
Participant

this is  mt project for

 

“water level controller  usnig two tank”

 

now we have done to make prograam in programming in C

 

but we not make in keil software bcz we dont know that 

 

Descripation of project.

 

 

 

”  here we have used  two tank in 

water level controller

now in there we have taked 4 level.

 

it is 

 

a = lower tank low level

b = lower level high level

c = upper tank low level

d = upper tank high level

 

here,

condition

 

1=full tank,

 

0= empty tank

 

and we also used to 

 

motor and alarm.

 

now  my program is here

 

 

 

 

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,d,motor,alarm;
float 1=full, 0=empty;
clrscr();
printf(“/n motor on/off, alarm on/off”);
while
{
switch
case(1);
{
a=1,b=1,c=1,d=1;
motor(off);
alarm(off);
break;
}
case(2);
{
a=1,b=1,c=1,d=0;
motor(off);
alarm(off);
break;
}
case(3);
{
a=1,b=1,c=0,d=0;
motor(on);
alarm(off);
break;
}
case(4);
{
a=1,b=0,c=0,d=0;
motor(on);
alarm(off);
break;
}
case(5);
{
a=0,b=0,c=0,d=0;
motor(off);
alarm(on);
break;
}
default;
}
}
getch();

 

 

 

patel pranav v.

 

gov. polytechnic 

rajkot

diploma in e.c.

 

 

 

 

RSS Recent Posts

  • need help in photodetection TIA circuit November 19, 2025
  • Need to solder a really delicate ribbon for an electric reel need advice November 19, 2025
  • Need Help Troubleshooting a PCB Assembly Issue November 19, 2025
  • Solar tracker simulation November 19, 2025
  • Help please! BLDC driver circuit using the IR2136s and the STP80NF06 MOSFETS November 18, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise