<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SHT75 QB8 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127776#M1472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I notice that the sample code requires floating point operations, specifically in the &lt;FONT face="Courier New"&gt;calc_sth11&lt;/FONT&gt; and &lt;FONT face="Courier New"&gt;calc_dewpoint&lt;/FONT&gt; functions.&amp;nbsp; I would suspect that the HC908QB8 may not have sufficient capacity for the floating point library, if you need to do these calculations.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Regards,&lt;BR /&gt;Mac&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Mar 2006 11:30:01 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2006-03-04T11:30:01Z</dc:date>
    <item>
      <title>SHT75 QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127773#M1469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I'm trying measure temp and humidity with an SHT75 sensor and HC908QB8 microcontroller, any have idea how start?, I wish program in C (CW), sorry, I'm newer in this area&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 03:39:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127773#M1469</guid>
      <dc:creator>ppcco</dc:creator>
      <dc:date>2006-03-02T03:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: SHT75 QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127774#M1470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello ppcco,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;It appears that the data transfer arrangements for the SHT75 device are neither compatible with I2C nor SPI.&amp;nbsp; This means you will need to 'bit bang' the transfer routine using two of the GPIO pins, using one pin for the clock output, and the other for data I/O.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;For the data output mode (sending the command bits) the high logic state of the data line must be non-driven, and an external pull-up resistor used (10k).&amp;nbsp; The internal pull-up alone may not be sufficient, depending on the clock speed.&amp;nbsp; A method of achieving the required output characteristic is to set the output latch for the data pin continuously low, and control the output state using the&amp;nbsp;data direction bit.&amp;nbsp; This bit would be set for logic low, and cleared for logic high.&amp;nbsp; The bit would also be cleared when receiving data from the device.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;To write the code, you will need to&amp;nbsp;refer to&amp;nbsp;the waveforms shown in the data sheet for the sending of the command and&amp;nbsp;reading the returned data.&amp;nbsp; I will leave this as an exercise for you to attempt.&amp;nbsp;&lt;/FONT&gt; &lt;FONT size="2"&gt;I&amp;nbsp;might suggest that you will&amp;nbsp;need a function to initialise the GPIO used, and another function for the transmission start sequence and the sending of the command bits.&amp;nbsp; Further functions would be required to read the humidity/temperature data, and possibly to read and write the status register, if required.&amp;nbsp; The CRC data attached to the humidity/temperature data can probably be ignored.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Regards,&lt;BR /&gt;Mac&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2006 00:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127774#M1470</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-03-04T00:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: SHT75 QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127775#M1471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;I just finished interfacing the SHT75 to a HCS08GT60 processor, and found the sample C code on Sensirions website to be extremely helpfull.&amp;nbsp; (You can find it at the bottom of the page the details the specific sensor information).&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2006 02:33:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127775#M1471</guid>
      <dc:creator>MichaelB</dc:creator>
      <dc:date>2006-03-04T02:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: SHT75 QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127776#M1472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I notice that the sample code requires floating point operations, specifically in the &lt;FONT face="Courier New"&gt;calc_sth11&lt;/FONT&gt; and &lt;FONT face="Courier New"&gt;calc_dewpoint&lt;/FONT&gt; functions.&amp;nbsp; I would suspect that the HC908QB8 may not have sufficient capacity for the floating point library, if you need to do these calculations.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Regards,&lt;BR /&gt;Mac&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2006 11:30:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127776#M1472</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-03-04T11:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: SHT75 QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127777#M1473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks, i'm trying program it with your help, a question, the frequency in clock pin may be any? or exist any freq that recomend me to sure data transmission?, thanks a lot&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2006 01:28:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127777#M1473</guid>
      <dc:creator>ppcco</dc:creator>
      <dc:date>2006-03-06T01:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: SHT75 QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127778#M1474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;the web page sensirion give a c code to begin to this work. Im adapting the code for the use in the sh8 mcu. I have a compile code ok, but I m think the form to convert the float data to humidity and temp to ascii characters to visualization... the qb8 must support the c code...&amp;nbsp;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2009 05:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127778#M1474</guid>
      <dc:creator>hypocrisy</dc:creator>
      <dc:date>2009-05-17T05:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: SHT75 QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127779#M1475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;the data sheet says the frequency in the sck line, this depend of the VDD voltage, if you work the sensor with 5V the max frequency is 5MHz, if you work with 3V, the max sck frequency is up to 1Mhz&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2009 05:14:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SHT75-QB8/m-p/127779#M1475</guid>
      <dc:creator>hypocrisy</dc:creator>
      <dc:date>2009-05-17T05:14:14Z</dc:date>
    </item>
  </channel>
</rss>

