<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Honeywell TruStability Digital pressure sensor review</title><link>https://community.element14.com/products/roadtest/w/documents/23541/honeywell-trustability-digital-pressure-sensor-review</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Honeywell TruStability Digital pressure sensor review</title><link>https://community.element14.com/products/roadtest/w/documents/23541/honeywell-trustability-digital-pressure-sensor-review</link><pubDate>Tue, 09 Nov 2021 16:55:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6c5c49f7-d3b0-464b-8ad8-9849dbd72d42</guid><dc:creator>R_Phoenix</dc:creator><comments>https://community.element14.com/products/roadtest/w/documents/23541/honeywell-trustability-digital-pressure-sensor-review#comments</comments><description>Current Revision posted to Documents by R_Phoenix on 11/9/2021 4:55:34 PM&lt;br /&gt;
&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong style="font-size:12pt;"&gt;Honeywell TruStability Digital pressure sensor review&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;margin-bottom:0pt;"&gt;&lt;strong style="font-size:12pt;"&gt; &lt;/strong&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;Products:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;a id="e14-product-link-8a544" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=HSCDANN001PGSA5&amp;nsku=72R7132&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('8a544'));" data-farnell="HSCDANN001PGSA5" data-newark="72R7132" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;HSCDANN001PGSA5&lt;/a&gt; &lt;/span&gt;&lt;/span&gt; 0 to 1 psi digital output&lt;/span&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;a id="e14-product-link-5f19f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="link" href="https://referral.element14.com/OrderCodeView?fsku=HSCDANN005PGSA5&amp;nsku=72R7101&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-link" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('5f19f'));" data-farnell="HSCDANN005PGSA5" data-newark="72R7101" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;HSCDANN005PGSA5&lt;/a&gt; &lt;/span&gt;&lt;/span&gt; 0 to 5 psi digital output&lt;/span&gt;&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/407x427/__key/communityserver-wikis-components-files/00-00-00-00-23/contentimage_5F00_8463.jpg"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/00/23/contentimage_8463.jpg-407x427.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=6SYtB7sdyFhYz%2BsYUanbh6hxSDkcWz3Xe7bsDcTD2Jw%3D&amp;amp;se=2026-06-12T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=CbZuvHg1fCF8jZlC3lk6og==" style="max-height: 427px;max-width: 407px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;Test Bed:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;Mbed rapid proto typing Microcontroller&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;a class="jive-link-external-small" href="http://arduino.cc/" rel="nofollow ugc noopener" target="_blank"&gt;Arduino&lt;/a&gt; Microcontroller&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;Product Overview:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;The sensors are packaged in a nice clean hard plastic shell that provides good protection during shipment.&amp;nbsp; The sensors themselves look and feel sturdy and appear to be able to handle small vibrations and shock.&amp;nbsp; There are a wide verity of mounting and tube connection types as well as 3.3 or 5 volts. They are available in Analog, I2C, or SPI digital communication.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;Both sensors I looked at use the SPI Bus for communications and are 5 volts powered. Note that I was not familiar with the SPI bus before this evaluation, I thought I had requested the I2C versions – but that’s OK. I learned something new as well.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;Product Documentation:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;The Documentation was a bit time consuming to find. Honeywell likes to create documents that encompass an entire series of product, so I had to track down and piece together all the needed information. If you have ever navigated Honeywell’s web site, it can be overwhelming at times simply trying to find a specific product and as usual, entering the part number in the search box yielded 0 results. I prefer that all the needed information is on one data sheet.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;Related documents:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;a class="jive-link-external-small" href="http://sensing.honeywell.com/index.cfm/ci_id/157751/la_id/1/document/1/re_id/0" rel="nofollow ugc noopener" target="_blank"&gt;http://sensing.honeywell.com/index.cfm/ci_id/157751/la_id/1/document/1/re_id/0&lt;/a&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;a class="jive-link-external-small" href="http://sensing.honeywell.com/index.cfm/ci_id/156989/la_id/1/document/1/re_id/0" rel="nofollow ugc noopener" target="_blank"&gt;http://sensing.honeywell.com/index.cfm/ci_id/156989/la_id/1/document/1/re_id/0&lt;/a&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;a class="jive-link-external-small" href="http://sensing.honeywell.com/index.cfm/ci_id/156218/la_id/1/document/1/re_id/0" rel="nofollow ugc noopener" target="_blank"&gt;http://sensing.honeywell.com/index.cfm/ci_id/156218/la_id/1/document/1/re_id/0&lt;/a&gt;&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;After spending a few hours gathering the needed information about how to program the needed SPI interface, I constructed a small test bed to test the sensors.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;Basic Layout:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/620x362/__key/communityserver-wikis-components-files/00-00-00-00-23/contentimage_5F00_8464.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/00/23/contentimage_8464.jpg-620x362.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Oyv7lXVqqMHUGB%2FqLJly1wiOu12zPx1RHTGzIcAWYK8%3D&amp;amp;se=2026-06-12T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zIUrlwQHzY9rq3eTi+AlaA==" style="max-height: 362px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;This image shows the Sensor connected to my small hand pump and analog mechanical gauge. This allows me to slowly apply pressure to the sensor and I can verify the pressure with the gauge against the sensor. The LED allows me to verify that the device is being selected, as the SS line goes low when reading data from the device.&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/620x464/__key/communityserver-wikis-components-files/00-00-00-00-23/contentimage_5F00_8465.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/00/23/contentimage_8465.jpg-620x464.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=HrzKZR%2BAB4JcBT65ZakEObwKBO4auviiWA4izr3p6FY%3D&amp;amp;se=2026-06-12T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=s8I1m7suveOWBBuSp9shfQ==" style="max-height: 464px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;Arduino Hook up&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/620x520/__key/communityserver-wikis-components-files/00-00-00-00-23/contentimage_5F00_8466.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/00/23/contentimage_8466.jpg-620x520.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=hEh5iLjKAPUpaxEzTbySLmxLKOcqsDDAx5gizhVOnEA%3D&amp;amp;se=2026-06-12T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=+HAUv+enkFYyjjiz+cG2iw==" style="max-height: 520px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;At this point I have to admit that my evaluation failed. The reason for this is unclear but I could not get the device to produce the proper information. This might be due to the fact that I’m too unfamiliar with the SPI interface, or possibly I am missing a key bit of information about the Honeywell SPI interface. I spent several hours talking to others and discussing the data and programming on other forums and after trying several things, everyone has run out of Ideas.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;I want to post my results here for anyone else thinking about using these sensors so they can see everything that I have tried. Hopefully Someone here (or possibly from Honeywell) can spot the problem. Most likely I am missing something in the hookup or programming and the device operates just fine.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;One issue I thought sure was the problem was the fact that the mbed MPU is 3.3 volts and possibly was not putting the proper voltage on the SCLK line. This is why I switched over to the Ardunio MPU. This uses 5 volts instead and should produce the needed 4 volts on the SCLK line – However as you will see the results were the same.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;Programming:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;mBed test program:&lt;/div&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span style="color:#0000ff;"&gt;#include &amp;quot;mbed.h&amp;quot;&lt;br /&gt;#define OUT_MAX 16384&lt;br /&gt;#define OUT_MIN 0&lt;br /&gt;#define PRES_MAX 5&lt;br /&gt;#define PRES_MIN 0&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span style="color:#0000ff;"&gt;SPI spi(p11, p12, p13); // mosi - no connection, miso - connected to pin 3 of sensor, sclk connected to pin 4 of sensor&lt;br /&gt;DigitalOut cs(p8);&amp;nbsp;&amp;nbsp; // chip Select line connected to pin 5 of sensor&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span style="color:#0000ff;"&gt;Serial pc(p9,p10); // tx, rx&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span style="color:#0000ff;"&gt;int main() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Setup the spi for 8 bit data with a 800KHz clock rate&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; spi.format(8,0);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; spi.frequency(500000);&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Select the device by seting chip select low&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cs = 0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wait_us(8);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Send a dummy byte to receive the contents&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int byte_1 = spi.write(0x00);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int byte_2 = spi.write(0x00);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int byte_3 = spi.write(0x00);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int byte_4 = spi.write(0x00);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float temp = byte_3&amp;lt;&amp;lt;3;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp = (temp*200/2047)-50;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float psi = byte_1&amp;lt;&amp;lt;8|byte_2;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; psi = ((psi-OUT_MIN)*PRES_MAX)/(OUT_MAX-OUT_MIN);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pc.printf(&amp;quot;Byte 1 = %X; Byte 2 = %X; Byte 3 = %X; Byte 4 = %X; PSI =&amp;nbsp; %.4f; TEMP = %.2f:\r&amp;quot;,byte_1,byte_2,byte_3,byte_4,psi,temp);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Deselect the device&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cs = 1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wait(1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;mbed results:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;note: Byte_1 to Byte_4 are in HEX notation, PSI and TEMP are Dec&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/384x74/__key/communityserver-wikis-components-files/00-00-00-00-23/contentimage_5F00_8467.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/00/23/contentimage_8467.jpg-384x74.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=P1QsbX133Yh%2BvYhAnhxXMX9x8iEI%2BL9FrwjMUjekSoY%3D&amp;amp;se=2026-06-12T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=RkTexYYYB1ZE2pMH3KKrJQ==" style="max-height: 74px;max-width: 384px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;Ardunio Program:&lt;/strong&gt;&lt;/div&gt;&lt;p style="margin:0;"&gt;#include &amp;lt;SPI.h&amp;gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span style="color:#008000;"&gt;// pins used for the connection with the sensor&lt;br /&gt;// the other you need are controlled by the SPI library):&lt;br /&gt;const int dataReadyPin = 6;&lt;br /&gt;const int chipSelectPin = 7;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span style="color:#008000;"&gt;void setup() {&lt;br /&gt;&amp;nbsp; Serial.begin(9600);&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span style="color:#008000;"&gt;&amp;nbsp; // start the SPI library:&lt;br /&gt;&amp;nbsp; SPI.begin();&lt;br /&gt;&amp;nbsp; SPI.setClockDivider(128);&lt;br /&gt;&amp;nbsp; // initalize the&amp;nbsp; data ready and chip select pins:&lt;br /&gt;&amp;nbsp; pinMode(dataReadyPin, INPUT);&lt;br /&gt;&amp;nbsp; pinMode(chipSelectPin, OUTPUT);&lt;br /&gt;&amp;nbsp; digitalWrite(chipSelectPin,HIGH);&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; delay(100);&lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span style="color:#008000;"&gt;void loop()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; digitalWrite(chipSelectPin,LOW);&lt;br /&gt;&amp;nbsp; delay(10);&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; int inByte_1 = SPI.transfer(0x00);&lt;br /&gt;&amp;nbsp; int inByte_2 = SPI.transfer(0x00);&lt;br /&gt;&amp;nbsp; int inByte_3 = SPI.transfer(0x00);&lt;br /&gt;&amp;nbsp; int inByte_4 = SPI.transfer(0x00);&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; Serial.print(&amp;quot;Byte_1 = &amp;quot;);Serial.print(inByte_1,DEC);Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;&amp;nbsp; Serial.print(&amp;quot;Byte_2 = &amp;quot;);Serial.print(inByte_2,DEC);Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;&amp;nbsp; Serial.print(&amp;quot;Byte_3 = &amp;quot;);Serial.print(inByte_3,DEC);Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;&amp;nbsp; Serial.print(&amp;quot;Byte_4 = &amp;quot;);Serial.print(inByte_4,DEC);Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; float psi = inByte_1&amp;lt;&amp;lt;8|inByte_2;&lt;br /&gt;&amp;nbsp; psi = (psi*5)/16384;&lt;br /&gt;&amp;nbsp; Serial.print(&amp;quot;PRES = &amp;quot;);Serial.print(psi);Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; inByte_3 = inByte_3&amp;lt;&amp;lt;3;&lt;br /&gt;&amp;nbsp; float realTemp = ((float)inByte_3*200/2047)-50;&lt;br /&gt;&amp;nbsp; Serial.print(&amp;quot;Temp[C]= &amp;quot;);Serial.print(realTemp);Serial.print(&amp;quot;\n&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp; digitalWrite(chipSelectPin,HIGH);&lt;br /&gt;&amp;nbsp; delay(1000);&amp;nbsp; &lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;Arduino Results:&lt;/strong&gt;&lt;/div&gt;&lt;p style="margin:0;"&gt;Note: all numbers are in Decimal notation.&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/527x85/__key/communityserver-wikis-components-files/00-00-00-00-23/contentimage_5F00_8468.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/00/23/contentimage_8468.jpg-527x85.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=GvGE1RttltzQ4E0E1j8vNljTALiWvhu48jx1KPox%2FmU%3D&amp;amp;se=2026-06-12T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=IzD1NG7CR3j/GskpBQQdCg==" style="max-height: 85px;max-width: 527px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&lt;span&gt; &lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;The Problem:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;The internal temperature was close, only 3 to 4 degrees off from Ambient temperature. I assume this to be correct as it is measuring the temp of the sensor itself and not ambient air (I don’t think). So my conclusion is that the electronics will warm a bit during use. I believe the Temperature to be correct.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;However the Pressure was way off. The Documentation states the digital counts should be between (or near) 0x000 with 0 pressure and 0x3FFF at MAX Pressure +/- Atmospheric. I was unable to achieve either value. In fact the most the digital count changed between 0 and 5psi was about 450 counts. Not near enough to be highly accurate.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;What I have tried:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;I have tried all formats, 8,0 8,1 8,2 and 8,3 as well as 16 bit vs 8 bit&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;I have tried reading all data in a single string instead of pinging the register 4 separate times.&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;I have tried all possible clock frequencies.&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;One thing myself and other could not find in the documentation was any mention of a specified register address that I must read first. This lead me to believe that there was none.&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;I have tried several different values for the OUTPUT Max and the OUTPUT Min including those listed in the documentation.&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;I have tried decoupling the power lines.&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;All of these things would affect the output data, but not make it correct.&lt;/div&gt;&lt;div class="" style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;&lt;strong&gt;In conclusion:&lt;/strong&gt;&lt;/div&gt;&lt;div class="" style="margin:0;margin-bottom:0pt;"&gt;Because I was unable to test these sensors successfully I cannot comment on their stability, function, or accuracy.&amp;nbsp; Currently I use the ADMS series of Honeywell Analog sensors and those work great and are Highly accurate. I can measure water levels down to 0.25” accuracy and could get it even further if I needed to.&amp;nbsp; Unfortunately I was unable to test the HCS series in this application. If anyone might have ideas on what I am doing wrong, please message me and I will update this document with any new developments.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: spi, pressure_sensor, honeywell, hsc, Design Resources&lt;/div&gt;
</description></item></channel></rss>