SHT10 Temperature Sensor with Jetson Nano(4GB)

I am using SHT10 Temperature Sensor on Jetson Nano, I have installed the necessary libraries from the official website here. For the sensor integration, I have followed the datasheet. I have connected the power and ground pins to pin no 4 and 6 of the jetson nano, whereas for the data and clock pin I have connected it to pin no 3 and 5 (SDA, SCL).
The following is the python code

from sht_sensor import Sht
import Jetson.GPIO as GPIO
sht = Sht(3, 5)
print('Temperature', sht.read_t())
print('Relative Humidity', sht.read_rh())

The following error is shown:
ShtCommFailure: Command ACK failed on step-1
This would happen if specified pins are not connected to anything, for example, which is the most likely issue here - probably worth double-checking GPIO-line/pin numbering scheme (usually GPIO numbers are NOT the same as physical pin numbers, and their wiring may vary between board revisions) and whether controlling specified pins via /sys/class/gpio can be measured - e.g. lights up the LED connected to the pin/gnd or shows up on the multimeter display.

Can anyone let me know, how to avoid this issue?

The voltage input is 5v

hello Favin77,

please refer to NVIDIA Jetson Nano J41 Header Pinout - JetsonHacks,
you should use the correspond i2c bus to communicate with the device.

Hello, Thank you for the help. I have connected the SHT pins to pin no 3 and 5 on the jetson nano which corresponds to pin data and sck. Still, I am having the same error.

hello Favin77,

could you please gather kernel messages for reference, i.e. $ dmesg --follow

kernel.txt (112.5 KB)

I added the text file having the kernel messages after “dmesg --follow”

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

hello Favin77,

sorry, I don’t see any related failures.
did you perform the scripts before gathering these kernel logs?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.