Open AshwinS27 opened 4 years ago
The intent is to have a voltage reading that corresponds to the tank pressure. If we can get the right resistors, Zero PSI will be about 1 volt and 120 PSI will be about 5 volts. Program the input to have a slope and intercept correction that can be changed once the correct values are known.
Make a subsystem which can read in an analog input from RoboRIO. Then convert that voltage input (0 to 5) to a Pressure output in psi, and display on Dashboard.