1 Reply Latest reply on Aug 13, 2018 5:51 PM by RuzheZ_36

    Not Getting Good Temperature Readings



      I am working with the CY8KIT-142 PSoC BLE Module and an AM2302 Temperature/Humidity Sensor. I am having trouble reading in data from the sensor (I am reading out all 1s). I have attempted to adapt the Arduino library for this sensor, but have not been successful.  I am using the suggested 5.1 kOhm pull-up resistor and have the SDA pin set to bidirectional with the drive mode Open Drain Drives Low. Is there a way to change the direction of the pin (input/output) through code or is there a fault in my implementation? Attached are my project files and the AM2302 datasheet for reference.


      Thank you!