The-Charge / Recharge2020

Main repository for the 2020 Build Season
Other
0 stars 0 forks source link

Analog Input Pressure Gauge #36

Open AshwinS27 opened 4 years ago

AshwinS27 commented 4 years ago

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.

abcurrie commented 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.