labview >> 1-wire temperature in LabView

by james_t_dk_home » Mon, 29 Nov 2004 20:40:09 GMT

Hi<br><br>I'm trying to write a driver for 1-wire (www.ibutton.com) to LabView. <br>For starters I didn't have any contact at all! But now I can read the uniqe ID from temperature sensors connected to both my USB and my RS232 adapter.<br><br>And then the fun stops. <br>I can not communicate with the temperature chips (DS1920 & DS1822) I can't even get the IsTemperatureContainer to reply with a true.<br><br>Does anyone have the time to review my code and maybe suggest changes?<br><br>You can request a free samlpe at www.ibutton.com I recomend getting a DS1920 and a DS9490B for testing purposes, order sampels from here: http://www.maxim-ic.com/samplescart.cfm<br><br>You need to have the OWAPI installed (http://db.maxim-ic.com/ibutton/example/)......<br>But if you know a better way or can use one of the other API's please let me know. I just need to read the temperature, how it's done is not important (except it has to be done with LabView).<br><br>Please help, this is very urgent.<br><br>J;-)

labview >> 1-wire temperature in LabView

by briancam » Fri, 09 Jun 2006 00:10:08 GMT


I am trying to do the same with DS18S20.
I plan on using a DS2480 to convert 1-Wire to RS232.
 

I need to use simple ASCII commands which I plan to write a Automated test program in LabVIEW.
Should I get HA7E is a RS232 to 1-Wire interface? or can HA2 - RS232 1-Wire Host Adapter do the same function?
I have a DS1820 I need to use the CRC algorithm Specified by Dallas and
perform the following Tests:
Read 64 bit ROM of DS18S20, Resultant byte from CRC algorithm must match
the eight (last) byte of ROM.
Read 72 bit Scratchpad of DS18S20, Resultant byte from CRC algorithm must
match the ninth (last) byte of Scratchpad.
Next, I have to:
TH byte is downloaded from E2 memory to scratchpad. TH byte in scratchpad
is read.
TL byte is downloaded from E2 memory to scratchpad. TL byte in scratchpad
is read.
Finally, I need to read Temperature, which is read via data in
bytes 0,1,6 & 7 of the Scratchpad.
Can I accomplish this by MANUALLY typing the commands over the RS-232 Comm
Port from a PC?????
 
If anyone has any comments or am I taking the correct path? your help appreciated.
Thanks

Similar Threads

1. problems running Temperature & Vol.vi - Student Version 7.1, no activity on temperature

Hi
 
Please attach the vi or tell us where we can find it.
 
Amiram

2. Insane object at BDHP+256D8 in ".vi" {graphics}(0X80):wire segment(wire)

3. Connecting two error out wires to one error in wire

4. How to set PCR temperature profile in LabVIEW?

5. How do I CONTROL temperature with LABVIEW

6. How to read mainboard temperature into LabVIEW?

7. I need to control a Ransco temperature chamber with LabVIEW

       I need to
control a Ransco temperature chamber with LabVIEW.  The temperature chamber requires four BCD digits
plus a ? /+ bit and some control lines.  I have a piece of hardware attached to my PC
called LabJack.  LabJack has 16 digital
input/outputs, 8 analog inputs and 2 analog outputs.  What I would like to do is control the
temperature chamber with LabVIEW using the LabJack as an interface.  Has anyone in the group done this or something
close to it before?  Also has anyone used
LabVIEW to control a LabJack for any purpose? 
I would be interested in looking at what you did and what drivers and VIs you used.



 



Thanks,



Gary

8. mmr k20? labview temperature reading