Hi all. I try SingleOneWire example from help files of Flowcode.
In Proteus I see that under 0C displayng incorrect temperature.
if -0,5C see -1C,
if -1 see -2.-5,
if -1,5C see -2C
if -2C see -3,-5C
if -2,5C see -3C
if -3C see -4,-5C
I thing there is wrong calculation.
How can I calculating right minus temperature?
Help for DS1820- calculating minus temperature
-
- Posts: 71
- Joined: Mon Dec 01, 2014 1:38 pm
- Location: Bulgaria
- Has thanked: 17 times
- Been thanked: 12 times
- Contact:
Help for DS1820- calculating minus temperature
- Attachments
-
- 1 wire.rar
- (17.71 KiB) Downloaded 196 times
-
- SingleOneWire.fcfx
- (8.52 KiB) Downloaded 178 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Help for DS1820- calculating minus temperature
Hi maharadga,
I posted a flowchart here which displays temperatures below zero as well as above.
It's for the DS18B20.
You will be able to see how I implemented it so you can do the same for your flowchart.
Martin
I posted a flowchart here which displays temperatures below zero as well as above.
It's for the DS18B20.
You will be able to see how I implemented it so you can do the same for your flowchart.
Martin
Martin
-
- Posts: 71
- Joined: Mon Dec 01, 2014 1:38 pm
- Location: Bulgaria
- Has thanked: 17 times
- Been thanked: 12 times
- Contact:
Re: Help for DS1820- calculating minus temperature
Hi, medelec35
I resolve problem before read your post. Upload my example.
It works fine and display correct temperature.
Thank you for the reply.
I resolve problem before read your post. Upload my example.
It works fine and display correct temperature.
Thank you for the reply.
- Attachments
-
- DS1820 Thermometer -55_+125C.fcf
- (11 KiB) Downloaded 250 times