MICROCONTROLLER BASED DAMCONTROL SYSTEM