Input Voltage scaling (reducing & amplyfying!)

sample on the ADC

target Voltage is 0-3.3v.

The ADC on an ESP8266 is 0 to 1V.