TMP36 (LM335) vs DS18B20

The only problem with DS as mentioned before is program size as ur using atmega8.

That's why I mentioned the LM74, it's digital like the DS but has a simple two-wire interface that you could do with about 5 lines of code.

I haven't used one yet, just going on the data sheet but it looks very simple.


Rob