For starters you setup is totally wrong you want to feed the ptoto transistor with a 100k resistor VDD to collector and tap the ADC to the emittor with a 10k resistor
For starters you setup is totally wrong you want to feed the ptoto transistor with a 100k resistor VDD to collector and tap the ADC to the emittor with a 10k resistor