Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

DS18B20 one-wire sensor


raichlebw Dec 1, 2017 04:14 AM

Hi all!

Has anyone used a CR1000 to log a set of DS18B20 one-wire temperature sensors? Any help would be appreciated.

Thanks,


JDavis Dec 1, 2017 03:40 PM

You cannot physically connect them directly. You need to use a 1-Wire to RS232 adapter.

The adapter will have a manual that describes how RS232 commands correspond to 1-Wire commands. You also need to read the manual for the temperature sensor to see what commands you need to use and how the data is formatted. 

For an experienced programming, it would be two full days of work.


hcorvalan Jun 4, 2024 02:46 PM

Hola, tenemos este problema actualmente para medir la temperatura de agua en un sistema para calibrar pluviómetros. Queremos usar el DS18B20 para tal fin y adquirir los datos con un CR1000X.

Lo que se nos ocurrió es utilizar un Arduino para la lectura de los datos del DS18B20, dado que ya existe una biblioteca para eso, y luego enviar por Tx y Rx a niveles TTL por puerto serie desde Arduino al CR1000X.

El String luego parsearlo con la función SPLIT y colocar los valores en una variable para luego procesarlas.

Saludos desde Argentina.


NatalieRogers Dec 27, 2024 01:28 PM

This post is under review.

Log in or register to post/reply in the forum.