Operation

Make sure everything works before installing it.

Unplug the Trinket from USB and plug in the 12V power supply and then be sure it can accurately detect a knock, unlock on command, and record new knocks, as described below.

If it doesn't behave, see the "Troubleshooting" section for what might be going wrong.

Startup:
  1. The Trinket's green power LED will light up.
  2. The Trinket's red LED will light up.
  3. The solenoid lock will click open twice. (First really quickly, the second time for about a second or two.)
  4. The Trinket's red LED will turn off and the lock will close.
When the red light goes out and the lock closes, it's now listening for a knock and is ready to go.

Operation:
The default secret knock is the classic Shave And A Haircut. To change it, see "recording" below.
  1. The red LED will blink when it senses a knock. (It should also sense if you lightly tap the piezo with your finger.)
  2. If the wrong sequence if knocks (or taps) is detected the red LED will flicker briefly.
  3. If the correct sequence is detected the red LED will light and the lock solenoid will retract for a couple seconds.
Recording a new secret knock:
  1. Press the record button. The red LED will light and the piezo will play a short tone to let you know its listening for a new knock. (Note: This button won't work if it senses a knock in the last couple of seconds.)
  2. (If you change your mind, press the button again and the red light will go off, and it will play a different tone.)
  3. Kock your new knock pattern. The red light will blink off when it hears a knock.
  4. When you're done, wait a second or two for it to register. It will then playback the knock pattern by both blinking the red LED and beeping the piezo.
  5. This is now saved as a new knock and it will be remembered even if it's powered off.
  6. If you don't like the knock or you made a mistake, press the button again to record a different pattern.
Now that you're sure that it works, it's time to install it.
This guide was first published on Oct 31, 2013. It was last updated on Oct 31, 2013. This page (Operation) was last updated on May 31, 2020.