AMcTools Forum 
  HomeHelpSearchLogin  
 
Pages: 1
Send Topic Print
DS18b20 (Read 12972 times)
Gif
YaBB Newbies
*
Offline

I Love YaBB 2!

Posts: 12
CzechRepublic
Gender: male
DS18b20
01/05/10 at 21:25:44
 
If you want test something unfinished, you can try this component.
It should emulate thermometer ds18b20, in project use:
Xt _ds18b20(0 0 0 0) PA0 PA0
Yes, it use four parameters, first three is now ignored, last is verbose level (0=nothing,1=commands,2=also bits)
Also you must use twice the same pin!!!
Now it understand only basic commands, doesn't know anything about scratchpad and return temperature from vmlab (from control panel).

I put it here now, because I don't know how much time I will have to finish it.
Back to top
 
  IP Logged
moderator
YaBB Administrator
*****
Offline

I love forums, don't
you?

Posts: 308
AMcTools (Spain)
Gender: male
Re: DS18b20
Reply #1 - 01/06/10 at 09:17:22
 
I have given a try to your cell, but I get the Win32 error 14001 when loading.

This seems to be an esoteric error related to some built-in "manifest" resource in your DLL, though not very sure... (I use XP).

Is it possible to direct your MS compiler to remove such manifest/xml stuff?

Back to top
 
 
WWW   IP Logged
Gif
YaBB Newbies
*
Offline

I Love YaBB 2!

Posts: 12
CzechRepublic
Gender: male
Re: DS18b20
Reply #2 - 01/06/10 at 11:03:06
 
Ok, I try, but I think that this is problem that with vs2008 probably goes new version of "redistributable" dlls (msvcrt and so), and not sure if I have it linked staticaly.
I have also XP.
Back to top
 
 
  IP Logged
Gif
YaBB Newbies
*
Offline

I Love YaBB 2!

Posts: 12
CzechRepublic
Gender: male
Re: DS18b20
Reply #3 - 01/06/10 at 21:09:20
 
This is staticaly linked.
Back to top
 
  IP Logged
moderator
YaBB Administrator
*****
Offline

I love forums, don't
you?

Posts: 308
AMcTools (Spain)
Gender: male
Re: DS18b20
Reply #4 - 01/07/10 at 09:54:20
 
OK, now it loads fine.

Just I see a undetermined signal, I guess it needs some configuration...

Please, once you have fully coded the component, consider to add the "info" stuff in the resource file, in order to be visible by the new command 'Browse Libs' (available in next upgrade)

See post in this section.
Back to top
 
 
WWW   IP Logged
Gif
YaBB Newbies
*
Offline

I Love YaBB 2!

Posts: 12
CzechRepublic
Gender: male
Re: DS18b20
Reply #5 - 01/23/10 at 15:00:33
 
Please, what do you mean by "undetermined signal"?

Is it that because the ds18b20 starts in hi-impedance and one-wire need some pull-up resistor?
Back to top
 
 
  IP Logged
moderator
YaBB Administrator
*****
Offline

I love forums, don't
you?

Posts: 308
AMcTools (Spain)
Gender: male
Re: DS18b20
Reply #6 - 01/25/10 at 21:02:18
 
Yeah,  probably...

I made just a quick test... (never used such part).
Back to top
 
 
WWW   IP Logged
Evgeniy
YaBB Newbies
*
Offline

AVR & Dance

Posts: 4
Moscow, Russia
Gender: male
Re: DS18b20
Reply #7 - 05/20/10 at 10:53:30
 
[size=8]I tried to use the component in this way
X2 _ds18b20(0 0 0 1) node2 node2
(there is also additional shematic between node 2 and AVR)
, but VMLAB just couldn't start the project, saying:
"Loading user component DS18B20.DLL
Corrupted DLL: reason=1"
I used the 2-nd version of file (from the link at 4-th post here). With the frst one it doesn't just load.[/size]

UPD: Decided. My copy of VMLAB was not correctly and fully updated. Now it's OK. I'm going to debug the CRC computing function in my project with this =)
THANK YOU Gif for the component! =) And thank you moderator for VMLAB =)
Back to top
 
« Last Edit: 05/20/10 at 18:35:55 by Evgeniy »  
440234235   IP Logged
cerzer
YaBB Newbies
*
Offline

I Love YaBB 2!

Posts: 1

Re: DS18b20
Reply #8 - 11/07/11 at 06:54:31
 
thanks gif.
Back to top
 
 

[url=http://www.xn--r3ce0ab1b.com/]ผลบอล[/url]-[url=http://www.sbobetsbobet.com/]sbobet[/url]-[url=http://www.xn--r3ce0ab1b.com/analyse_list.php]วิเคราะห์บอล[/url]
  IP Logged
Pages: 1
Send Topic Print