This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to interface RHT03 with cortex M3?

Dear all,

I want to measure humidity by using an humidity sensor RHT03.

It's a digital sensor, and output 40 bits signal response.

but the way it outputs is little bit strange.

MCU send out start signal to RHT03 and RHT03 send response signal to MCU

RHT03 send data to MCU
When RHT03 is sending data to MCU, every bit's transmission begin with low-voltage-level that last 50us, the
following high-voltage-level signal's length decide the bit is "1" or "0".

I don't know how to interface my cortex M3 (st32f107) with this sensor?
What interface should I use?

I wanted to use GPIO. But the sensor interface with the MCU by only one bus (for both ways of transmission: for receiving and sending data).

the datasheet can be found here
www.google.com.vn/url

Parents
  • Maybe SPI?

    An interesting thing - in the summary you write Cortex M3 as if that is important information. Shouldn't it be the actual chip name that is the important information - Cortex M3 doesn't say much about the processor peripherial capabilities so it's not summing up the issues unles your question is related to assembler instructions for the processor core.

Reply
  • Maybe SPI?

    An interesting thing - in the summary you write Cortex M3 as if that is important information. Shouldn't it be the actual chip name that is the important information - Cortex M3 doesn't say much about the processor peripherial capabilities so it's not summing up the issues unles your question is related to assembler instructions for the processor core.

Children