Hi,

> -----Original Message-----
> From: Per Jessen <[email protected]>
> Sent: 24 November 2019 16:07
> To: [email protected]
> Subject: [opensuse-arm] any hints for getting ds1820s to work with my nano pi
> neo air?
>
> I measure temperature with DS1820 hooked up to microcontrollers (PIC) or via
> serial interface to regular PCs, now I was hoping to use a nanopi neo air, 
> but I am
> not getting anywhere.
>
> I have the modules loaded - w1-therm, wire, w1-gpio - but no devices turn up 
> in
> /sys/bus/w1/devices.  I'm connecting the DS1820s to GPIO11 - I guess I need to
> modify the DTB to make this work?

There are some information about 1-wire here: 
https://en.opensuse.org/openSUSE:1-wire

If you want to use 1-wire on a regular gpio, with w1-gpio module, you need to 
update your device-tree to setup it properly.
Then, you can check /sys/bus/w1/devices folder for any devices found on the 
1-wire bus.

If you do not update your DTB, w1-gpio will not know which gpio to use.

Cheers,
Guillaume

>
>
>
>
> --
> Per Jessen, Zürich (8.5°C)
> Member, openSUSE Heroes.
>
> --
> To unsubscribe, e-mail: [email protected]
> To contact the owner, e-mail: [email protected]

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
N�����r��y隊Z)z{.�櫛맲��r��z�^�ˬz��N�(�֜��^�       ޭ隊Z)z{.�櫛�0�����Ǩ�

Reply via email to