15 PSI Board Mount Differential Pressure Gauge

Thread Starter

Brent1798

Joined Jun 5, 2018
17
Hello! I am looking for a "15 PSI Board Mount Differential Pressure Gauge" like this one...https://www.mouser.com/ProductDetail/785-TSCDRRN015PDUCV
What I need help with is finding the right sensor, I need to put two of them with an Arduino so that generally rules out I2C and Serial. If you could please point me at a sensor that is 15 PSI Differential, can be attached to an Arduino x2, and help me write the code to turn it into a readable PSI value I would realllyyyy appreciate the help.
 

strantor

Joined Oct 3, 2010
6,841
Hello! I am looking for a "15 PSI Board Mount Differential Pressure Gauge" like this one...https://www.mouser.com/ProductDetail/785-TSCDRRN015PDUCV
What I need help with is finding the right sensor, I need to put two of them with an Arduino so that generally rules out I2C and Serial. If you could please point me at a sensor that is 15 PSI Differential, can be attached to an Arduino x2, and help me write the code to turn it into a readable PSI value I would realllyyyy appreciate the help.
I'm pretty sure you can turn any of arduino digital pins into a serial pin. I might be wrong but I know for sure you can have more than one serial comms going on.
 

Thread Starter

Brent1798

Joined Jun 5, 2018
17
They also have SPI versions of the HSC series sensor. All you need is a chip select gpio pin per device (ss, pin 5 on the sensor) for X number of sensors.
https://www.mouser.com/ProductDetail/Honeywell/HSCDRRN015PDSA5?qs=sGAEpiMZZMvhQj7WZhFIADdMYlPf938/4hQcq89PwQE=
Output Type Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8
SPI GND Vsupply MISO SCLK SS NC NC NC

Output (% of 2^14 counts) = ( 80% / Pmax. – Pmin ) x (Pressureapplied – Pmin.) + 10%

As I understand it, pin 12 is MISO and pin 11 is SCK on the Arduino Uno, is SCK the same as SCLK?
Can I connect the SS (pin 5 on the sensor) to any other digital pin?
Can you help me find Pmax and Pmin on the Datasheet?
What would the code look like for reading this sensor?
 

nsaspook

Joined Aug 27, 2009
13,591
Output Type Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8
SPI GND Vsupply MISO SCLK SS NC NC NC

Output (% of 2^14 counts) = ( 80% / Pmax. – Pmin ) x (Pressureapplied – Pmin.) + 10%

As I understand it, pin 12 is MISO and pin 11 is SCK on the Arduino Uno, is SCK the same as SCLK?
Can I connect the SS (pin 5 on the sensor) to any other digital pin?
Can you help me find Pmax and Pmin on the Datasheet?
What would the code look like for reading this sensor?
You can connect the SS (slave select) to any free controller gpio pin configured as a digital output. Your code sets that pin to digital low to select that sensor via SPI for a pressure readout and after your data read comms are complete, set the pin to digital high to deselect that sensor from SPI comms.

Look for the table:
Specifications ±0.5 inH2O to ±150 psi Table 10. Pressure Range Specifications for 0.5 inH2 O to 150 psi

As for the code I'm pretty sure (after a quick search) there are plenty of SPI sensor reading examples for Arduino.
https://forum.arduino.cc/index.php?topic=354565.0
 
Top