Connecting 5V devices to Photon?

Its exactly the same as you've mentioned at link Air Quality Sensor - MQ135 [4600] : Sunrom Electronics

So, I've added a voltage divider with resistors R1 = 820 Ohms, R2 = 1470 Ohms for stepping down 5V to 3.21V (couldn't find 500 and 1000 ohm resitors for a perfect 3.33V)

Voltage & RAW Analog Read, without voltage divider:-
.34, 1540 - Pure Air Outside
.48V, 1600 - Normal Room Condition
1.8V, 3325 - Cigarette Lighter LPG for a minute
2.3V, 4080 - Incense Stick Smoke, placed 1cm below sensor, for 3 minutes
2.35V, 4095 - Incense Stick Smoke, placed 1cm below sensor, for 3 minutes

At 2.3V, analog read's value is 4080, at 2.35V, analog read's value peaks at 4095
And voltage kept raises up to 2.5 max, that's not much after it reaches peak value right?
Technically, shouldn't analog read value of 4095 happen only at 3.3V?

Voltage & RAW Analog Read, with voltage divider:-
.18V, 1350 - Pure Air Outside
.33V, 1580 - Normal Room Condition
1.1V, 2450 - Cigarette Lighter LPG for a minute
1.6V, 3154 - Incense Stick Smoke, placed 1cm below sensor, for 3 minutes

I'm still dealing only with voltage & raw analog reads here. So, once we're done with this, please guide me to translate these to ppm values :smiley: