Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange Pi One 1-Wire

Featured Replies

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?

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

 

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

 

  • Author

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

  • Author

pin PD14 (110) - physical pin 12 - there is no activity, port polling does not occur

 

I control a digital oscilloscope

I use PA20,  PIN37. 

 

overlays=w1-gpio usbhost0
param_w1_pin=PA20

  • Author

used

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


no result

  • Author

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.

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
 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.