5V Relay Rapidly clicks on and off

PaulRB:
Or... you could power the Arduino from 12V through the Vin pin.

A most surprising recommendation!

Did you not read the first posting? :astonished:

MarkBoudreau:
The MQ2 gas sensor is powered off of the 5V pin on the Arduino.