04-17-2013 01:48 PM
Hello,
I have gone through differents posts on the forum, but still did not found the answer for my specific DAQ.
I have a 6221 USB model and would like to read a 1-wire DS18B20 sensor. Is there any code available for it ?
Please help... ;(
Best regards,
04-18-2013 04:17 AM
Hi,
You are using USB 6221 so you can only use Digital Input Signals for TTL digital logic levels. DS18B20 is a 1-Wire digital temperature sensor, you have to read the digital temperature from the 1 wire protocol of the DS18B20.
Have a look at: Reading 1-Wire DS18B20 and DS18S20 Via a Serial or USB Adapter
Using cRIO or sbRIO
The following should work as a generic example for implementing 1-wire protocol on the CompactRIO or Single-BoardRIO platforms.
For more informations please go to : 1-Wire Interface for cRIO and sbRIO - DS18B20 or DS18S20
04-18-2013 07:32 AM
I also thought so. Thanks a lot.
04-18-2013 07:35 AM
you're welcome 🙂
01-31-2017 11:35 PM
Hi, I know this is three years old but the link for the FPGA code is broken. Do you happen to have a copy of the project ?
02-01-2017 02:15 AM - edited 02-01-2017 02:16 AM
Hi zmod,
it seems the code is lost in the "great reorganization", which happened in the community in the last months.
I already notified the moderators to help you to find that code example.
(You might search for "DS18B20" in the Code section of the community to find an article on "FPGA 1-wire interface". But even this article references missing code…)
02-01-2017 07:08 AM
Thanks. I spent a few hours last night trying to find it and searching without much luck.
02-03-2017 01:21 PM
Hi zmod_cz,
I apologize for the delay. The document with the example code you are referencing is a personal document that did not get migrated over. I'm currently working on getting the code for you.
I appreciate your patience and hope to get back to you soon.
Best Regards,
Kristi Martinez
NI Community Support
05-11-2017 10:28 AM
Hi zmod_cz,
I apologize for the delay. We received notification from the author to send you the document. The author mentioned he will be posting the document back to the community in a couple of weeks. Please look for a private message from me with the attachment.
Best Regards,
Kristi Martinez
NI Community Support
08-19-2018 09:16 AM
Hello Kristi,
Is it possible for you to share the VI for reading DS18B20 using sbRIO?
Thanks a lot
Gaurav