StashCan V2.0

What seemed impossibly ambitious to me when I started this project has become a reality. A programmable combination lock, hidden in the bottom of a faux soda can, with a sequential puzzle lid that can only be opened when first the correct code is entered into the combination lock. I give you… my “StashCan 2.0”.

I faced many challenges on this project not the least of which was learning how to make a combination lock. But also making it compact enough to sit in the bottom of the can, allowing the lock combination code to be changed by the user and ensuring the device was not (easily) crackable were all top of my priorities.

Of course, I previously released the sequential puzzle lid on my original StashCan so I did not have to re-invent that although I have made some small changes to it. And, the can itself is quite similar to the original design. I did need to add a can liner to protect the lock mechanism which traverses the distance between the lock at the bottom and the lid at the top. So bottom line… you basically need to reprint all new parts for the StashCan2 if you previously printed my Can Safe (aka StashCan1).

I am super proud of this design… it was ambitious for me and now I feel it sets a new standard for my own design expectations. For sure I will do more locking designs now that I have a good understanding of how to make them work.

Documenting this has been a major undertaking and I am leaning heavily on my video about it. The following documentation is supplemental to the video.

Overview

The StashCan2 is comprised of 24 parts groups into the following 3 assemblies.

  1. The Lid Assembly which when opened reveals the contents of the StashCan2 but can only be opened when the correct lock combination is entered and the sequential logic of the lid is executed.
  2. The Main Body Assembly to which the Lid Assembly is screwed onto the top and the Lock Assembly is screwed onto the bottom.
  3. The Lock Assembly is screwed onto the bottom of the Main Body Assembly and then the threads are locked from inside the can to prevent the Lock Assembly from being removed.

The sequential puzzle lid design is a bit superfluous given the combination lock on the bottom but since I had already designed the top (for my original StashCan) I have left that in the design. While it does not add any meaningful additional security, I feel it is a) fun and b) adds an additional layer of complication to opening the can which may be enough to confuse and deter would-be-safe crackers.

Detailed Description

Lid

As illustrated in the accompanying image, the Lid Assembly is made up of the Lid (the can top) itself and 7 additional components that form a locking mechanism which requires the user to first depress the Push Plate and then while holding that down, rotate the Tab 90° clockwise. The Lid locking mechanism controls two fingers which extend out on both sides of the assembly into the inside of the can and prevent the Lid from being removed unless the locking mechanism is unlocked first.

When the can is unlocked the Lid Assembly can be removed by rotating the entire assembly counterclockwise 360°. However, in addition to the Lid locking mechanism the bottom combination lock must also be unlocked before the Lid Assembly can be unscrewed.

The Lock Latch located in the Main Body Assembly extends up into the threads of the Lid Assembly and the top of the can (Main Body Assembly) interfering with the threads and therefore locking the Lid Assembly onto the Main Body Assembly.

Main Body

As previously noted the Main Body Assembly holds the top and bottom of the entire assembly and also creates the cavity for storing the user’s contents. To prevent the user’s contents from interfering with the locking mechanism a Liner is used to protect the Lock Latch movement. The Lock Latch must move freely based on gravity in order to operate the StashCan2.

The Liner also protects a Thread Lock component which is manually controlled from inside the StashCan2. When pushed down the Thread Lock locks the Lock Assembly (the bottom of the StashCan2) into the threads of the Main Body Assembly. If the user wants to remove the Lock Assembly to service it or change the lock combination, they must first lift up the Thread Lock from inside the StashCan2 and then the bottom Lock Assembly can be unscrewed from the Main Body Assembly.

Lock

The Lock Assembly is the heart of the StashCan2 and is worthy of considerable documentation but I am leaning heavily on my video to explain it all – the following is supplemental.

I will try to explain how the lock system works in the subsequent section and here just cover the component descriptions.

The Lock Case forms the housing of the lock and is essentially the bottom of the can. Of the remaining 11 parts of the Lock Assembly all but one (the Lock Dial) sit inside the Lock Case. The Lock Dial is assembled into the Lock Assembly from the underside of the Lock Case.

When fully assembled, the Lock Dial and the Lock Retainers are held together by the Spring C Clip and sandwich between them the 3 Lock Disks and their corresponding Key Disks (code disk). Three ring-springs sit on the Lock Case frame and correspond to each of the Lock Disks. The springs act as a detent to slow the Lock Disk rotation and index them on the numbers (0 through 9).

By rotating the key disks (A and B) relative to their Lock Disks the user can change the combination lock codes (1 and 2 respectively). The third lock code is sent by changing the Lock Dial rotation relative to Lock Disk C. See the below for more information about setting the lock combination.

Section View

The following cutaway view is intended to help you see the relative position of all the components once the StashCan2 is fully assembled.

Unlocking the Lock

The lock operates with a 3-digit code. Each of the three digits is a number from 0-9. The three digits are entered in the following sequence…

  1. Invert the StashCan2. To operate the lock, the StashCan2 must be inverted (i.e. the bottom of the can must be up). This is a security feature preventing someone from “testing” the lock and feeling the “tumblers”.
  2. Rotate the Lock Dial clockwise at least 2 full rotations (to reset the lock) and then stop on the first number of the combination.
  3. Rotate the Lock Dial counterclockwise nine (9) digits (i.e. rotate counterclockwise until just before the number you started on) and then continue to your number. This usually means rotating to the second instance of your second number. But if the number you are on (after rotating 9 digits) is your next number then you do not turn another full rotation. This means that if your second number is 1 less than your first number, you go to the first instance of it, otherwise go to the second instance.
  4. Rotate the Lock Dial clockwise to the third number of the combination and stop.
  5. Now flip the can over so that the top of the can is up (the combination lock end is now down). If the combination code was entered correctly the Lock Latch can now slide down and the Lid Assembly is no longer locked by the combination lock.
  6. You must now use the Lid’s sequential puzzle sequence to unlock the lid and unscrew it.

Due to the space limitations of the underside of the soda can, the lock dial is relatively difficult to turn with your fingers. To address this issue I added slots in the centre of the lock dial so that you can use a coin, flat screwdriver or something similar to turn the dial if you are unable to turn it by hand.

And, as with all combination locks, if you overshoot a number even by a small amount, you will have to reset the lock and start over. Ensuring the lock disks are lightly lubricated helps to ensure smooth operation.

Setting the Combination Code

In order to set or change the lock combination you must first open the StashCan, slide up the internal Thread Lock, and then unscrew the Lock Assembly from the Main Body.

Once you have removed the Lock Assembly from the Main Body, you must then remove the C Clip and lift off the Lock Retainer. Once those two parts are removed the lock assembly is free to separate. All the disks are unique so you can identify the order in which they must be re-assembled.

The top disk (A) sets the first code of the combination lock. The second disk (B) sets the second code and the third disk (C) determines the final code. Therefore it is essential that all the disks are returned to the lock assembly in that order. And, I will say it again later, always inspect that your code is working as you planned before re-assembling the StashCan2. If you assemble it and the code does not work, you have to cut it open to gain access – I have had to do that twice.

Each of the Lock Disks has a series of numbered holes in them which correspond to the lock combination you want to set. Rotating the Key Disk so that the Key on each Key Disk protrudes through the hole with the desired corresponding number sets the lock combination. I hope the included diagram is enough to explain it.

I have simplified the instructions for setting Lock Disk C for clarity. But in fact, when setting the Lock Dial and its corresponding Key into Lock Disk C you must first pass the Lock Dial through the bottom of the can (the “Lock Case”). You will recall that I noted above in the discussion regarding the exploded diagrams, the Lock Dial installs from outside the Lock Case.

When your code is set and you have reassembled the Lock Assembly, you can then test your code by trying to unlock the lock. You must do that with the Lock Assembly fully assembled (but not installed in the Main Body). If the code you enter is correct, the gaps in the Lock Disks will align as shown in the image below. This corresponds to “unlocked”. If they do not align disassemble the lock again and check you keys as described above.

When setting your lock combination avoid using 2 digits in a row. For example, 545 is ok, but 455 is not.

