Skip to content
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

Opeartion without READY PIN #2

Open
Harvie opened this issue May 4, 2019 · 2 comments
Open

Opeartion without READY PIN #2

Harvie opened this issue May 4, 2019 · 2 comments

Comments

@Harvie
Copy link

Harvie commented May 4, 2019

I think it's not needed to use READY PIN, this can be implemented by using PULSE PIN alone.

Start counting pulses once first pulse is received.
Stop counting pulses and output the number if there was no pulse for predefined amount of time.
There are telephone standarts which define pulse durations and delays, so this can be reliably determined without need for second helping pin.

Even the phone line itself does not use this ready pin. They only use two wires for everything (dialing, ringing and voice). So there's no reason to use 3 wires to connect the dialer to arduino...

Can you please add such mode?

@Harvie
Copy link
Author

Harvie commented May 5, 2019

I've writter similar library from scratch: https://github.com/Harvie/RotaryDial
It uses only 2 wires, but it's interrupt based, so you can only have one dial at time...

@markfickett
Copy link
Owner

Nice work with the interrupt-based version! I added a link from my README so folks can pick whichever version suits their needs.

I probably won't make changes to this library, since it's pretty old / I haven't been using it in a long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants