markfickett/Rotary-Dial

Opeartion without READY PIN

Opened this issue · 2 comments

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?

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...

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.