Voltage divider optimized by using 3.3Vref for ADC and 820 ohm rd. Scilab script added that plots the voltage divider situation