He forgot the combination so I built him a robot. Safe Cracking Robot - Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ค. 2024
  • My brother-in-law has a safe that he cannot open. I may not be a locksmith, or have burglar skills, but I'm good at engineering so I'm going to build Levy a robotic auto dialer to crack the combination to the safe.
    Visit bit.ly/DigiKeyByteSized for the best selection of electronic components.
    Digi-Key Blog: www.digikey.com/en/maker/proj...
    Github Project: github.com/bytesizedengineeri...
    New videos are uploaded as soon as I finish them!
    Chapters:
    00:00 - A moment of genius
    02:53 - The plan and a 3D model
    04:46 - Selecting a motor
    05:29 - Replacing an unknown connector
    08:58 - Why do I need stall detection?
    10:25 - Connecting the motor driver to the microcontroller
    14:23 - Finally making progress!
    15:58 - Assembling an adjustable chuck
    18:14 - Testing the auto dialer on a cheap safe
    19:52 - Hard coding the combination
    21:06 - Byte Sized Boot Camp Announcement
    If you're like me you have creative ideas and sometimes they get trapped inside your mind. Here on Byte Sized Engineering I make project videos that get you excited about unleashing your inner maker and making those creative ideas a reality!
    You shouldn’t need an engineering degree to make your ideas a reality. I suffered through years of engineering school so you don’t have to. I know how it feels to want to make something I’m excited and passionate about, but also feel overwhelmed by not knowing where to start. I’ve unlocked the secret to getting past this feeling of being stuck. In my videos I show you how to take complex problems and break them down into smaller, more manageable “byte sized” pieces.
    If you want my recommendation on what you should watch, I put together this playlist for you. • New Here? Watch My 10 ...
    You should also subscribe to byte sized, and consider become a supporting member through Patreon or TH-cam memberships. Supporting members get access to behind the scenes content, free project build guides, discord community server, early release videos, and monthly hangouts. Thanks for taking the time to watch this video, I look forward to seeing you next time!
    Subscribe: th-cam.com/users/bytesized?sub...
    Instagram: / bytesizedzach
    TH-cam Memberships: / @bytesizedengineering
    Patreon: / bytesized
    Byte sized merchandise: www.bytesizedengineering.com/...
    If you're interested in what tools I use for byte sized projects, please visit:
    www.bytesizedengineering.com/...
  • บันเทิง

ความคิดเห็น • 314

  • @kingofcastlechaos
    @kingofcastlechaos ปีที่แล้ว +68

    I usually give myself a treat when I get something right. This guy is GENIUS, since he gives himself a treat for each wrong answer. I am nearly 60yrs old and cannot believe I have been doing this wrong the whole time.

    • @uncleswell
      @uncleswell ปีที่แล้ว +9

      Give yourself a treat

    • @OccamsPlasmaGun
      @OccamsPlasmaGun ปีที่แล้ว +3

      Whoa. I'm in for a while lot of treats!

    • @cookiezillaevan
      @cookiezillaevan ปีที่แล้ว

      Einstein and Tesla both said that they were geniuses because they saw failure as just a solution for a different question

    • @andreschoen9180
      @andreschoen9180 ปีที่แล้ว

      No one saw Tesla's failures. Except Tesla which he examined in his minds eye. He stated that 99% of his prototypes were mentally visualised. Only when he saw it working via his extreamely rare gift of biological AR. Would he build a physical model.
      It is said, most worked as predicted 1st time.

  • @romianm
    @romianm ปีที่แล้ว +109

    As a mechanical engineer I'm cringing but also loving the process and ingenuity. Well done on all fronts. Hope this goes viral.

    • @hardcodedsoftware4212
      @hardcodedsoftware4212 ปีที่แล้ว +3

      As a locksmith, same!

    • @colinstevens8968
      @colinstevens8968 ปีที่แล้ว +1

      How about doing it the old fashioned way. With a doctor's stethoscope?

    • @warrensteel9954
      @warrensteel9954 ปีที่แล้ว

      Electronics Technologist and Locksmith. Same.

  • @spaideri
    @spaideri ปีที่แล้ว +25

    Just a small hint. If you give some heat to the connector "case" when you are trying to remove it, it will come off really easily. For heat you could use a heat gun or like a hair dryer. You don't need too much of heat to melt the solder.....just that the plastic just starts to slightly soften.

  • @jasonbailey9139
    @jasonbailey9139 ปีที่แล้ว +17

    That was the best plea for Patreon patronage that I’ve seen. It worked. I immediately went over and signed up to support you. Might even clean out some contributions I’m making to creators I don’t really follow any more and swing those dollars your way.

    • @NunoLeitaoTheEpiq
      @NunoLeitaoTheEpiq ปีที่แล้ว

      I would surely patreon him if this would come out...

  • @elliotmarks06
    @elliotmarks06 ปีที่แล้ว +23

    I saw the LockPickingLawyer safe cracker video a while ago, and have been interested in the build process of a DIY alternative ever since! Great video, can't wait for part 2!

    • @dl5244
      @dl5244 ปีที่แล้ว

      I hope he posts to github too

    • @benjurqunov
      @benjurqunov ปีที่แล้ว

      But why doesn't Lockpicking Lawyer defend homosexual special rights ?

    • @Kyharra
      @Kyharra ปีที่แล้ว

      @@benjurqunovwut

    • @GilmerJohn
      @GilmerJohn ปีที่แล้ว

      I saw the same video. The LPL said the "robot" depended upon the sloppiness of the dial settings. (E.g.: the number 80 will also "work" for 79 and 81; it might work for 78 and 82.)

  • @johnbborg1015
    @johnbborg1015 ปีที่แล้ว +1

    You are doing everything exactly how i wouldve tackled this project. i loved every single second of it and it was even educational. im excited for part 2!

  • @AdvancedTinkering
    @AdvancedTinkering ปีที่แล้ว +2

    Such a cool project! Can't wait to see the second part!

  • @dl5244
    @dl5244 ปีที่แล้ว +11

    Consider using a (heat) pressed threaded insert (PEM) on the 3D printed parts to reduce the chance of movement from stress!

  • @MikesOffice
    @MikesOffice ปีที่แล้ว +6

    Love the storytelling in this!!

  • @synfpv007
    @synfpv007 ปีที่แล้ว +2

    looking forward to part 2!

  • @WabbitHole
    @WabbitHole ปีที่แล้ว +1

    Have you calculated how much time it will take for your auto-dialer to try a million different combinations? Odds are you won’t need to try all one million, but.
    Retired R&D, EE enjoying this. So many things can go wrong!
    I bought a expensive safe with a electronic keypad that took 4-digit number to open. Yep, I forgot my combo. I had bought it from a local company about 4 years earlier. After much begging and proving I bought it, the owner talked me through a secret way to sequence through numbers that opened it. Then, I just had to set the 4-digit number as you would normally.
    Makes one wonder if a tumbler type has any such secret way.

  • @JonathanRansom
    @JonathanRansom ปีที่แล้ว +4

    So much suspense. I want to see that safe opened!

  • @napsguns
    @napsguns ปีที่แล้ว +1

    Awesome video can't wait to see the next part. If it takes a few seconds to test each combination, it will take you a few weeks/months at most to find it. Doable if you're willing to wait!

  • @micah6635
    @micah6635 ปีที่แล้ว +2

    It's funny I came across this video because in my math class we are leaning about calculating all possible combinations. Like I was literally watching my online class videos on permutations at the same time I clicked on this.

  • @JamiesHackShack
    @JamiesHackShack ปีที่แล้ว

    Wow awesome stuff. Can't wait to see the next steps here!

  • @austindale3129
    @austindale3129 ปีที่แล้ว +5

    Love this so much! I actually just bought a house that as a built in gun safe and the old owner doesn’t know the combo (honestly the biggest selling point for me, the realtor thought I was nuts because I spent like 30 minutes looking at the safe and about 20 min on the rest of the property)😂. The door is locked open and I could easily open the back up but what would the fun be in that. Ever challenge is an opportunity to learn something new and its rare that one this exciting comes along! as a mechanical engineer turned electrical engineer I am trying to come up with the coolest way to put all my knowledge to the test and what you are doing is almost exactly what I had in mind. I’m probably the least experienced in programming side and I have always found that process to be the most maddening and rewarding when I figure something out. so now’s a good time dig in and work through the issues. Can’t wait to start pulling out my hair. Super exciting I will stay tuned to your project!

    • @35manning
      @35manning ปีที่แล้ว +1

      For kicks, you should try cracking the safe the manual way.

    • @dave4882
      @dave4882 11 หลายเดือนก่อน

      be aware that the robot he is building will spin the dial so much, that it may ruin the dial by wearing it out.

  • @FishersShop
    @FishersShop ปีที่แล้ว +1

    Man this is so cool! Haha! I love it! Amazing work, Zach

  • @akiko009
    @akiko009 ปีที่แล้ว +1

    Great stuff. For removing connectors like that I use low-melt-point solder. Mix it into the existing joints and it'll remain liquid long enough to remove easily.

  • @michelnault6414
    @michelnault6414 ปีที่แล้ว +1

    i work on cnc s all my life i can relate to your frustration and joy nice video !!

  • @RedRingOfDead
    @RedRingOfDead ปีที่แล้ว

    Looking forward to part 2

  • @conorstewart2214
    @conorstewart2214 ปีที่แล้ว +4

    One potential problem might be the jaws loosening or slipping off over time, a potential fix would be to have a set screw for the lead screw as well, so you tighten the jaws onto the dial and then tighten the set screw to give it a bit more resistance to loosening off. It might not be a problem that becomes immediately obvious, but if the safe cracker is running for hours it might become an issue then, and you don’t want it to fail hours into trying to crack the safe, you may have to start from the beginning again.
    Another potential solution would be to have some kind of elastic band to wrap around the jaws, just to give them some force holding them together, maybe you could even insert a spring between the jaws to keep the pressure up.

  • @Arlong82
    @Arlong82 ปีที่แล้ว

    Very cool! I'm also not a mechanical engineer but you have to make due with the tools you have at your disposal. I'm sure you will get to buy cool tools later on and continue to grow on your channel. Great work.

  • @mattstroker3742
    @mattstroker3742 ปีที่แล้ว +1

    PART 2!!! Please! Hahaha, I can't wait!

  • @evilbrewer
    @evilbrewer ปีที่แล้ว +6

    For the stall detection: I would not look at a threshold of the load value but calculate the derivative of the load value (e.g. how fast it changes, simplest form last value - current value) and go against a threshold of the derivative with the stall detection. In case of a stall you have a large negative derivative and that threshold should be relativly independend of a lot of motor and application conditions.

    • @GilmerJohn
      @GilmerJohn ปีที่แล้ว

      I'm somewhat confused about this "stall." I guess there is something about the combo lock I don't understand.

  • @shadowkiller123
    @shadowkiller123 ปีที่แล้ว +1

    He should have taped the paper with the combination to the top side of one of those fan blades on his ceiling fan. 😆

  • @FourPriestsBrewery
    @FourPriestsBrewery ปีที่แล้ว +2

    Loved this video. Thanks for sharing. Nice T-Shirt too ;)

  • @bmacd11b
    @bmacd11b ปีที่แล้ว

    Loved the video. You got a new subscriber!

  • @daverose8772
    @daverose8772 ปีที่แล้ว

    Your solder work is on the cold side. Use a dab of rosin flux lightly on your connections when flowing the joints. Great project, you are a smarty pants...

  • @mskiptr
    @mskiptr ปีที่แล้ว +2

    As fas as I remember, there was some nice algorithm for generating a minimal sequence of overlapping combinations. That is the shortest sequence of numbers that contains all possible length-k combinations of numbers within a given range.

  • @garrygarrygarry1
    @garrygarrygarry1 ปีที่แล้ว

    Wow. The algorithm recommended this to me, im glad to have found this channel before it blows up, kudos.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว

      I've been making videos consistently for 6 years, it's more of a slow burn!

  • @Ungineered
    @Ungineered ปีที่แล้ว +4

    For removing connectors, you can get an heated solder sucker or a desolder station with a automatic vacuum pump. So you don't have to destroy the connector you're removing.

    • @GilmerJohn
      @GilmerJohn ปีที่แล้ว

      A copper braid will also help remove that last bit of solder.

  • @arnavkumar3060
    @arnavkumar3060 ปีที่แล้ว

    I am glad you are not a mech engineer. Your electronics is top-tier tho.

  • @en2oh
    @en2oh ปีที่แล้ว +1

    very interesting project! one thing though. most combination locks start the opening process by spinning the dial two or more turns in the opposite direction to reset the wheels. Personally, I think you might want to give cracking the lock by sound and feel. It's often not that difficult with these inexpensive combination locks.

  • @conorstewart2214
    @conorstewart2214 ปีที่แล้ว +2

    I wonder if a very sensitive accelerometer or maybe even a MEMS microphone could be used in a similar way to how they sometimes show safecrackers in the movies, with a device to listen to the safe. If the accelerometer or microphone can pick up sounds or vibrations from the internal mechanism of the safe, maybe it could make safe cracking a lot faster.

  • @gameplaygold286
    @gameplaygold286 ปีที่แล้ว

    Excellent video

  • @mr8ball1st
    @mr8ball1st ปีที่แล้ว +1

    Depending on the lock, you might be able to exclude a number of permutations as some locks specify that you cannot have one number within a certain range of the one before such as +- 10.

  • @gazehound
    @gazehound ปีที่แล้ว +1

    incredible plea for patreon funding. im sure every machinist who watched this immediately joined

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว +1

      Thank you! Evidently not many machinists are watching this video! However I did have one or two people sign up because of my pitch and I'm grateful for them!

  • @beautifulsmall
    @beautifulsmall ปีที่แล้ว +2

    I would have promised him you can open the safe, 1e6 combinations, its a finite number. Good choice on de-soldering the pins one by one. I wonder what data an accelerometer or load sensing might give regarding the lock mechanism state. Those logic analysers are super helpful. I hope you can buy a lathe, just a small one, that groove was upsetting. Great video. seen auto dialers in other videos but this is a very nice close in . subscribed.

    • @JelMain
      @JelMain ปีที่แล้ว

      No, it simply gathers three disks one by one, then rotates the lot to the free position.

  • @stopwelard
    @stopwelard ปีที่แล้ว

    part 2 all ready please lol

  • @tylermcgee8877
    @tylermcgee8877 8 หลายเดือนก่อน

    Im a safe tech and need a manipulation aid made. Its just a digital dial position sensor that can detect .1 - .9 throughout the dial.

  • @philoso377
    @philoso377 ปีที่แล้ว +5

    Nice project.
    I have a question.
    Why do we take load value “0” for stall state?
    Can’t we use other values such as 10~20?
    There is a 50/50 chance for position error with a load value of 0.

    • @zedex1226
      @zedex1226 ปีที่แล้ว +1

      Yeah I would go ahead and code to stop motor when it sees "very heavy omg what is even happening right now?? load" and not necessarily riiiiiiight at stall. with variables in su of course because ain't no way I'm gonna go back and forth from bench to environment and back to figure out what the value is.

  • @ztynzo
    @ztynzo ปีที่แล้ว +4

    In the past I've had a lot of luck pulling off the connector housing and sliding a new housing of the same pitch over the pins, side stepping any need for desoldering. I think this would've worked here, a trick for next time.

    • @andreschoen9180
      @andreschoen9180 ปีที่แล้ว

      Exactly, I would sooner modify the plug or make an adaptor than risk voiding warranty on a new controller.

  • @MrGatlin98
    @MrGatlin98 ปีที่แล้ว +1

    Another tip for removing connectors and other components with lots of pins is to use low-melt solder. You melt the solder on to all the pins then you can use hot air to melt them all at once relatively easily. Be sure to remove the low-melt solder after you're finished though.

  • @RitzScythe
    @RitzScythe ปีที่แล้ว +3

    If this guy makes gecko skin, or attempts invisibility tech I know what hes really up too

  • @DigitalArtisan77
    @DigitalArtisan77 ปีที่แล้ว

    For a little bit of backyard turning in reference to your retaining ring grooves without a lathe, spinning in a drill whilst using a dremel with a cutting disk should do a fairly good job.

  • @Anonymousg64
    @Anonymousg64 ปีที่แล้ว

    dupont connectors can fit on almost any pin, good to have a kit of those.

  • @gregbushta3086
    @gregbushta3086 ปีที่แล้ว +1

    Hello to Levi. YNWA.
    Watched the video on Hackaday. It looks like a fun project.

  • @johndoe-zf8kg
    @johndoe-zf8kg ปีที่แล้ว

    amazing video! got my Subscription and i cant wait for part 2. thankfully it wasnt an all digital safe he got locked out of those are the WORST. wishing you luck you get the code within 20 min of starting.

  • @isettech
    @isettech ปีที่แล้ว

    Great job. I work with robotics for semi-conductor manufacturing equipment. Due to the need for precise position control and collision detection, many robots use motion controllers, instead of steppers. For more hobby level as you don't have the TSMC Intel, or ASML budget, I would recommend building around a DC servo controller with an incremental encoder. Instead of the 1.8 degree or so of many steppers, you can have very fine position control. While a 1.8 Degree stepper does provide 1/2 steps for a 0-100 dial. A DC motor with a 500 line encoder such as an HEDL or HEDS will provide 500 lines of 4 transition resolution, or 2000 transitions per revolution. They run nearly silently. Current sensing can be used to provide direct feedback of torque at all times. A coreless DC motor eliminates cogging to a very fine ripple if you use for example some of the Maxon DC motors. Other options include integrated drive DC servo motors for another precise no skipped steps solution. Some of those solutions are industrial prices, not for the faint of heart hobbyist. Edit, recommend the DC servo driver DCS810 to replace small stepper motor drivers and a DC motor with encoder.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว

      Wow it sounds like you have a lot of experience to draw from! My stepper motor controller has micro stepping down to 256 steps/per step. That's a whopping 51,200 pulses per revolution! Precision is not an issue here. In fact I'll be exploited the fact that you don't need to be perfectly on the combination number to open the safe

    • @isettech
      @isettech ปีที่แล้ว

      @@bytesizedengineering Yes the stepper is a good option when you write your own acceleration curves. Robotics outside the realm of steppers, uses a PID loop, to handle the acceleration, to work given a destination, speed, and go commands. The motion control does the rest for you, even with changing loads. It is an interesting filed if you choose to get into robotics and need the speed and precision for material handling. The field often uses brushless DC motors, as well as coreless brushed DC motors. Encoders control the rough position, while laser infromettry controls fine position for areas requiring sup micron positioning, such as lithography. Most of the stuff I work on the incremental encoders land a linear motor within 1/2 micron, with fine positioning handling the final nano meter positions.

  • @fillg
    @fillg ปีที่แล้ว +2

    I think I would build in a way to actually clamp it all to the safe in addition to sticking it on with magnets just to ensure it doesn't shift at all while it's working. You mentioned close to the end where you might have allowed your hand to turn some while it was dialing in the combination. It would be a shame for it to shift just a hair while it's working and go through every possible combination without finding the right one

  • @owenvinall9970
    @owenvinall9970 ปีที่แล้ว

    Great video thanks.

  • @lrrromicronpersei8294
    @lrrromicronpersei8294 ปีที่แล้ว +2

    It looked like your jaws were slipping on the dial on slow when it changes direction so on fast that would be magnified
    Also on the more expensive safe lock the combination has to be dialled in within a very close limit.
    If you are out by a small amount it may not open
    For mounting it to the safe maybe an angled sheet from the floor or side of the safe if you don’t want to drill holes but magnets alone may also introduce movement in the motor unit..
    In no way criticising and don’t want to offend
    I Just want to see you succeed in this project

  • @seanfaherty
    @seanfaherty 7 หลายเดือนก่อน

    Couldn’t you build a machine to move the dials one at a time. Putting a sensitive microphone on the safe to record the sound of the tumblers so you can look at the wave form of the audio file to see if/when the sound changes when it hits the correct number ?
    I don’t have a safe to try it

  • @serdarkardas4427
    @serdarkardas4427 7 หลายเดือนก่อน

    I want to know how the product is made and whether it is sold abroad

  • @iPsychlops
    @iPsychlops ปีที่แล้ว +1

    lol, I was just watching ordinance lab blow holes in hot rolled steel with a 3-D printed shaped charge, and while I recognize that is completely not the way that this person wants to solve the problem, and also requires several licenses he probably doesn’t have, that was the first thing my brain jumped to. 😂

  • @Laszlo34
    @Laszlo34 ปีที่แล้ว

    OMFG U REELY NEED UH LATHE! Thanks for the video! :)

  • @zaprodk
    @zaprodk ปีที่แล้ว +1

    My trick for removing such a connector is to heat one pin at a time, let the heat soak for a second and while still holding the iron on, i grab the pin from the top of the connector with pliers and pull it out quickly. This is possible because the plastic softens. Works almost every single time.

  • @dougmacqueen1679
    @dougmacqueen1679 5 หลายเดือนก่อน

    As someone who is in the trade and having successfully manipulated well over 1,000 safes over the last 35 years, I have dealt with both of the safes that you show in this video. Unfortunately unlike most modern safe comb locks, with both that Sentry and that Field &Stream safe, the dial will not come to a stop indicating that correct code has been entered and the lock bolt has retracted. Which means you will have to try the handle every time a different code is entered. And that would not be quick nor fun.

  • @thee_number_six6227
    @thee_number_six6227 7 หลายเดือนก่อน

    I wish i had this little machine, got a second hand safe a month or two back, never got a combo hence why i got it free. Been trying to crack it since then.

  • @baijokull
    @baijokull ปีที่แล้ว +2

    Since that stepper motor has that "load" value I wonder if it could be made to "feel" the little stops that happen when you go past the right number like human safecrackers do instead of just brute-forcing.

    • @andreschoen9180
      @andreschoen9180 ปีที่แล้ว

      Now we are talking, Boston Dynamics style. Copy humans, then do it a whole lot better. This is a job for the yong dude who makes dart boards & basket hoops you can't miss.

  • @WPGinfo
    @WPGinfo ปีที่แล้ว

    This is both a 'fun & giggles'- as well as a serious project at the same time. It shows / teaches many aspects of 'running projects';
    - [precise] goal == open safe 'automatically' by trial and error
    - how == stepper motor + driver + program + hardware
    - broad concept: attach hardware >> 1.software spins the motor to attempt a combination >> 2.Check >> if fail go back to step 1
    - break down the project in manageable chunks e.g. connect motor; spin motor, stop motor, move door handle etc.
    - fail quickly: attempt various options to achieve a step >> don't 'over-invest' just see if it might work... outcomes: fail - success - promising
    - work on the bits that worked and those that look promising
    - connect all bits together and see if they 'play nice'
    - screams & coffee
    - identify big hurdles - needed tweaks - successes
    - screams & coffee
    - adjust - iterate - test -adjust - iterate - test -adjust - iterate - test
    - screams & coffee
    ALL THAT in a 'simple project' / idea like that! GREAT FUN

  • @durandalgmx7633
    @durandalgmx7633 ปีที่แล้ว +1

    7:37 just use a solder sucker, and remove the solder pin by pin.
    Easier to just use your dremel on the connector i think and leace the pcb intact

  • @RandomBogey
    @RandomBogey ปีที่แล้ว +1

    7:21 Not saying it’s the best way to accomplish it, but the way I do it, if I can’t get the plastic piece off like you mentioned, is to add a little extra solder to the pins, slide an Xacto #11 blade under one end of the plastic like a wedge, then run the edge of the fattest soldering iron tip I have along the pins making contact with as many pins at once as I can. Eventually it will kind of “pop” and move up a bit. Then I push the blade in a little further, repeat, and move the blade around until there’s a big enough gap I can get another wedge or lever tool under it. One downside I’ve ran into is the pads on some cheaper pcbs will peel up, presumably due to the excessive heat and prying. But, that’s pretty rare when it’s a good quality pcb.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว

      I thought about trying that, but decided against it ultimately. I'm sure it would have worked

    • @vojtechfric9470
      @vojtechfric9470 ปีที่แล้ว

      I usually just replace the plastic shroud, no soldering necessary. You just have to be careful not to bend the pins.

  • @CharlieVictor102
    @CharlieVictor102 ปีที่แล้ว +1

    Don’t you need to operate the handle after each combination trial?
    I worked for a lock and safe company a very long time ago. I took a class on safe manipulation. I never got to try it other than a few safes in the office. My boss was a fanatic about safes and took the few customer calls we got. I think the method I learned became obsolete because it relied on turning the dial after engaging the handle and measure the arc that the dial is allowed to do. I think most safes now have a simple mechanism that locks the dial from rotating when the handle is moved.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว

      I have a second motor for the handle

    • @robertboudrie2234
      @robertboudrie2234 ปีที่แล้ว

      You would have to go this on a Group I, but a Group II or IIM comes to a hard stop when the combo is dialed correctly and the dial will no longer turn clockwise.

  • @EnlightenedSavage
    @EnlightenedSavage ปีที่แล้ว

    Nice Mr. Rodgers reference

  • @villagelightsmith4375
    @villagelightsmith4375 ปีที่แล้ว

    Lyrics: Tobacco Road
    "Bring dynamite, and a crane,
    blow it up, start all over again ..."

  • @ElTelBaby
    @ElTelBaby ปีที่แล้ว +2

    @ 11:46 U start with a value around 216;... if that never drops below say 150... At all speeds...
    Then use 150 as a stall threshold... Long B4 it looses steps...

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว +1

      It's not that simple. Reading the values is very noisy so they have to be filtered and averaged.

    • @napsguns
      @napsguns ปีที่แล้ว +1

      @@bytesizedengineering yeah you'll also have to adjust the threshold depending on the safe's dial and how you fix the motor to it (how much and for how long it dampens while moving and when it reverses direction and so on...) Maybe once in a while you can also press a button and it stops so you can check it goes to a predetermined number to make sure it's on track. Checkpoint daily, then if it's lost steps at some point, readjust and repeat the day .

  • @andycrask3531
    @andycrask3531 ปีที่แล้ว +2

    Great video but I have a question.
    Mathematically is it better to try combinations randomly and store failed ones or is it better going up sequentially? Obviously depends on the correct combination being more random than sequential.

    • @JohnLeePettimoreIII
      @JohnLeePettimoreIII ปีที่แล้ว +1

      it's best to use feedback from the pawl/handle of a combination lock to determine if you are in a true or false gate.

  • @MrGatlin98
    @MrGatlin98 ปีที่แล้ว +1

    Sweet content! Any idea of the song name at 20:05?

  • @DustinWyatt
    @DustinWyatt ปีที่แล้ว

    I have that yellowstone hoodie! I wear it all the time. Very soft and comfortable. (also, cool video :D)

  • @heyitsdrew
    @heyitsdrew ปีที่แล้ว

    brother in law calls back "I remember my code!"

  • @bob_mosavo
    @bob_mosavo ปีที่แล้ว

    Thanks 😁

  • @TannerFrisby
    @TannerFrisby ปีที่แล้ว +1

    Greetings, I'm a mechanical PE doing something very similar to a safe I was given (without the combo). I also chose to use a stepper with a trinamic stall guard driver. I've got the dialing logic down but was struggling to register a stall. I'm using a tmc2209 which may not be 1:1 with your integrated stepper. Would you be willing to provide some sample code just relating to stall detection and identify the hardware you are using?

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว

      I'm using a TMC 1076 motor driver. It has a UART interface with TX and RX signals running at a 9600 baud rate. I used a USB to UART converter to connect the motor driver to my computer. The TMC IDE recognized the hardware and started talking to the device. I set up the stall guard parameters and watched the data that was sent in between the computer and the motor driver.
      For my hardware, I'm using an ESP 32 microcontroller which also has a UART interface. I sent the same "get motor load" command I saw in the IDE to the motor driver and got a response. From what I can tell out of the 9 Byte response, the 6th and 7th byte contain the motor load. When that value gets close to zero there is a stall.
      I picked this driver set up because I thought it would be the easiest way to detect a stall. Admittedly I was very wrong. It was very difficult to get to this point. It's a very clumsy solution to the problem. I will probably switch to some other driver and encoder setup to detect stalls in future versions.

    • @TannerFrisby
      @TannerFrisby ปีที่แล้ว

      @@bytesizedengineering Thanks for a quick response! Looks like it's time for me to invest in a logic analyzer. I picked my driver because they are common on 3d printers with sensorless homing. I also assumed it would be an easy implementation. I tried an iSV57T-180 integrated dc servo motor, but couldn't get the alarm to be sensitive enough to trigger reasonably. If you are going to abandon the trinamic stall guard route, maybe look into a closed loop stepper motor with an open loop driver as an easy way of getting an encoder output.
      I'm looking forward to part 2.

    • @TannerFrisby
      @TannerFrisby ปีที่แล้ว

      @bytesizedengineering
      th-cam.com/video/5xvXnc9eTGA/w-d-xo.html
      I was able to get my stall detection working with your pointers, other's libraries and a little more RTFM. I'm quite pleased with my setup now.

  • @1992jamo
    @1992jamo ปีที่แล้ว

    Nice vid. That connector needs a 9 pin JST EH female connector btw mate.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว

      How come my parametric search on DK didn't come up with that!? I think the EH series are 2.5mm pitch, and I need 2.0mm pitch

  • @mmatviichuk
    @mmatviichuk ปีที่แล้ว

    Looks like the TH-cam algorithm is forcing you to the created second part of this video as soon as possible))

  • @TimFSpears
    @TimFSpears ปีที่แล้ว

    Good job. It’s great when you’re talking - back off a bit on the background “music”

  • @superalpha
    @superalpha ปีที่แล้ว

    You can desolder each pin on the connector and pull them through as the plastic shroud melts.

  • @AJMansfield1
    @AJMansfield1 ปีที่แล้ว +2

    Safe auto-dialers are NOT a nondestructive entry technique -- the wear on the combination mechanism from using one is significant, and the wheels, gate, and bushings need to be replaced after using one.

  • @joblessalex
    @joblessalex ปีที่แล้ว +1

    I so need the code for this. Got one that came with our house that really really needs to not be locked anymore lol

  • @NicholasStein
    @NicholasStein ปีที่แล้ว

    I had to laugh at the connector part of this video. All of my projects run into this kind of roadblock.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว +1

      I'm so glad someone can relate! Most of the comments are about how I'm doing everything wrong.

  • @shiftednrifted
    @shiftednrifted ปีที่แล้ว

    You could have 3d printed a brace to hold dupont connectors in their fully inserted position. Like just allow the cable through not the connector. Good job replacing the connector tho

  • @th0m
    @th0m ปีที่แล้ว

    The datasheet on digikey calls out the connector as JST EH. It does look pretty similar to ph though

  • @Zearkos
    @Zearkos ปีที่แล้ว +1

    Curious about a few things (Not critiquing, there's definitely more than 17 ways to skin a Stepper Motor)
    I am not an engineer, I just do a lot with 3D printers, and thus, a lot with stepper motors
    I think that going with the NEMA 23/34 with the driver already built into the board may have caused you more problems than you would have had with getting a driverless NEMA 23/34 and putting the driver on whatever board you chose. Especially with having to resolder and resize the gap for the JST. You might have had to choose a different board, but some drivers also have the stall detection pre-baked into the driver. May have been easier to configure?
    Alternatively, you could have gone with a Closed Loop stepper, which would have provided position feedback. Maybe i'm underthinking how difficult that would be to have the board saying "Expected position X, received position y - Stall detected" with the other equipment you used, though. I do know it's possible to have the device "correct" itself to make expected position match actual position based on the closed loop.
    Past that? All of it is fascinating and I can't wait to see more.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว

      I think you make a lot of really good points. Switching to a different driver is pretty simple. I'd have to do some research to find a suitable driver, but it wouldn't be that hard to switch it out

    • @ingy23
      @ingy23 ปีที่แล้ว

      Worth having a look at the TMC2209 not sure on your amperage requirements as it’s only 2a but has all the features you should need for a project like this and can usually be obtained for a reasonable price.

  • @RichardBuckman
    @RichardBuckman ปีที่แล้ว

    In Amherst center (in Massachusetts) at the Chinese restaurant “oriental flavor” there is a safe that they have never been able to open since the place was a bank a really long time ago.

  • @dl5244
    @dl5244 ปีที่แล้ว

    OMG the gold inside! lol

  • @jdrissel
    @jdrissel ปีที่แล้ว +1

    I do not think that hub will stay in alignment with that shaft with just a jamnut. I think at the minimum you will need some adhesive also. Adding some flats for the grub screws would probably be a good idea too. The stepper motor will get quite warm and that heat will be conducted down the motor shaft where it will loosen the hub via either thermocycling or plastic deformation. But it will probably work well enough to get the rest of the design working, just not allow really high acceleration...

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว +1

      3D printing that part was not my first choice. I had planned on making it out of aluminum, but this is still a prototype. That's another reason I need a lathe!

  • @Moistbread955
    @Moistbread955 ปีที่แล้ว +1

    It hurt to see you file down that pandrive motor lol

  • @TechGorilla1987
    @TechGorilla1987 ปีที่แล้ว

    @4"47 - I though I was the ONLY person to have a roll of Scott Tissue on my bench. It's what I use for my nose instead of tissues.

  • @01001000010101000100
    @01001000010101000100 ปีที่แล้ว

    I remember from the movies, that the guys cracking the safes used stethoscopes. As the safe mechanisms are not perfect, they usually produce a faint click when passing a correct number. I'd also expect some clicking in other positions. Either introduced intentionally by the manufacturer, or just by other imperfections of the mechanisms. But that would fairly reduce the amount of combinations to try. Assuming just one try per second (that seems pretty fast) the brute-forcing the combination would take up to 11 days, so - about a week if you're lucky. Using a microphone to put some "suspicious" numbers first in combinations could speed up the process significantly reducing it to hours, if not minutes. I think a program could be better at detecting anomalies than an untrained person. Coding the anomaly detection algo could take less than a week, so - I would be tempted to try it.

    • @robertboudrie2234
      @robertboudrie2234 ปีที่แล้ว

      It would have been nice if he tried on a decent lock rather than a consumer POS. A S&G Group II would be a nice start, followed by a group 2M, the later having false gates and a cam on the hook. There is a trick where you can cycle through all allowed final numbers without re-dialing the first two. And getting it to work on an S&G Group II is hopeless.

  • @stephencaparelli7733
    @stephencaparelli7733 ปีที่แล้ว

    is this a brute force machine or will it detect gates?

  • @-Primer-
    @-Primer- ปีที่แล้ว

    Safe to assume the pre-soldered pins would not slide into the new connector with its pins removed? I've done that with several connectors. that had the wrong shell interface but the correct pin size.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว +1

      I guess that would mean you would not have to remove the pins and clean out the holes on the PCB. But you would have to pull each pin out of the plastic housing. I hadn't thought of that. I probably still would have done it the same way

  • @tesetreiiic45324
    @tesetreiiic45324 ปีที่แล้ว

    I have one word about desoldering connector: "low melt solder", check it out, really useful for this kind of desoldering.

  • @gijbuis
    @gijbuis ปีที่แล้ว

    what a bummer having to replace the plug to the motor controller! Surely the existing plug was a standard component?

  • @cancer_sucks
    @cancer_sucks ปีที่แล้ว

    you will be needing a new mechanism inside that safe lol

  • @JCWren
    @JCWren ปีที่แล้ว +6

    I'm curious why you didn't contact the motor manufacturer to get the part number for the mating connector. It's appalling that they wouldn't list that on the web page or datasheet.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว +7

      I know, I searched every datasheet I could find and it wasn't listed anywhere. I should have asked their tech support for a part number, but I had already pulled off the connector and replaced it!

    • @jasonbailey9139
      @jasonbailey9139 ปีที่แล้ว +1

      As much as you spend on a good stepper motor, you’d think they’d throw in the connector. I was kind of surprised that 3D printing wasn’t involved in creating a custom connector so as not to void the warranty.

    • @natelarson2800
      @natelarson2800 ปีที่แล้ว +1

      @@bytesizedengineering Check page 6 of the Datasheet, under order codes. Kind of an odd place to hide it! www.trinamic.com/fileadmin/assets/Products/Drives_Documents/PD-1076_hardware_manual_hw1.10_rev1.03.pdf

    • @davenewland4675
      @davenewland4675 ปีที่แล้ว

      @@natelarson2800 Dang! I hate when that happens. I checked stock hoping to find none available thus saving dignity. Only 18,000 available at digikey.

    • @buzz1ebee
      @buzz1ebee ปีที่แล้ว

      @@natelarson2800 right there in the datasheet. Perfect place to put it. I used to supply industrial solutions and the datasheets and manuals were almost always very thorough. It's where I went to find the answer to any questions I didn't know. RTFM.

  • @DarthBlazer.
    @DarthBlazer. ปีที่แล้ว

    At 11:51 when you stall the stepper motor with you fingers around the flex coupling you can get very nasty cuts.
    Those things are razor sharp and never deburred. Be careful with the moneymakers

  • @DaremoKamen
    @DaremoKamen ปีที่แล้ว +1

    You should also check Feynman's autobiography. IIRC he found that there was lee way so he didn't have to get the numbers exactly right.

    • @Wearepricester
      @Wearepricester ปีที่แล้ว

      Those were a different safe and, though the basic idea remains the same, modern safes have generally tighter toleeances.

    • @jim7smith
      @jim7smith ปีที่แล้ว

      I have a really old medium quality safe I have had a long time. After I had it for a while, I experimented with changing the number to the nearest "whole" number and eventually wound up with four 2 digit numbers that all ended in zero, which made the combination a LOT easier to remember without writing it down on something. For instance, a combo like 27 12 72 57 would change to 30 10 70 60. This show the "slop" and/or leeway in the numbers actually used. Also, it is relatively easy to feel the reduction or increase in tension on the dial when getting close to the right range. It was an interesting and useful project for my safe and later on I acquired a much higher end gun safe with an electronic lock that I programmed with the same numbers to make my life easier. As another person posted, you have to also know the initial direction to spin the wheel 3-4 revolutions before stopping on the first number and one less revolution each time you find a number until the final number you just stop on it and crank the handle to open.

  • @hkssystemslocksafe2486
    @hkssystemslocksafe2486 11 หลายเดือนก่อน

    FYI-your dialer could NEVER "dial" open a direct drive like the Sentry the dialer systems are made for dialing to a stop retraction point of bolt work. The direct entry never stops in that fashion.

  • @MoreThanChris
    @MoreThanChris ปีที่แล้ว

    I think you may need to add more friction between your mount and the dial. In your video it slightly slips even on the lowest speed when the motor changes the direction. That slip might be very big on fast direction changes.

    • @bytesizedengineering
      @bytesizedengineering  ปีที่แล้ว +1

      I can adjust the acceleration of the stepper motor and how long it pauses between direction changes. That should help with slipping.

    • @MoreThanChris
      @MoreThanChris ปีที่แล้ว

      @@bytesizedengineering or just a way tighter clamp ;) also, for what do you need the stall detection, I think you have a successful opening when it stalls and you can stop whatever you are doing. Right?

  • @stephensteele2844
    @stephensteele2844 ปีที่แล้ว

    I have the same lighted push button usb hub :p