design and implementation of automated earth resistant and di-electric measurement device