I would like to build a nitrogen gas purging system in order to decrease the oxygen content of an already filled bottle.
I would like to connect a solenoid valve to a nitrogen tank and then have a system where the operator can press a button and a stream of nitrogen gas is released for a certain set time and then the valve closes again.
I am very new to arduino and would greatly appreciate it if anybody can provide guidance or even a point in the right direction.
The first step is to test the solenoid valve and the power supply. Add a switch to turn the valve on and off and make sure that works without fail. Then begin to add your Arduino and the device it will use to control the solenoid valve and, of course the operator's push button.
Now you can begin to write and test your program for the Arduino.
(edit) Nitrogen gas is heavier than air, so be sure to have good ventilation!
Until you want to change the duration.
Or until you want a second button for a different timing - shorter for smaller bottles, longer for larger bottles.