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.
cwilt Senior Member Joined: 20/03/2012 Location: United StatesPosts: 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 KingdomPosts: 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 StatesPosts: 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.