GPIO on NanoPi M2 in Python?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
smartoad
Posts: 6
Joined: Sun Dec 04, 2016 11:27 pm

GPIO on NanoPi M2 in Python?

Post by smartoad »

I have setup an Owncloud server using a NanoPi M2. As it can produce some heat I have a fan on my custom 3D printed case, but it is a bit noisy. I wanted to have a small Python script running that monitors the CPU temp and switches on the fan as needed rather than running all the time.

I have been looking for instructions on using the GPIO pins with the NanoPi M2 but I can't find anything. Are there any tutorials/guides for this?

Cheers! :D
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: GPIO on NanoPi M2 in Python?

Post by Fourdee »

smartoad wrote: I have been looking for instructions on using the GPIO pins with the NanoPi M2 but I can't find anything. Are there any tutorials/guides for this?

Cheers! :D
Not that i'am aware of.

If anyone knows, Peter will, hes probably the best person to ask, has vast knowledge of various boards and GPIO usage:
http://tech.scargill.net/the-friendlyarm-nanopi-neo/
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply