Hi!
I want to read temp with a ds18b20 sensor. I try with a few tutorial without luck.
Any tips for read this sensor?
I’m using Debian 8.6 2016-11-06 4GB SD SeeedStudio IoT (kernel 4.4.30-ti-r64)
regards,
Sebastián
Hi!
I want to read temp with a ds18b20 sensor. I try with a few tutorial without luck.
Any tips for read this sensor?
I’m using Debian 8.6 2016-11-06 4GB SD SeeedStudio IoT (kernel 4.4.30-ti-r64)
regards,
Sebastián
It’s there a way to use mraa python for this??
It’s connected to P9_22 with a pullup 4.7K resistor.
I try with this module from this tutorial:
/dts-v1/;
/plugin/;
/ {
compatible = “ti,beaglebone”, “ti,beaglebone-black”;
part-number = “BB-W1”;
version = “00A0”;
/* state the resources this cape uses */
exclusive-use =
/* the pin header uses */
"P9.22",
/* the hardware IP uses */
"gpio0_2";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
dallas_w1_pins: pinmux_dallas_w1_pins {
pinctrl-single,pins = < 0x150 0x37 >;
};
};
};
fragment@1 {
target = <&ocp>;
__overlay__ {
onewire@0 {
compatible = "w1-gpio";
pinctrl-names = "default";
pinctrl-0 = <&dallas_w1_pins>;
status = "okay";
gpios = <&gpio1 2 0>;
};
};
};
};
I notice that the bone_capemgr from /sys/devices/bone_capemgr.9/slots to /sys/devices/platform/bone_capemgr/slots
I can’t found the w1 kernel module at /sys/bus/w1/devices/DEVICE_ID/w1_slave
Hello,
Although trivial, you may want to update to a newer image and kernel. There is more support for updated images and kernels (at least current support). Once you have your new image and updated kernel, let me know. Maybe you can show me what tutorials you are using.
Seth
P.S. You may need to use config-pin on the newer images w/ the updated kernels. I can guide you through this idea or you can find a link for it on github.com or another site. Let me know what you think of these ideas.
Oh and…
Hello again. Please do not use MRAA or UPM modules. From my perspective, they are out of reach for the BBB and variations. MRAA and UPM modules do not have great support for getting up and running on the BBB lines of boards.
Seth
P.S. If you get MRAA and UPM modules running well, let me know. I will help out and pitch in. I have been unsuccessful w/ MRAA and UPM so far.