OneWire Temperature Display

General discussion on mikroBasic for dsPIC30/33 and PIC24.
Author
Message
NUFAN
Posts: 65
Joined: 08 Dec 2009 20:15

Re: OneWire Temperature Display

#16 Post by NUFAN » 22 May 2010 22:34

Program looks ok. Check your hardware if you connected properly. What value of pullup resistor are you using? Have you got +5V to DQ pin?

mousepad
Posts: 66
Joined: 04 Jan 2008 04:31

Re: OneWire Temperature Display

#17 Post by mousepad » 23 May 2010 07:36

I got 3.27 V to DQ pin My development board is Mikroelektronica LV-24-33 on board Pull up resistors is 10K

Then I gave externally +5V to Ds1820 Vdd pin but same results.


Thanks

mousepad
Posts: 66
Joined: 04 Jan 2008 04:31

Re: OneWire Temperature Display

#18 Post by mousepad » 02 Jun 2010 17:01

Please can somebody explain me what are the difference between DS1820 ,DS18B20 ,DS18S20

Thanks

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: OneWire Temperature Display

#19 Post by tihomir.losic » 03 Jun 2010 07:39

Hello,

please, follow these links:
DS18S20 datasheet: http://datasheets.maxim-ic.com/en/ds/DS18S20.pdf
DS18B20 datasheet: http://datasheets.maxim-ic.com/en/ds/DS18B20.pdf
You can make a comparison between the two temperature sensors.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

NUFAN
Posts: 65
Joined: 08 Dec 2009 20:15

Re: OneWire Temperature Display

#20 Post by NUFAN » 03 Jun 2010 14:20

DS1820 and DS18S20 are the same sensor, which have a 9-bit resolution while DS18B20 has adjustable resolution from 9 to 12-bit.

zoomtronic
Posts: 3
Joined: 20 Nov 2010 09:38

Re: OneWire Temperature Display

#21 Post by zoomtronic » 01 Aug 2011 17:39

one question , which line determines temperature refresh interval?
Thanks

Post Reply

Return to “mikroBasic for dsPIC30/33 and PIC24 General”