Connecting a mq6 gas sensor with temperature sensor

I have used a ds18b20 temperature sensor and it worked, I have a mq6 gas sensor and I don't know much about it, though I have read about it. Can I use this tutorial to connect my mq6 sensor?

And I'm wondering, after I make the gas sensor work, will both my sensors (Gas and temperature sensor) work if I connect them both together?

Any help would be appreciated!

should work just fine

I connected the gas sensor, I'm certain it is working but it keeps showing me 1024 value in the serial monitor and doesn't increase even after I introduce LPG to it, I know it detects because when I bring a lighter close to it the inside of the sensor turns red. I'm using a 22k resistor.

1024 ??
post code..