DS18S20 in high resolution mode (16 Bit)

Support-Forum für Deutschsprachige, die in ihrer Muttersprache schreiben möchten.

Moderator: Benj

kaufparkangucker
Posts: 1
Joined: Sat Jul 18, 2015 5:26 pm
Contact:

DS18S20 in high resolution mode (16 Bit)

Postby kaufparkangucker » Sun Jul 19, 2015 11:00 am

Hi Forum Community,

I use Flowcode 5 since some years for small, simple projects. I use a lot of DS18S20 - temperature sensors in some Projects. For a new project I need the high 16 Bit resolution of the DS18S20.

I try the example made from Benj in post number 13: viewtopic.php?f=29&t=8368&p=26668&hilit=ds18s20+12+bit#p26668
I attached this flowchart to this posting.

It works, but it works not good.
In high resolution mode, the DS18S20 should produce a multible of 0.0625:
x.0625
x.125
x.1875
x.25
x.3125
x.375
x.4375
x.5
x.5625
x.625
x.6875
x.75
x.8125
x.875
x.9375
(x+1).0

What I get, when I warm up the sensor very slowly:
31.000000
31.062500
31.125000
31.187500
31.250000
31.312500
31.375000
31.437500
Jump to 32.000000
32.000000
32.062500
32.125000
32.187500
32.250000
32.312500
32.375000
32.437500
Jump to 33.000000

The Jump need a lot of time, cause i warm up the sensor realy realy slowly. It is enough time to show the correct values between x.437500 and jump to next higher degree (x+1).000000 but it is not.

I do not finde the problem in benj's code, maybe someone can help me.

best Kauf
Attachments
DS18S20 Test v1 (Benj).fcf
Benj's DS18S20
(15 KiB) Downloaded 664 times