Using MQ-2 Gas Sensor with MKR1010

For that sensor, you will need USB 5V or a regulated 5V power supply for the heater, and to interface with the ADC on the MKR1010, a voltage divider to reduce the output voltage. Example:

Capture