VentOS modifications needed for new system
-
Must change the pinout mapping of the esp32. Its CS pins now go map as: ESP_CS_PINS[11] = {4, 5, 13, 14, 15, 16, 17, 25, 26, 32, 33}; instead of: ESP_CS_PINS[13] = {4, 5, 13, 14, 15, 16, 17, 21, 22, 25, 26, 32, 33};
-
Pressure sensor code needs to be modified (slightly) since our high-range Honeywell pressure sensors are slightly different than they used to be (they must have changed the range their chips output somehow). The 100MDSA3 sensors (in the airway) read their minimum value as 8000 counts, while the 100PGSA3 sensors read atmospheric pressure as 1300. The current library can't handle this new sensor properly.
-
Valve pinouts may have changed, but it might be easier to change the valve wiring to what it used to be on the machine.