simpleacc post at 2016-6-9 16:20:48

[FAN] GPIO Pin

Hello,

I am new in this world and need some help :)
I have an Orange PI Plus 2 and bought a CPU fan (2 pins - 5V)

I connected it into 5V pin but it is very scandalous jeje. Also, I connected into 3.3V but still doing some "noise".
My question is... If I connect the fan into GPIO Pin (3V), can I lower it to 1V for example?

https://i.iinfo.cz/images/399/orange-pi-plus-5.png

Which is the correct pin for this?

Thank you in advance .
(I did not find anything... Is so hard find OPI doc.)

mariuszb post at 2016-6-9 16:37:28

Using port You can only switch on/off this fan
eg. (extra

(could be powered from 3V3 also)

simpleacc post at 2016-6-9 16:50:44

mariuszb replied at 2016-6-9 16:37
Using port You can only switch on/off this fan
eg. (extra



Wow! Great!
Thank you so much.
This leads to my second question. How can I switch this por on/off ussing armbian? Is the same command line for all distro?

Thank you again ^^

mariuszb post at 2016-6-9 19:39:40

http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=1539&extra=page%3D1

simpleacc post at 2016-6-10 02:24:22

mariuszb replied at 2016-6-9 19:39
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=1539&extra=page%3D1

Hmmm... I can see this: https://github.com/zhaolei/WiringOP
But... how can I do a "simple switch"? Just to turn off/on a Pin. Any special command? For example, if I want turn off GPIO.21, how can I do it?
Sorry for this newbie questions...

mariuszb post at 2016-6-10 15:04:25

Edited by mariuszb at 2016-6-10 15:05

However, you need to read about ports (https://github.com/zhaolei/WiringOP&http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=1539&extra=page%3D1
You can see also:
http://www.itcooky.com/?p=4023

page: [1]
View full version: [FAN] GPIO Pin