i need to measure an AC line of 24VAC(18-30VAC can swing) using differential op-amp or Optocoupler which shall be connected to ADC input of a uC..Which one is the best option if you consider Noise performance(board shall be very close to a 230V contactor), cost and isolation.