09-25-2014 06:36 AM
Ah ok. Did it - thanks.
First problem is solved 😄
Next step is to communicate with the sensor.
I need to send him commands and read the answers.
For example "Write Scratchpad" -> 4E = 1001110
The problem is, I don't know how to send this.
After this command, I should send him the "reading" command I think.
The sensor should send back high and low levels, which represent 1s and 0s.
I have to combine them to a decimal number somehow, to get the temperature.
I made a quick example (which is not working of course 😕 ). I guess, there should be "waiting-times" between the commands.
I just don't know how to get the temperature out of this sensor 😕
09-25-2014
07:09 AM
- last edited on
05-20-2024
03:47 PM
by
Content Cleaner
Did you already download this utility ?
https://www.ni.com/en/support/downloads/tools-network/download.onewire-utilities.html
If not install it and look up for the examples, just type in 1wire in example search at labview.
and don't forget the driver for your device as mentioned in the link
This should help you out
05-09-2015 03:30 AM - edited 05-09-2015 03:30 AM
Hi all
Can i use parasite power mode in myRIO?
Thanks
08-25-2020 04:30 AM
hey Shoura,
hope you are doing well!
Did you find a solution for the DS19B20 temperature sensor, I am facing the same problem and actually the VIs of the oneWire utility doesn't work without licensing and they are not that easy to understand.
Your answer is highly appreciated.