A voltage to frequency converter can realize an opto-isolated analog input for Arduino or other microcontroller systems.