Remote Air Pressure sensor and controller

Hello, I'm new to this forum and don't quite know if this is the right place to post this but here we go. I am working on a project using 2 arduino nanos, 2 reyax rylr896 modules, a relay, an electronic ball valve, a pressure sensor, and a nextion touch screen. One arduino is connected to the nextion display using software serial. Also on that same arduino, I have a reyax rylr896 LoRa module connected using the hardware serial TX and RX pins. On the other arduino, I have a pressure sensor transducer connected to analog pin 1, and a relay connected to a digital pin. This relay will turn the ball valve on and off. I also have a reyax rylr896 lora module connected to the hardware serial pins of this arduino. Basically what I'm trying to accomplish, is to be able to read the air pressure on the nextion display and also control the air pressure using the same touch screen by turning a ball valve on or off. I was able to get a pressure reading on the display, but can't figure out how to control the ball valve from the same display. Is there a way to do this using interrupts? Thank you.

To answer your question yes. It is all in the programming. Why not start by defining the problem with specifications including a flow chart and schematic. Define what is the expected outcome. Purchase the Arduino cookbook and read it, this will give you some basics. also use the online tutorials and videos available, there are many good ones on this web site. At this point you will be able to define the problem and may have already solved it.