6 Replies Latest reply on May 22, 2018 2:34 PM by davide.marzorati_3386091

    Bidirectional Pin for SHT75 Sensor

    davide.marzorati_3386091

      Hi all,

       

      I'm attempting to use a PSOC 5LP to read data from a SHT75 Temperature & Humidity sensor (https://www.sensirion.com/en/environmental-sensors/humidity-sensors/pintype-digital-humidity-sensors/).

       

      In order to read data from the sensor, I need two pins (clock and data). At the moment, I configured my clock pin as a Digital Output (Strong Drive), and my data pin as a Bidirectional Pin (Open Drain Drives Low). The clock pin is working fine with the functions I created, while the data pin is not working as expected: do I need to dynamically change the configuration of the data pin whenever I need to write/read from it? How should I connect the bidirectional pin (pull-up resistor?)?

       

      Thanks,

       

      Davide