I got Peter's code to work without problems with an ATtiny4313. I use it with a Parallax ping transducer to measure the fluid level, temperature and humidity in the head space of a septic holding tank. I will post that code in a few days.
The humidity output I get from the MaxDetect RHT03 sensor compares very well with my home-type humidity sensor.
I had already made a PCB to use analog temperature and humidity sensors when I realized the ATtiny4313 has no ADC. So I went searching for a one-wire device and quickly found the MaxDetect device and also found many folks had problems getting their software to work. So I went to the BASCOM Forum and found Peter's code that he had only downloaded a day or to before. I did the minor conversions for the ATtiny4313 and my port usage and got the code to work very quickly.
So thank you Peter.
↧