Is it possible to use a cheap temperature sensor such as the DHT-22 with the Raspberry Pi? I have found Arduino drivers for this and many similar things, and would be comfortable porting the code to the Raspberry Pi, but my understanding is that because it requires such specific timings that having a dedicated microcontroller without a full OS makes it much simpler.
Without the ability to disable interrupts (a'la
sei(), in AVRs), is the level of timing required even possible?
I am attempting to build a controller for a climate control system for aging, for instance, cheese. It would need to be connected to a couple of relays and a temperature and humidity sensor, and this seems like it would be an extremely cost effective way to do it.
Specifically — has anyone seen or written drivers for 1-wire type temperature sensors that run on the 'pi?