I am not of an expert and just beginning in electronics, I have tried to design this circuit. I will be doing 2 separate design, one for each solenoid valve that I'll be controlling using Arduino NANO. The 1st schematic is for the 24VDC-3W solenoid valve which I'll use to control a pneumatic cylinder (required to be quick release/retract of piston) and the 2nd schematic is for the 12VDC-4.5W solenoid valve to act like a gate valve to pass and stop the flow of air depending on the time I has set it to do so.
Q1. The first thing I want to ask is that is the power supply part, is my design okay or are there anything I should change? The Arduino NANO operates at 7-12V so that is why I tried to have voltage regulator MC7812 to output 12V from 24V AC/DC-830mA Power Supply (RAC20-24SK). Also in the 2nd circuit, I just used a power adapter labeled 12VDC, 1A to power both the 12V solenoid valve and Arduino NANO. Is it alright that solenoid valve and Arduino Nano share the same power supply?
Q2. I have used MOSFET based on the discussion here in forums and I see that they use IRF540 however, I am not sure if this will be compatible with connecting to Arduino nano. If anyone has extra time I am still confuse of the parameters needed to look for to tell when a MOSFET/transistor is appropriate for a design. I see that Vds, Rds_on, etc. are being described but I am a bit sluggish to understand how this be calculated to the chosen load w/c is the solenoid valve (I also had this IRLML6344 MOSFET that I consider to use instead of IRF540).
Q3. For the 2nd ckt, is the BCP55 transistor appropriate for my design, and is the resistor value of 10k appropriate? This is the only NPN transistor I have so I chose this one. Same question as to Q2, what parameters to tell that this is okay to use. What should be considered in calculations of voltage and current consumption should I look for given the power supply and solenoid valve I have.
Q4. I have seen that it is recommended to use 1N4001 for the flyback diode, but what I have is only the 1N4150, is this okay to use?
Q5. The 12VDC solenoid valve have this label, I just want assurance that it means I can get rid of the flyback diode on my 2nd circuit?
Q6. I read somewhere that SSR and photocoupler can also be used when interfacing with solenoid valve, what I have right now is for SSR, AQY212S for photocoupler: TLP-182, TLP-785-GB, TLP-523-1, TLP-627M. I am not familiar in interfacing this within my circuit.
Here are the links to the parts list:
24VDC-3W-N.C Solenoid Valve - https://docs.rs-online.com/20a7/A700000008651199.pdf
12VDC-4.5W-N.C Solenoid Valve - https://docs.rs-online.com/b218/0900766b815dd865.pdf
24V AC/DC-830mA Power Supply - https://recom-power.com/pdf/Powerline_AC-DC/RAC20-K.pdf
BCP55 datasheet - https://www.mouser.ph/datasheet/2/916/BCP55_SER-3081565.pdf
IRLML6344 - https://www.mouser.ph/datasheet/2/196/Infineon_IRLML6344_DataSheet_v01_01_EN-3166606.pdf