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
  • Hi Abhishek, you will need to implement a 1-wire master using GPIO or you need a I2C to 1-wire bridge. 1-wire is very similar to I2C. I would recommend using GPIO to implement a 1-wire master in software since it would be easier.

    You can find lpc2148 gpio tutorial : www.ocfreaks.com/.../ and I2C basics tutorial : www.ocfreaks.com/.../

    I am planning to do a tutorial on interfacing 1-wire devices with LPC2148 so it helps others who are using LPC2148 :)

    -Regards

Reply
  • Hi Abhishek, you will need to implement a 1-wire master using GPIO or you need a I2C to 1-wire bridge. 1-wire is very similar to I2C. I would recommend using GPIO to implement a 1-wire master in software since it would be easier.

    You can find lpc2148 gpio tutorial : www.ocfreaks.com/.../ and I2C basics tutorial : www.ocfreaks.com/.../

    I am planning to do a tutorial on interfacing 1-wire devices with LPC2148 so it helps others who are using LPC2148 :)

    -Regards

Children