On Sat, 4 Jan 2020 01:30:00 -0800 (PST), in
gmane.comp.hardware.beagleboard.user Fohnbit
<[email protected]> wrote:
>I hope this is working. The Beaglebone detect the "DS18S20Z+" and the
>"DS2438".
>And of course I have to calculate the humidity from the anlog input.
>
>But the "DS2438" should have a temp sensor and anlog input ... but how I
>get this info?
>
Have you read
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwj7humkzermAhVCCM0KHaK6AUQQFjAAegQIARAC&url=https%3A%2F%2Fdatasheets.maximintegrated.com%2Fen%2Fds%2FDS2438.pdf&usg=AOvVaw3xRPJfUrpNMrQUWNfWRcXA
(Look at page 23 for a command sequence for temp and ADC read -- NOTE: that
page assumes only one DS device is on the bus since it uses the SKIP ROM
command; if you have more than one device on the bus, you'll need to send
the correct MATCH ROM command for the desired device)
The rest of the document shows the format for the binary data you get
out of the registers. {In comparison to the 18B20, the temperature
resolution is different, so the hex representation is shifted leftward]
--
Dennis L Bieber
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/otn11fp82n3npjqqqoqmqg22kef2ktb8pn%404ax.com.