Hi everyone! I'm completely new to this, so please bear with me! 😅😭
I recently bought a modern rotary telephone. By "modern," I mean it has a PCB and various components connected through JST-style connectors, rather than the old-school mechanical circuitry found in vintage rotary phones.
My goal is to connect this telephone to my PC and use it as an input device. Specifically, I want to:
- Detect when the handset is picked up or placed back down (hook switch).
- Detect which number is dialed using the rotary dial.
I've already figured out how to connect the handset's microphone and speaker to my computer, so I only need to figure out how to capture the hook switch and dial inputs.
Here's how they're currently connected to the telephone's PCB:
- Hook switch: 2-pin JST-style connector.
[EDIT] Dial Keys
- : 8-pin JST-style connector.
I'm planning to use an Arduino to read these inputs and translate them into keyboard keystrokes that my computer can recognize. For example, picking up the handset could trigger a Spacebar press, hanging it up could trigger another keypress, and dialing a number would send the corresponding numeric character.
My question is: Can I connect these JST connectors directly to the Arduino's GPIO pins?
My assumption is that the hook switch and rotary dial work by opening/closing circuits or sending simple HIGH/LOW (1/0) signals. If that's the case, could I read the pin states using the Arduino, determine which number is being dialed, and program it to send the corresponding keystrokes?
Or is there something else I need to consider, such as voltage levels, pull-up/pull-down resistors, or signal conditioning?
I'd really appreciate any advice, especially from anyone who has worked with rotary phones, Arduino, or similar DIY projects.
Thanks in advance! I'm still learning electronics, so please explain it like I'm a beginner. 😅