problem with reading temperature from Dallas 1-wire devices

53 views
Skip to first unread message

Tammina.satyamurali bobi

unread,
Feb 25, 2015, 10:57:29 AM2/25/15
to beagl...@googlegroups.com
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

Tammina.satyamurali bobi

unread,
Feb 25, 2015, 12:11:28 PM2/25/15
to beagl...@googlegroups.com
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"

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/In26CZ6URl4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
by   Tammina.Satya Murali
Reply all
Reply to author
Forward
0 new messages