Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2016, 09:04:38 21:04


Login with username, password and session length


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

Posts: 48

Thank You
-Given: 53
-Receive: 115


« 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
V.I.P
Active Member
*****
Offline Offline

Posts: 136

Thank You
-Given: 282
-Receive: 48

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: 41
-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
V.I.P
Active Member
*****
Offline Offline

Posts: 136

Thank You
-Given: 282
-Receive: 48

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
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