Giter Site home page Giter Site logo

GPIO default on HIGH about sipdoorbell HOT 10 CLOSED

Kunstflieger avatar Kunstflieger commented on September 26, 2024
GPIO default on HIGH

from sipdoorbell.

Comments (10)

pfichtner avatar pfichtner commented on September 26, 2024

For which GPIO pin? This one?

"name": "switch_gpiopin",
"label": "GPIO Pin switched HIGH when button press detected"

from sipdoorbell.

pfichtner avatar pfichtner commented on September 26, 2024

Please give https://github.com/pfichtner/SipDoorbell/releases/tag/0.1.2 a try

from sipdoorbell.

Kunstflieger avatar Kunstflieger commented on September 26, 2024

Thanks for this fast support!
I mean this one:
"label": "GPIO Pin to connect a push button which triggers a call"

If I enter Pin e.g. "2" than it starts to ring until GPIO 2 is connected to ground (always closed). I want to use start ringing if GPIO 2 is connected to groun (always open).

from sipdoorbell.

pfichtner avatar pfichtner commented on September 26, 2024

Reopened since the fix doesn't solve the problem, will fix later

from sipdoorbell.

pfichtner avatar pfichtner commented on September 26, 2024

In my configuration I connected the push button to the digital pin and VCC, will have a look if I'll support your setup as well and how.

from sipdoorbell.

pfichtner avatar pfichtner commented on September 26, 2024

@Kunstflieger so which setup do you use?
https://kalitut.com/raspberrypi-gpio-pull-up-pull-down-resistor/
I am using variant 4 so the pin get's high when the switch gets closed. If I understand you right your schematic is variant 3? So you want to have support for this variant, right?

from sipdoorbell.

pfichtner avatar pfichtner commented on September 26, 2024

@Kunstflieger Would you also have the need for support for the internal pullup?

from sipdoorbell.

Kunstflieger avatar Kunstflieger commented on September 26, 2024

I didn´t used a Pull-UP resistance. Just GPIO --> GND. So it makes sense to us a Pull-UP resistor and I will test it today.

from sipdoorbell.

pfichtner avatar pfichtner commented on September 26, 2024

@Kunstflieger I added support for pullup and pullup-internal as well.
Please download and flash firmware.bin of https://github.com/pfichtner/SipDoorbell/actions/runs/5870078571

Now you can configure the input mode

Mode Description
PULLUP Initiate call if input gets low, no internal pullup resistor
PULLUP (internal) Initiate call if input gets low, internal pullup resistor
PULLDOWN Initiate call if input gets high

Haven't tried the image on my own, yet

from sipdoorbell.

pfichtner avatar pfichtner commented on September 26, 2024

Unfortunately no response from OP @Kunstflieger: Will close it without the knowledge if the PR fixes OP's problem or not

from sipdoorbell.

Related Issues (6)

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.