Timers Program In 8051

Posted on by

Water Level Controller and Indicator using 8. Microcontroller. Water Level Controller using 8. Microcontroller project will help in automatically controlling the water motor by sensing the water level in a tank. This article explains you how to detect and control the water level in an overhead tank or any other container. This system monitors the water level of the tank and automatically switches ON the motor whenever tank is empty. SPI Program Examples 1. Introduction This Application Note provides to customers C and Assembler program examples for SPI. These examples are developped for the. The motor is switched OFF when the overhead tank or container is FULL. Hp 850C Driver Windows 7 more. Here, the water level of the tank is indicated on LCD Liquid crystal Display. Using this system, we can avoid the overflow of the water. We have already seen How water level indicator circuit works using AVR Microcontroller in the earlier post. But, here we are designing the circuit which is used to detect and control the water level automatically in overhead tank using 8. In this system, water sensing can be done by using a set of 4 wires, which are placed at different levels in tank. DC supply probe is placed at the base of the tank. Construction and Output Video. Water Level Controller using 8. Circuit Principle. This system mainly works on a principle that water conducts electricity. The four wires which are dipped into the tank will indicate the different water levels. Based on the outputs of these wires, microcontroller displays water level on LCD as well as controls the motor. Initially when the tank is empty, LCD will display the message LOW and motor runs automatically. When water level reaches to half level, now LCD displays HALF and still motor runs. When the tank is full, LCD displays FULL and motor automatically stops. Again, the motor runs when water level in the tank becomes LOW. Water Level Controller using 8. Microcontroller Circuit Diagram. Timers Program In 8051' title='Timers Program In 8051' />Components Required for Water Level Controller using 8. Microcontroller AT8. C5. 1 Microcontroller or any 8. How-to-use-timer-Interrupt-in-8051-Microcontroller.jpg' alt='Timers Program In 8051' title='Timers Program In 8051' />With Atmels broad range of featurerich 8bit microcontrollers based on the 8051 instruction set, you can be assured that your 8051 designs are in good hands. Learn keil embedded c with advanced concepts in functions, pointers used in embeeded c for 8051 microcontroller. Learn to mix c and assembly programs together and. Viii Contents 3. 3 Configuring the simulator 37 3. Building the target 39 3. Running the simulation 39 3. Dissecting the program 43 3. Aside Building the hardware 55. Microcontroller8. Programmer Programming Board1. MHz Quartz Crystal. F Capacitor. 2 x 1. K Resistor 14 Watt1. F Capacitor. Push Button. K x 8 Resistor Pack for Pull up1. The CC2545 is an optimized systemonchip SoC solution with data rates up to 2Mbps built with low billofmaterial cost. These notes will not tell you absolutely everything about the 8051 microcontroller. However, we hope they will provide you with a good introduction to this very. LCD Display. 5V Relay. N2. 22. 2 NPN Transistors. DC Motor for demonstration1. K Potentiometer. N4. PN Junction Diode. Programming cable. Connecting wires. Power Supply. Keil Vision IDEWillar Software for burning code Proteus for circuit diagramHow to Design Circuit for Water Level Controller using 8. Microcontroller The heart of the Water Level Controller using 8. Microcontroller project is the AT8. C5. 1 Microcontroller. S3 Unichrome 3D Driver. The water level probes are connected to the P0. P0. 1 and P0. 2 through the transistors they are connected to the base of the transistors through corresponding current limiting resistors. P0. 0 for LOW level, P0. HALF Level and P0. HIGH Level. The Collector terminals of the Transistors are connected to VCC and the Emitter terminals are connected to PORT0 terminals P0. P0. 1 and P0. 2. PORT1 of the microcontroller is connected to the data pins of LCD and the control pins RS, RW and EN of the LCD Display are connected to the P3. GND and P3. 7 respectively. For demonstration purpose, we have used a simple DC Motor Pump. It is connected to the Relay and the input to the relay is fed from P0. Related Post Also read the interesting concept about How water level alarm circuit works using 5. Timer. Algorithm for Water Level Controller Circuit First configure the controller pins P0. P0. 1 and P0. 2 as inputs and P0. Now, initialize the LCD. Continuously check the water level input pins P0. P0. 1 and P0. 2. If all the pins are low, then display tank as EMPTY on the LCD and make P0. HIGH to run the motor automatically. If the level is low i. P0. 0 is HIGH, display the water level as LOW and continue to run the motor. A HIGH pulse on the pin P0. So, display the same thing on LCD and run the motor normally. If P0. 2 is HIGH, then the water level in the tank is FULL. Now, make the P0. LOW to turn off the motor automatically. Water Level Controller using 8. Circuit Simulation Video. How to Operate Water Level Controller Circuit using 8. Microcontroller Initially, write the program for Water Level Controller in Keil Vision IDE and generate the. Burn the program. Cheat Top Eleven. Willar Software. Now give the connections as per the circuit diagram. While giving the connections, make sure that there is no common connection between AC and DC supplies if you are using an AC MotorPlace the 4 water level indicating wires into the small tank 3 probes for three different levels and fourth one for common supplySwitch on the supply. Now, the motor will run automatically as there is no water in the tank. It will turn on even if the water level is LOW. Now pour the water, when it reaches LOW level, then LCD displays LOW. For middle level, it will display as HALF on the LCD. Still if you pour the water, then the water level reaches full and the LCD displays FULL and also the motor is turned OFF automatically. Switch off the motor supply and board supply. Get an idea about How to Interface 7 Segment Display with 8. Microcontroller. Water Level Controller Circuit Advantages. Human effort is reduced as the system controls the motor automatically based on the water level. This system consumes less power. Simple and more reliable. Also Read How To Make an Adjustable Timer Applications of Water Level Controller Circuit using 8. Used in big buildings where the manual monitoring is difficult. Used in industries to control the liquid level automatically.