“Protect your passwords with this unique password locker. Once unlocked you can automatically send Website credentials via Bluetooth.
This project came about after playing with a rotary encoder and wondering how it could become the basis for a rotary combination lock.
I started out with a knob with numbers like the rotary combination lock on a safe. What I found was that no matter how much the rotary encoder contacts were debounced, very slow or very fast rotations would cause the code to lose synchronization with the numbers on the dial. I tried various 20 step and 24 step encoders and they all got out of synchronization with the code. I was about to order some absolute encoders when I thought that rather than number the dial, I could display what the code thinks the dial is currently set to on a small OLED screen. This meant that synchronization was no longer an issue. It also meant that the number steps were not restricted to the maximum number on the dial.
The next step was to figure out the code. Simply put, a combination is a number of steps after zero, followed by a number of steps before zero, followed by a number of steps after zero, followed by a number of steps before zero and finally the dial being rotated back to zero. At which time a button is pressed and the combination is compared to the sequence stored in EEPROM.
Once this was working, the next step was to figure out a practical use for it. I remember seeing a Password Pump by Daniel J. Murphy. It seemed like the ideal project.
Since the size of this unit makes the dongle emulating a USB Keyboard approach impracticable, this unit emulates a Bluetooth keyboard instead. By using a ESP32 module that not only incorporates Bluetooth but also Wi-Fi meant that configuration of the username/password table can be done using a standard Internet browser.”