EXTREMELY IMPORTANT: After setting the lock combination, test the lock in the Lock Housing before installing it into the Main Body. If the code you think you entered does not work, there is no mechanism to open the lock. You will have two choices if that happens… a) test all 1000 possible combinations, or b) cut the Main Body in half with a saw to salvage all the other parts. I have had to do that …twice! Yes, I am a slow learner sometimes.

Printing

I think it is appropriate to say, this is a relatively advanced project (from my perspective).

Material: I choose to use PETG for its durability and flexibility.

My Setup:
Nozzle = 0.4mm

My Settings:
Layer height = 0.2mm
Line width = 0.4mm
Wall count = 4 (1.6mm)
Infill = 40%
Ironing = ON

Support:
Designed to print without support – any required support is incorporated into the designs.

Print Orientation: As shown in the screenshot(s).

These are all the Lid Assembly parts…

These are the Mid Assembly parts…

These are the Lock Assembly parts…

Assembly Notes

Assembly of the StashCan2 is relatively complex and I have not yet documented it other than through my video. Please refer to my video for assembly instructions and notes.

My plan is to slowly add relevant assembly information here.

Springs

The 3 circular springs are identical. They have a section on each side that is slightly shorter than the rest of the spring. Therefore the springs are printed upside down. When installing the springs ensure that they are installed with the

Lubrication

Lubrication of the moving parts is critical for the lock and lock latch. However, too much lubricant is also problematic. When lubricating parts use a good quality synthetic lubricant and then gently wipe off the lubricant. This will leave enough lubricant behind to be effective. Excessive lubricant will cause problems as well.

A very small film of synthetic lubricant on the outside edges of the Lock Disks will ensure smooth lock operation. Without lubricant the lock may be “jumpy” and unlocking it more difficult or impossible.

The Lock Latch must move freely between the Liner and the Can itself. A thin layer of synthetic lubricant coating the entire lock latch is advisable.

Where to Get My STL Files

Thangs.com

I am now posting all of my new designs on Thangs.com and plan to continue to do so for the foreseeable future. Some of my older designs may not have been migrated over yet so if they are not available on Thangs.com please check on Thingiverse.

Use, Licensing, Comments and Feedback

My primary distribution site for my design files is Thangs.com. Thangs.com is, in my opinion, leading the way in promoting designers and competition amongst designers which in turn fuels the growth of high-quality 3d printable designs for the benefit of our entire community. However, as a result, some of my designs are only available for free for 1 week from when first posted, so please download them when you see a new file available that you are interested in. Also, please like and save to help me with the competitions.

I do not permit the use of my designs for commercial purposes (i.e. you can not sell my design(s) or products printed from my design(s)) without first acquiring a commercial license from me. On Thangs.com I offer membership accounts for access to all my design files as well as a membership for commercial licensing which allows subscribers to sell printed products using my designs.

I welcome comments and feedback as we as requests for customization of designs. I will do my best to accommodate those requests.


Comments

2 responses to “StashCan V2.0”

  1. Steve Garrett Avatar
    Steve Garrett

    What a great design! Thank you for sharing this product of many hours of thought and work. Mine worked 100% after i got all the parts printed on my Prusa MK3. I had to make several tries to get the lock disks right for the code I wanted. I also had to work with putting the lid together in the correct order. I never could quite see to order of things in the videos for V1 or V2 but I got it right after a while.
    Again, thank you for a very nice project. Locks are my hobby and I can enjoy your efforts with this design.
    If you ever need another lock project, just let me know. I would like to see a model f one of the Gougler padlock. I have several and could send you a couple to study if you like.

    1. Paul Brock Avatar
      Paul Brock

      Hi Steve, thanks again (I just messaged you via youtube) for the kind remarks. I would be very interested to learn more about what a Gougler padlock is and what makes it unique. Can you send me some info or links to check out? From that I can probably decide if it is doable for me or not. I am already started on a larger version of the lock I made for the StashCan to make a safe. I am thinking a small 3d printable “toy” safe that could be screwed into a drawer or cabinet. I think it would be a fun project for kids and also a useable safe (although not fireproof or capable of withstanding bruteforce). I am also trying to work out a simple pushbutton style lock mechanism for a high speed safe or lock. So much to do and so little time. Thank you for the encouragement.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.