Page 1 of 1

NAnoPi K2 linux GPIO layout?

Posted: Thu May 31, 2018 6:58 am
by remis

I'd like to connect button LED ... to GPIO. I d'ont have the gpio unix name.
For example we can see it in the array for Neo board : ''linux GPio''
I dont see this information in :
Thus I don"t know how to use direct commands like :

echo "in" > /sys/class/gpio/gpioXXX/direction

Other solution : use the library : ... edirect=no
But K2 seem not to be supported: ... 4b3516fd75

The question is simple : how to have gpio number/position information? I dont see it in schematic.

My initial aim is to use the power key button to halt K2 board without any display.

Thanks for your help

Re: NAnoPi K2 linux GPIO layout?

Posted: Sun Sep 23, 2018 9:27 pm
by JimG
I had the same problem. Here is the pin layout I came up with:

nano_pi_k2-pinout.jpg (81.34 KiB) Viewed 286 times