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.

sensor gpio

Featured Replies

I have the temperature sensor DS18B20 connected to port 20 of the gpio as w1, if I want to connect another sensor it is as easy as adding a w2 and its port in /boot/bin/orangepiplus2e.bin

[w1_para]
w1_used = 1
gpio = 20

[w2_para]
w2_used = 1
gpio = 10

 

or

 

[w1_para]
w1_used = 1
gpio = 20

gpio = 10

 

So or something else? thanks

Onewire does have limitations on bus capacitance and length.  When using multiple sensors on one interface, it is best to not have stubs, wire to one sensor then the next rather than both from the pi.  You are also more likely to need to power your sensors rather than have them just on the bus.

 

...but the 3.4.x legacy kernel has a limitation - you won't be able to instantiate more than one 1-wire bus without patching and recompiling the kernel.

Linear or star topology, not using parasite power, pull-up resistor value are details that would need to be adjusted for better reliability or even to make things work to start with.

I would recommend reading this application note: https://www.maximintegrated.com/en/app-notes/index.mvp/id/148

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.