Hello everyone,
I am currently looking datasheet of Sensirion SHTC3 sensor. However, I am confused about the information provided on page 8 of the datasheet.
There are four commands
- Wakeup command
- Measurement command
- Read out command
- Sleep command
seri_s_a0003561073_1-2291167.pdf (654.4 KB)
Do we need to send all four commands in sequence?
Or we can only use the the measurements command to read temperature
Spend some time studying the data sheet, which has lots of useful information. For example, there is this nice section on sleep and wakeup:
2 Likes
So, i think the correct sequence is as follows:
- Wakeup command
- Measurement command
- Delay
- Read out command
- Sleep command
Repeat from 1 to 5
Correct me if i am thinking in wrong way
I don't have sensor available but i am interested understand basics working of this sensor
I2C_START ()
I2C_WRITE (0x70 + 0) Address + Write
I2C_WRITE (0x3517) Wakeup command
I2C_STOP ()
I2C_START ()
I2C_WRITE (0x70 + 0)
I2C_WRITE (0x7880) Measurement command
I2C_STOP ()
I2C_START ()
I2C_ WRITE(0x70 + 1) Adress+ READ
Disable clock straching
Read 16 Bit temperature
Read 16 Bit humidity
I2C_STOP ()
When you get your sensor, consider using the Arduino SHTC3 library. The examples would be a good place to start.
system
Closed
7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.