Jump to content

Recommended Posts

Posted

Hi all,

Orange Pi One

Armbian_20.02.0-rc1_Orangepione_bionic_current_5.4.14

Enable  w1-gpio

/boot/ambianEnv.txt:

overlays=w1-gpio

param_w1_pin=PD14

param_w1_pin_int_pullup=1

 

 dmesg | grep -E 'w1|wire'

[    5.271798] Driver for 1-wire Dallas network protocol.

[    5.304021] gpio-110 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file

 

What and where else needs to be done?

Posted
4 hours ago, briks said:

[    5.304021] gpio-110 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file

 

What and where else needs to be done?

This is only a warning ...

 

Do you have something like that (change the 28-000003ebdd28 folder according to your device) :

cat /sys/bus/w1/devices/28-000003ebdd28/w1_slave 
3b 01 4b 46 7f ff 05 10 54 : crc=54 YES
3b 01 4b 46 7f ff 05 10 54 t=19687

 

Posted
40 minutes ago, briks said:

No,

Check around the "w1" lines in "dmesg", maybe there some hints there.

Also, I'm personally always using external pullups, it is more efficient then internal one.

Here is what I've in "dmesg" :

[    8.566391] Driver for 1-wire Dallas network protocol.
[    8.571927] gpio-111 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    8.599634] w1_master_driver w1_bus_master1: Attaching one wire slave 28.000003ebdd28 crc 82

 

Posted

in "dmesg" only two lines, as I wrote before

 

i use external pullup
param_w1_pin_int_pullup = 1 and param_w1_pin_int_pullup = 0 do not affect the result

Posted

device worker, worked with arduino.

 

It stopped working when I connected to the Orange Pi One.
It turned out not a working connector. The connector is fixed, and it worked.

 

 dmesg | grep -E 'w1|wire'
[    6.301655] Driver for 1-wire Dallas network protocol.
[    6.326682] gpio-20 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    6.356384] w1_master_driver w1_bus_master1: Attaching one wire slave 28.0305977931ed crc 40

 

Thank you all for participating.

Posted
Am 6.2.2020 um 13:47 schrieb briks:

used

PA20(pin37), PA10(35). PD14(12). PC4(16), PC7(18). PA21(26)


no result

Hi briks,
please can you tell me where you got the informations to map the Pxn(n) nunbers to the pysical pins?

Regards
wollik
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines