I need to power supply to a 24V 4.8W valve and my ardunio uno R3 with loadcell and a 16x2 lcd screen on it. My plan is to power them using one 24V 2A SMPS. But i don't know how to reduce 24V to 9V for ardunio. Can you help me? I am open to new suggestions for power supply.
Maximum voltage of what? The buck converter I posted a picture of has a maximum voltage above 24V. I checked that before I posted it.
It depends what components are in your circuit. If you connect 12V to Vin and use a relay to switch the 24V then there is a danger of overheating. If you use a MOSFET, it should be ok.
Don't forget to add a flyback diode across the terminals of the valve. 1n4001 or similar should be fine. Without this diode, the reverse current induced when the valve is switched off could damage the rest of your circuit.