But there could of course be other causes. Version 02 it is tested for negative temperature. Davide Gironi November 18, at 9: Purtroppo la porta seriale mi indica un valore che varia dai 2. Andrew I June 22, at 5: Oscar August 25, at 9:
|Date Added:||10 March 2015|
|File Size:||18.56 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Davide Gironi November 11, at 1: My arduino UNO not work.
Just keep in mind that changing fuse settings may block your micro. I appreciate your job sir.
Oscar August 25, at 2: Have you try to compile it with avrgcc? Try the DS18B20 on other platform, like Arduino, just to make shure the sensor is working. Davide Gironi January 9, at The read and write byte functions of this libarry needs precise timing, Interrupt is disabled to prevent timing errors.
Hello, the most obvious that comes into my mind it’s timing, if you take a look to the ds18b20 datasheet you can read the timing procedures to make this IC works. Have you check the bus with a logical analyzer to see if the signal has the right timing?
Davide Gironi November 17, at Davide Gironi August 25, at 8: Davide Gironi January 7, at 6: Anyway, try at first without any interrupt, try just a simple code.
Ho realizzato lo schema indicato sostituendo l’Atmega 8 con Atmega 32, ed utilizzando al posto di un DS18b20 un DS My mcu is 16Mhz clock. Davide Gironi November 18, at 9: Hi, library doesn’t work when using parasite mode.
How to interface DS18B20 with AVR ATmega8 | eXtreme Electronics
Cristian Copcea February 25, at Hello, it should, but i’ve never try it with negative temperatures. Davide Gironi September 14, at The version dds1820 it is not tested against negative temperatures too.
Hello, this library should work at 1Mhz. Davide Gironi March 16, at 8: My mcu is 16Mhz, what do I need to change in delay.
I see this is a common issue for the Arduino libs as well. LeMK January 25, at 1: Bernie Cabero April 21, at 4: But there could of course be other causes.
How to interface DS18B20 with AVR ATmega8
I researched a bit and added these lines before start temp conversion: Davide Gironi September 15, at 6: Mikey Sklar July 5, at 8: I’ve never test it with you crystal freq I’m sorry.
I put a not about this. Davide Gironi September 13, at 8: