problem with reading temperature from Dallas 1-wire devices

Hi,

I am trying to read temperature from Dallas 1-wire temperature device “DS18B20”. I have loaded the device tree. enabled it in the “/sys/devices/bone_capemgr.*/slots” file. But when tried to read the temperature from the DS18B20 it always reads as ZERO degrees only. I have DEBIAN operating system installed on my Beagle Bone Black.

I get the following on giving “cat w1_slave”

00 00 00 00 00 00 00 00 00 : crc=00 YES
00 00 00 00 00 00 00 00 00 t=0

I am attaching the screen shot which shows the list of commands that i have given to read the temperature.

Please help.

Thanks in advance

From Satya Murali.

Temp_read_Problem.png

I have connected my device to P9_22 and checked for “dmesg | grep w1” but it doesnot result in any thing. and I also could not find and devices listed under “/sys/bus/w1/devices/” except “w1_bus_master”