I used a Rotary Dial Pad instead of ordinary Keypad to select between 10 LEDs and display a number from 0 to 9 on a seven-segment. We can also use it with Arduino.
Parts list:
IC 4017
IC4026
LED 5mm (10pcs)
Common cathode seven segment
Capacitor 100nF (2pcs)
Resistor 1K (9pcs)
Resistor 10K
Resistor 30K
9V Battery with holder / cable
IC socket 16DIP (2pcs)
Rotary Dial pad
Circuit:
The rotary dial pad in my case has 5 wires, however i used 4 of them. the color of wires could be different from one telephone to another, so you need to use continuity tester of your multimeter to distinguish the wires.
Orange and Pink are "normally closed switch", they become open several times depends on the number you dial you release the rotary pad, so the counter IC start to count UP.
Blue and Gray are "normally open switch", they become closed once you rotate the pad clockwise then back to open when you release the rotary pad, i used them to Reset the counter and seven segment to zero each time before you dial a new number.
You can order the PCB from PCBWay:
https://www.pcbway.com/project/shareproject/Using_Rotary_Dial_Pad_instead_of_Keypad_27515a7e.html
Using Arduino:
You need only 2 wires (Orange and Pink) if you want to use the rotary dial pad with Arduino.
Once again the colors of wires could be different in your telephone's rotary.
Parts list:
Arduino UNO
LCD 2X16 with I2C
Rotary Dial pad
Resistor 10K
Code:
Video: