Any tutorial to learn about the 1 wire protocol with the DTH-11?


 i'm looking guide/tutorial how use 1-wire interface arduino without libraries, can lead me 1 uses dht-11 temperature , humidity sensor?
other sensors i'd prefer dth-11 because have it.

the datasheet shows timing, , dht libraries use that. that's all. want know ?

the data signal open collector signal. arduino makes low time, , after dht11 generates number of pulses. libraries check how long pulse , decide if '0' or '1'.
when 40 bits received (5 bytes), 2 bytes humidity, next 2 bytes temperature , last byte checksum.


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Any tutorial to learn about the 1 wire protocol with the DTH-11?


arduino

Comments