Sketch for setting up and controlling the osmosis operation required for the water purification plant.
Pin number | Mode | Description |
---|---|---|
2 | INPUT | Low pressure sensor |
3 | INPUT | High pressure sensor |
4 | INPUT | Float |
5 | INPUT | External stop |
8 | OUTPUT | Input valve |
9 | OUTPUT | Pump |
10 | OUTPUT | Flush valve 1 |
11 | OUTPUT | Flush valve 1 |
Arduino Nano board is used. All “approximate” schematic diagrams can be found in my Wokwi project.
Note: the project and the schema in the projects are aimed at testing. In fact, some elements in the schematic should be replaced by other elements. This does not affect the code's operability in any way
