Power & Source of Big Ideas

1-wire not available on NanoPi NEO Air

Moderators: chensy, FATechsupport

I have puchased NanoPi NEO Air boards recently and I did notice that the one-wire bus drivers (w1_gpio for example) are not provided out of the box.
I tried to load the module using command:
modprobe w1-gpio

but it resulted in following error message:
modprobe: FATAL: Module w1-gpio not found in directory /lib/modules/4.11.2

Apparently there is just limited number of modules available and w1-gpio is not amongst them.

Do you have any ideas how I can install and enable the w1 support on NEO Air boards? Any help will be greatly appreciated since I dearly need to use DS18B20 temperature sensor and I cannot substitute it for other chip in this project.
Did you also execute this command?

Code: Select all

modprobe w1-gpio-board gpio=203

As soon as the 1-wire bus works, you might run into some issues with the DS18B20 (see details here).

Who is online

In total there are 35 users online :: 0 registered, 0 hidden and 35 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 35 guests