New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fan doesn't stop at all! #40
Comments
|
Might be worth disabling the service and seeing if you can control the fan directly with Python: Then run Python: And type: import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.OUT)
GPIO.output(18, 0) # Should turn fan off
GPIO.output(18, 1) # Should turn fan onAlternatively you can save the latter into a |
|
There is no effect of this solution but can I ask you where do you know the pin number of the fan which is pin 12 (BCM18)? Can you give me some link, if you have seen it somewhere, please!? |
|
You can find pin assignments documented on my website here - https://pinout.xyz/pinout/fan_shim This not working suggests you might have an intermittent/poor connection between your Fan SHIM and Pi. It might be worth double-checking it's mounted securely since the friction-fit header isn't perfect. The best way to try this is by running something like: And then adjusting the Fan SHIM gently until the GPIO connection is made and the fan stops.
|
|
Thank you so much! |
Hi, there, I have bad luck with my FanShim cause it doesn't stop though the off-threshold and keeps spinning all the time. Have you any ideas how I can solve this issue?
Note: I am new to programming in Python!
The text was updated successfully, but these errors were encountered: