Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 26, 2024, 08:45:02 20:45


Login with username, password and session length


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

Posts: 53

Thank You
-Given: 71
-Receive: 253


« on: May 20, 2015, 04:35:29 16: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
Senior Member
****
Offline Offline

Posts: 263

Thank You
-Given: 474
-Receive: 104

What is this for?


« Reply #1 on: May 21, 2015, 03:29:15 15: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 x64 SP1 on HP2570p
Robi
Newbie
*
Offline Offline

Posts: 20

Thank You
-Given: 54
-Receive: 1


« Reply #2 on: May 22, 2015, 12:33:34 12: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
Senior Member
****
Offline Offline

Posts: 263

Thank You
-Given: 474
-Receive: 104

What is this for?


« Reply #3 on: May 22, 2015, 04:36:09 16:36 »

Robi,

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

George
Logged

Win 7 Ult x64 SP1 on HP2570p
vbcoder
Senior Member
****
Offline Offline

Posts: 284

Thank You
-Given: 95
-Receive: 322


Nothing is True, Everything is Permitted.


« Reply #4 on: July 09, 2017, 05:21:02 17: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
Hero Member
*****
Offline Offline

Posts: 520

Thank You
-Given: 53
-Receive: 2142



« Reply #5 on: July 10, 2017, 11:41:54 11: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