Page 1 of 1

1-wire not available on NanoPi NEO Air

Posted: Sun Jul 30, 2017 8:25 pm
by stanislaw.pak
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.

Re: 1-wire not available on NanoPi NEO Air

Posted: Wed Aug 16, 2017 7:50 pm
by thomaspfeiffer
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).