6 6
sgarcia05

Orange Pi PC 1-Wire

Recommended Posts

5 hours ago, mantouboji said:

After upgrade to Ubuntu 18.04,I can’t read my two DS18B20 devices for weeks.

Are you using w1-gpio overlay ? Are you defining the param_w1_pin parameter properly (without it, default is PD14 pin) ?

Share this post


Link to post
Share on other sites
22 hours ago, martinayotte said:

Are you using w1-gpio overlay ? Are you defining the param_w1_pin parameter properly (without it, default is PD14 pin) ?

 

I used its config for a long time. It works very well in 16.04 .

 

overlays=pps-gpio uart1 usbhost0 w1-gpio
param_w1_pin=PA10
#param_w1_pin_int_pullup=1
param_pps_pin=PA7

 

now:

 

11月 17 20:35:03 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 80.d2c000430010 crc fb
11月 17 20:35:03 opione2 kernel: w1_master_driver w1_bus_master1: Family 80 for 80.d2c000430010.fb is not registered.
11月 17 20:35:18 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 80.32c000430010 crc 12
11月 17 20:35:18 opione2 kernel: w1_master_driver w1_bus_master1: Family 80 for 80.32c000430010.12 is not registered.
1

 

 

 

Share this post


Link to post
Share on other sites
53 minutes ago, mantouboji said:

#param_w1_pin_int_pullup=1

Why the pullup is commented out ? Do you have an external one ?

 

53 minutes ago, mantouboji said:

Family 80 for 80.d2c000430010.fb is not registered.

 

This doesn't come from Armbian patches, maybe a bug have been introduced upstream ...

On my side, my DS18B20 is registering properly on my OPi_2E under 4.19.2 :

 

[   20.168937] w1_master_driver w1_bus_master1: Attaching one wire slave 28.000005a2fac5 crc ea

 

Share this post


Link to post
Share on other sites
16 hours ago, martinayotte said:

Why the pullup is commented out ? Do you have an external one ?

 

whether commented or not, no any difference. 

 

I use a 5.1K pullup external.

 

16 hours ago, martinayotte said:

 

This doesn't come from Armbian patches, maybe a bug have been introduced upstream ...

On my side, my DS18B20 is registering properly on my OPi_2E under 4.19.2 :

 


[   20.168937] w1_master_driver w1_bus_master1: Attaching one wire slave 28.000005a2fac5 crc ea

 

 

 

Welcome to ARMBIAN 5.61 user-built Ubuntu 18.04.1 LTS 4.14.72-sunxi

 

Share this post


Link to post
Share on other sites

Hi,

 

would anyone have a recommendation for an I2C temperature sensor working with OrangePi Zero?
I thought of I2C because it should be pretty straightforward, but if you ever have another setup that works flawlessly, I'm all ears.

Share this post


Link to post
Share on other sites

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...
6 6