Coder Social home page Coder Social logo

Comments (11)

scottsweb avatar scottsweb commented on September 6, 2024 1

Would this explain why I am unable to power down the fan? Running the example service the LED is behaving as expected but the fan remains on at all times.

from fanshim-python.

Gadgetoid avatar Gadgetoid commented on September 6, 2024 1

It would indeed!

Update: We're doing what we can to help with the RPi.GPIO fixes, but ultimately they're completely out of our control. I'm in no position to put a timeline on things but I would, at a complete and total guess, expect an update by the end of next week.

from fanshim-python.

scottsweb avatar scottsweb commented on September 6, 2024 1

@thallada I had the same problem with two shims. I think it must have been an issue with the Pi header being slightly off shape or something. The solution was to add a tiny drop of solder on pin 12 ... you can test it with a jumper wire first to make a good connection between the shim and the Pi.

from fanshim-python.

mtowara avatar mtowara commented on September 6, 2024

And the answer is: The button is configured wrong, or there has been a hardware revision.
fanshim = FanShim(pin_button=3) works

from fanshim-python.

Gadgetoid avatar Gadgetoid commented on September 6, 2024

If you're using a Pi 4, this is because RPi.GPIO currently does not support setting pull up/down states on pins, so the button doesn't have the correct pull resistor set.

The button is additionally connected to BCM3 only to bring the Pi out of a low power state, and this workaround would conflict with any i2c devices you might use. If you're okay with that- then using BCM3 is fine- since it's part of the i2c bus it actually has a hardware pull-up resistor already in place, so RPi.GPIO not working doesn't effect it.

from fanshim-python.

mtowara avatar mtowara commented on September 6, 2024

Ok, then this issue will propably fix itself in a few days time once RPi.GPIO is fixed :)

from fanshim-python.

mtowara avatar mtowara commented on September 6, 2024

@scottsweb fyi, the fan part always worked fine for me. (as did the led)

from fanshim-python.

scottsweb avatar scottsweb commented on September 6, 2024

Thanks for the updates.

Interesting that your fan control worked @mtowara - I wonder what is different for me there. I am using the pip3 package... although I tried just the standard pip package too without much luck. I also couldn't get it installed from this repo on buster lite, Pi 4.

from fanshim-python.

scottsweb avatar scottsweb commented on September 6, 2024

For those following this issue you can now install the beta of RPi.GPIO:

pip3 install --upgrade --pre rpi.gpio

Unfortuantely it doesn't solve my particular issue which seems to be a lack of connection being made by the push fit header and pin 12.

from fanshim-python.

wildestpixel avatar wildestpixel commented on September 6, 2024

The beta of rpi.GPIO fixes this for me on 2 Pi 4’s

from fanshim-python.

thallada avatar thallada commented on September 6, 2024

I have the beta installed but the fan still never powers down.

from fanshim-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.