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 do i learn interfacing LPC2148 to DHT22

I'm a beginner in ARM programming how do interface DHT22(temperature and humidity sensor) with LPC2148 I need help with flow chart and code if possible thank you uys in advance

Parents
  • OK, so they both use open-drain drivers, and support slave addressing.

    I don't think that's sufficient to say that they are "similar" - certainly not "very similar"

    There are also very significant differences:

    I2C requires a clock line - 1-Wire does not;

    The Slave addressing is optional for 1-Wire - not on I2C;

    The signalling protocol is entirely different.

    And, of course, the topic of this thread - the DHT22 - is not 1-Wire anyhow.

Reply
  • OK, so they both use open-drain drivers, and support slave addressing.

    I don't think that's sufficient to say that they are "similar" - certainly not "very similar"

    There are also very significant differences:

    I2C requires a clock line - 1-Wire does not;

    The Slave addressing is optional for 1-Wire - not on I2C;

    The signalling protocol is entirely different.

    And, of course, the topic of this thread - the DHT22 - is not 1-Wire anyhow.

Children