The parameters, such as weightage matrix elements and threshold of the trained ANN, are stored in the microcontroller flash memory to determine moisture content of a transformer oil sample using the input from the potential divider and temperature sensor IC.2.