Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Temperature Sensor DS18B20 (with cable) connected to U3

  • Please log in to reply
3 replies to this topic

#1 TizianoPalumbo

  • Members
  • 2 posts

Posted 04 October 2012 - 02:17 AM


I bought this temperature sensor. https://www.sparkfun.../products/11050

I can connect it directly to the U3? I would like to use java to program it. Java libraries that I downloaded on this site can work?
I also found these libraries, http://www.maximinte...e/1wire_api.cfm but I don't know if they can help me.


#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 04 October 2012 - 05:50 AM

You can connect that sensor directly to the LabJack. Check out our 1-wire app note: http://labjack.com/s...pp-notes/1-wire

#3 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 04 October 2012 - 07:57 AM

If you are not experienced with Java and 1-wire communication, I suggest you consider an easier temperature sensor. An analog output silicon-type sensor would be the easiest.

See the following app note:


I doubt that the Java libraries you found will be useful. More likely, you want to look at 2 things:

- Our Java wrapper for the UD driver.
- The 1-wire app note.

#4 TizianoPalumbo

  • Members
  • 2 posts

Posted 06 October 2012 - 01:54 AM

The important thing is that with the java library, I can read the temperature of the sensor. It will be very difficult to create the java class that is able to read the sensor, but thank you for the help.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users