MAX31820 1-wire Temperature Sensor - Raspberry Pi Forums


hello!
connected 1-wire temperature sensor slave raspberry pi.
sensor max31820parmcr+

sensor compatible usual suspects ds18x20 , detected in raspbian (latest kernel , updates installed)

unfortunately file w1_slave not contain current temperature thr value 85000:

root@pi:/sys/bus/w1/devices/28-000007ddfb88# cat w1_slave
50 05 4b 46 7f ff 0c 10 1c : crc=1c yes
50 05 4b 46 7f ff 0c 10 1c t=85000

according datasheet it's required send conversion command device.

https://datasheets.maximintegrated.com/ ... x31820.pdf
page 6
"the device powers in low-power idle state. to
initiate temperature measurement , a-to-d conversion,
master must issue convert t [44h] command. "

wonder how send command device.
there need patch kernel drivers support device?

best regards,
bernhard

what have got in /boot/config.txt?

you'll need

code: select all

dtoverlay=w1-gpio,pullup=on
because device uses parasitic power.


raspberrypi



Comments