Hello,
So my idea is to turn ON an Air Valve when motion is detected by a PIR Sensor. At the moment I'm using an Arduino UNO board but I'll move to an Arduino Pro Mini or any other option (open to suggestions).
The issue is that the air valve draws 500mah and I won't be able to connect it to the Arduino 5V and will need to connect directly to the power source. I need an electronic switch of some kind that will be triggered by the Arduino so I wonder what transistor would be suitable.
The air valve will need to be active maybe for around 500 milliseconds and then turn off and only turn on again after 5 seconds if movement is detected.
Please see the picture attached for the circuit and code I'm using so far. I replaced the valve for an LED in the circuit. The valve itself wouldn't be connected directly to the Arduino as explained above but the LED is enough to test the circuit and further code edits.
If you have suggestions on using a different microcontroller or circuit I'm happy to hear your thoughts. In the end I want to make it as small as possible and less power consuming as possible.
Thanks for your help