Need Embedded C coding for Tank Overflow Preventer

Discussion in 'Embedded Systems and Microcontrollers' started by triplehdineshbabu, Feb 20, 2009.

  1. triplehdineshbabu

    Thread Starter Active Member

    Feb 5, 2009
    HI all,

    Kindly reply me with the 8051C coding for Tank Overflow Preventer or give some ideas to write program for the same.

    Thanks in Advance

  2. beenthere

    Retired Moderator

    Apr 20, 2004
    There is no information about the external hardware. If you have a switch closure that indicates that the tank is full, all you have to do is look for the switch with an input pin. Stop filling when the signal goes from high to low.

    If you have a gauge, convert the signal and stop filling when it reaches some preset value.