Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 09:32 19 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : DHT22 possible?

Author Message
cwilt
Senior Member

Joined: 20/03/2012
Location: United States
Posts: 147
Posted: 05:32pm 16 Jul 2013
Copy link to clipboard 
Print this post

I was thinking about creating a driver for DHT22 but after reading the datasheet I don't think its possible.

Since the communications are not typical 1 wire then I would have to measure the high and low times in microseconds to read data. MMbasic clock is only in milliseconds.
Any suggestions, or is it just not possible?
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 05:41pm 16 Jul 2013
Copy link to clipboard 
Print this post

That would be difficult indeed.
Maybe an easy workaround would be go get it connected to a cheap intermediate receiver, something like a PIC10, which will send then data through a normal UART TX line (emulated). That shouldn't be a challenge.

http://rittle.org

--------------
 
cwilt
Senior Member

Joined: 20/03/2012
Location: United States
Posts: 147
Posted: 07:34pm 16 Jul 2013
Copy link to clipboard 
Print this post

Of course I could put a pic in the middle but thats the easy way out.

 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024