One Reply on “Gas Leakage Detection and Solenoid Valve Control with Arduino

  1. Im creating a project where im powering a 12v relay and 12v solenoid with a 12v dc adaptor, then connecting these two to an arduino which is then connected to a 5v gas sensor. I’m using this circuit diagram

    the only difference I’m doing from this diagram is I’m using a 12v dc power source. why is my relay not turning on. when I power the solenoid from the adaptor it turns on, and then I plug in the arduino into the USB, the relay, sensor, and ardiuno light up. so everything is powered but the sensor isn’t shutting of the valve. But I assume this is because they arent being power from the same source.
    Tl;dr why won’t my 12v dc relay module turn on when u supply it with a external 12v dc power adaptor.
    Im really a beginner at this stuff so can anyone help?

Leave a Reply

Your email address will not be published. Required fields are marked *