5V sensor connect to 3V MC

Hello,

How can I connect an 5V MQ7 sensor to MKR1000. Do I need some external power source or can I step up my existing 3V. Thanks.

Timo

You need a source of 5V, which you can get from the USB. Then you need a potential divider to cut down the voltage from the sensor to the processor.
Like this:-

PotDiv.jpg