Hello Dennis,

yes, the DS2438 is a analog input. I made a PCB with all components. Based 
on this:

[image: picturemessage_io2zuabe.mcz.png]


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?

I use this devicetree:
BB-W1-P9.12-00A0.dts
/*
 * Copyright (C) 2015 Robert Nelson <[email protected]>
 *
 * Virtual cape for onewire on connector pin P9.12
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
/dts-v1/;
/plugin/;

#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/am33xx.h>

/ {
        compatible = "ti,beaglebone", "ti,beaglebone-black", 
"ti,beaglebone-green";

        /* identification */
        part-number = "BB-W1-P9.12";
        version = "00A0";

        /* state the resources this cape uses */
        exclusive-use =
                /* the pin header uses */
                "P9.12";

        fragment@0 {
                target = <&am33xx_pinmux>;
                __overlay__ {

                        dallas_w1_pins: pinmux_dallas_w1_pins {
                                pinctrl-single,pins = <
                                        BONE_P9_12 0x37
                                >;
                        };
                };
        };

        fragment@1 {
                target-path="/";
                __overlay__ {

                        onewire {
                                status = "okay";
                                pinctrl-names = "default";
                                pinctrl-0 = <&dallas_w1_pins>;

                                compatible = "w1-gpio";
                                gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
                        };
                };
        };
};

So it is not possible to read the analog value??



-- 
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/1223d533-461e-4668-9585-6fc70e8842de%40googlegroups.com.

Reply via email to