Rotary Dial Disk (Rotary Phone) Password programmed by Arduino Uno.
A 6 Digits Password To Open The Door By A Gear Motor. If The Password Is Wrong The LED Will Blink Sever Times. After Putting The Write Password You Can Power Anything But In This App. A Door Lock Opens.
Why making it.To let the kids use the old rotary phone to do something new.
The RDD has less wires than the original keypad.
The easy of the code.The Code has been Written In Very Simple Way No-one had Done Yet. This Is The Only Code That Applies The RDD In This Way Of Coding.
Easy Code. I Used The Basic Commands To Write The Code.
The Password Can Be Changed.
The Number Of Digits Can Be Changed.
All The Code Has been Written Without Any Timers.
No Libraries Used In The Code.
How does it work.The RDD Has Four Wires As In (Figure 1) Two for Pulses For One Digit Entered (the upper two conductors). And Two As Switch (the lower two conductors) That Close After One Digit's End.
The Four Wires of the RDD Connected To The Yellow Wires As In (Figure 2).as Pulse Pin To Digital Pin 3 The Other To GND Ground. Signal Pin To Digital Pin 7 The Other To 5V Source. The Two Red Wires To The Digit Start Counting.
How Does The Code Work.The Code Is Counting The Pulses Saving It To The First Digit. Then To The Second Digit. And So on.the number of digits makes the password. each password could be entered to do sever things as you program.
The Code Link
https://drive.google.com/file/d/1Cnru_yvQFstpnD39pecOHlIwvB7jmjE1/view
Comments