Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 26, 2017, 06:33:52 06:33


Login with username, password and session length


Pages: [1]
Print
Author Topic: DS18B20 and Proteus ISIS  (Read 1579 times)
0 Members and 1 Guest are viewing this topic.
acinonix14
Junior Member
**
Offline Offline

Posts: 53

Thank You
-Given: 63
-Receive: 229


« on: May 20, 2015, 05:35:29 17:35 »

Hi all,

I try find any code to simulate the 1-wire for DS18B20 in Proteus ISIS?

Has anyone try to simulate or test any code?

Thanks,

Posted on: May 20, 2015, 04:30:53 16:30 - Automerged

I have included the code and the ISIS schematic.

The strange thing is that in real life the code works perfectly (I put 2 ds18B20 and returns the values for the 2 of them).
In other side the Proteus always returns 127.937 C
To help all the work is done from readTemp() kai search() functions in main c file.

It needs additional configuration the proteus isis? (I am using the 7.10 SP0)
Logged
towlerg
Active Member
***
Offline Offline

Posts: 141

Thank You
-Given: 294
-Receive: 53

What is this for?


« Reply #1 on: May 21, 2015, 04:29:15 16:29 »

Just my 2cents (I know that a lot of people will disagree) Isis is pretty solid and the 18b20 model has no doubt been used extensively. Under those circumstances it's quite possible that you are using the device outside its spec. Isis has a rigid interpretation of timings and the like. Please no flames, if you disagree that's your prerogative.

George
Logged

Win 7 Ult x86 SP1 on HP6910p
Robi
Newbie
*
Offline Offline

Posts: 20

Thank You
-Given: 46
-Receive: 1


« Reply #2 on: May 22, 2015, 01:33:34 13:33 »

Did both of them get the same rom serial number ? You can edit the component and check for a property that would sound as <ROM Serial Number>. The default value is B8C530. Change one of them to get a different serial number as if they get the same then a conflict will arise.

//Robi// 
Logged
towlerg
Active Member
***
Offline Offline

Posts: 141

Thank You
-Given: 294
-Receive: 53

What is this for?


« Reply #3 on: May 22, 2015, 05:36:09 17:36 »

Robi,

of course you are correct. I changed the serial numbers but still get bad data.

George
Logged

Win 7 Ult x86 SP1 on HP6910p
vbcoder
Senior Member
****
Offline Offline

Posts: 288

Thank You
-Given: 76
-Receive: 319


Nothing is True, Everything is Permitted.


« Reply #4 on: July 09, 2017, 06:21:02 18:21 »

I tried getting decent data from DS18b20 with Proteus and Arduino . It was very bad performance as I get one correct value every 20 to 30 typical (-127 degree) incorrect temperature.

If that's your case, so at least you got a confirmation about it. I double checked the connected pins and no doubt it is a buggy component
Logged

Quote
Education is a progressive discovery of our own ignorance
intel
Senior Member
****
Offline Offline

Posts: 362

Thank You
-Given: 17
-Receive: 1443



« Reply #5 on: July 10, 2017, 12:41:54 12:41 »


I tried getting decent data from DS18b20 with Proteus and Arduino . It was very bad performance as I get one correct value every 20 to 30 typical (-127 degree) incorrect temperature.

If that's your case, so at least you got a confirmation about it. I double checked the connected pins and no doubt it is a buggy component

The following links have useful information. I hope it helps :

https://www.theengineeringprojects.com/2015/11/use-18b20-proteus-isis.html

http://www.hobbytronics.co.uk/ds18b20-arduino

http://bildr.org/2011/07/ds18b20-arduino/


Logged

In life, most genuine mentor is science.
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC