No video

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

  Рет қаралды 157,194

byte sized engineering

byte sized engineering

Күн бұрын

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 KZfaq 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: kzfaq.info?sub...
Instagram: / bytesizedzach
KZfaq 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/...

Пікірлер: 312
@kingofcastlechaos
@kingofcastlechaos Жыл бұрын
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 Жыл бұрын
Give yourself a treat
@OccamsPlasmaGun
@OccamsPlasmaGun Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
As a locksmith, same!
@colinstevens8968
@colinstevens8968 Жыл бұрын
How about doing it the old fashioned way. With a doctor's stethoscope?
@warrensteel9954
@warrensteel9954 Жыл бұрын
Electronics Technologist and Locksmith. Same.
@spaideri
@spaideri Жыл бұрын
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.
@bytesizedengineering
@bytesizedengineering Жыл бұрын
Great suggestion
@jasonbailey9139
@jasonbailey9139 Жыл бұрын
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 Жыл бұрын
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.)
@dl5244
@dl5244 Жыл бұрын
Consider using a (heat) pressed threaded insert (PEM) on the 3D printed parts to reduce the chance of movement from stress!
@johnbborg1015
@johnbborg1015 Жыл бұрын
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!
@napsguns
@napsguns Жыл бұрын
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 Жыл бұрын
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.
@WabbitHole
@WabbitHole Жыл бұрын
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.
@akiko009
@akiko009 Жыл бұрын
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.
@AdvancedTinkering
@AdvancedTinkering Жыл бұрын
Such a cool project! Can't wait to see the second part!
@austindale3129
@austindale3129 Жыл бұрын
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 Жыл бұрын
For kicks, you should try cracking the safe the manual way.
@dave4882
@dave4882 Жыл бұрын
be aware that the robot he is building will spin the dial so much, that it may ruin the dial by wearing it out.
@conorstewart2214
@conorstewart2214 Жыл бұрын
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.
@evilbrewer
@evilbrewer Жыл бұрын
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.
@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.
@shadowkiller123
@shadowkiller123 Жыл бұрын
He should have taped the paper with the combination to the top side of one of those fan blades on his ceiling fan. 😆
@MikesOffice
@MikesOffice Жыл бұрын
Love the storytelling in this!!
@FishersShop
@FishersShop Жыл бұрын
Man this is so cool! Haha! I love it! Amazing work, Zach
@Ungineered
@Ungineered Жыл бұрын
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.
@michelnault6414
@michelnault6414 Жыл бұрын
i work on cnc s all my life i can relate to your frustration and joy nice video !!
@conorstewart2214
@conorstewart2214 Жыл бұрын
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.
@en2oh
@en2oh Жыл бұрын
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.
@mskiptr
@mskiptr Жыл бұрын
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.
@JamiesHackShack
@JamiesHackShack Жыл бұрын
Wow awesome stuff. Can't wait to see the next steps here!
@JonathanRansom
@JonathanRansom Жыл бұрын
So much suspense. I want to see that safe opened!
@synfpv007
@synfpv007 Жыл бұрын
looking forward to part 2!
@beautifulsmall
@beautifulsmall Жыл бұрын
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.
@FourPriestsBrewery
@FourPriestsBrewery Жыл бұрын
Loved this video. Thanks for sharing. Nice T-Shirt too ;)
@mr8ball1st
@mr8ball1st Жыл бұрын
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.
@RitzScythe
@RitzScythe Жыл бұрын
If this guy makes gecko skin, or attempts invisibility tech I know what hes really up too
@MrGatlin98
@MrGatlin98 Жыл бұрын
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.
@andreschoen9180
@andreschoen9180 Жыл бұрын
Excellent Tip. 8^) a keeper
@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!
@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...
@bmacd11b
@bmacd11b Жыл бұрын
Loved the video. You got a new subscriber!
@mattstroker3742
@mattstroker3742 Жыл бұрын
PART 2!!! Please! Hahaha, I can't wait!
@fillg
@fillg Жыл бұрын
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
@baijokull
@baijokull Жыл бұрын
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.
@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.
@philoso377
@philoso377 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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.
@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.
@lrrromicronpersei8294
@lrrromicronpersei8294 Жыл бұрын
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
@dougmacqueen1679
@dougmacqueen1679 8 ай бұрын
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.
@arnavkumar3060
@arnavkumar3060 Жыл бұрын
I am glad you are not a mech engineer. Your electronics is top-tier tho.
@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.
@zaprodk
@zaprodk Жыл бұрын
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.
@gameplaygold286
@gameplaygold286 Жыл бұрын
Excellent video
@stopwelard
@stopwelard Жыл бұрын
part 2 all ready please lol
@RedRingOfDead
@RedRingOfDead Жыл бұрын
Looking forward to part 2
@Anonymousg64
@Anonymousg64 Жыл бұрын
dupont connectors can fit on almost any pin, good to have a kit of those.
@thee_number_six6227
@thee_number_six6227 10 ай бұрын
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.
@tylermcgee8877
@tylermcgee8877 11 ай бұрын
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.
@jdrissel
@jdrissel Жыл бұрын
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 Жыл бұрын
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!
@owenvinall9970
@owenvinall9970 Жыл бұрын
Great video thanks.
@RandomBogey
@RandomBogey Жыл бұрын
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.
@durandalgmx7633
@durandalgmx7633 Жыл бұрын
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
@CharlieVictor102
@CharlieVictor102 Жыл бұрын
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.
@superalpha
@superalpha Жыл бұрын
You can desolder each pin on the connector and pull them through as the plastic shroud melts.
@heyitsdrew
@heyitsdrew Жыл бұрын
brother in law calls back "I remember my code!"
@AJMansfield1
@AJMansfield1 Жыл бұрын
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.
@gazehound
@gazehound Жыл бұрын
incredible plea for patreon funding. im sure every machinist who watched this immediately joined
@bytesizedengineering
@bytesizedengineering Жыл бұрын
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!
@villagelightsmith4375
@villagelightsmith4375 Жыл бұрын
Lyrics: Tobacco Road "Bring dynamite, and a crane, blow it up, start all over again ..."
@iPsychlops
@iPsychlops Жыл бұрын
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. 😂
@th0m
@th0m Жыл бұрын
The datasheet on digikey calls out the connector as JST EH. It does look pretty similar to ph though
@horstwedekind4666
@horstwedekind4666 Жыл бұрын
This small coupler on the stepper axle has the tendency to slip on the axles. I learned it unfortunately the hard way. If the coupler is not reliable you do Not know if you habe a software or a mechanical Problem.
@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
@Laszlo34
@Laszlo34 Жыл бұрын
OMFG U REELY NEED UH LATHE! Thanks for the video! :)
@andycrask3531
@andycrask3531 Жыл бұрын
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 Жыл бұрын
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.
@mmatviichuk
@mmatviichuk Жыл бұрын
Looks like the KZfaq algorithm is forcing you to the created second part of this video as soon as possible))
@joblessalex
@joblessalex Жыл бұрын
I so need the code for this. Got one that came with our house that really really needs to not be locked anymore lol
@gijbuis
@gijbuis Жыл бұрын
what a bummer having to replace the plug to the motor controller! Surely the existing plug was a standard component?
@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.
@serdarkardas4427
@serdarkardas4427 10 ай бұрын
I want to know how the product is made and whether it is sold abroad
@Zearkos
@Zearkos Жыл бұрын
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.
@RoamingAdhocrat
@RoamingAdhocrat Жыл бұрын
Could you not pry off the plastic part of the old connector, then insert the plastic part of the new connector onto the same pins without desoldering anything?
@joelee24
@joelee24 Жыл бұрын
How many tries and time allowed before triggering the safe's self destruct mechanism ha, good luck cracking !
@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.
@tesetreiiic45324
@tesetreiiic45324 Жыл бұрын
I have one word about desoldering connector: "low melt solder", check it out, really useful for this kind of desoldering.
@hkssystemslocksafe2486
@hkssystemslocksafe2486 Жыл бұрын
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.
@misterkite
@misterkite Жыл бұрын
It occurs to me that you can cut down on the number of entries to try by overlapping the first and last numbers for testing. I.E. 1,2,3,4,5,6,7 and checking on 3, 5, and 7, means you can test 3 combinations (1,2,3, and 3,4,5, and 5,6,7) while only adding 2 turns for each progressive combination to test. Plus you can order the numbers to test in such a way as to reduce the distance between them.
@mskiptr
@mskiptr Жыл бұрын
Would checking after each number (and not just every other one) mess things up? Just looked it up and a sequence like this is called a de Bruijn sequence
@misterkite
@misterkite Жыл бұрын
@@mskiptr I thought about that, I don't know exactly how a combination lock works but I'm guessing that direction matters, so 1,2,3,4 only checks 1,2,3, not 2,3,4 because the directions are reversed.
@mskiptr
@mskiptr Жыл бұрын
@@misterkite Oh, that indeed may be the case
@Adam_Lyskawa
@Adam_Lyskawa Жыл бұрын
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.
@kevintjekevin
@kevintjekevin Жыл бұрын
This is so cool! Have you thought of using a De Bruijn sequence to shorten the time it would take to try each 3 number combination? From Wikipedia: "A de Bruijn sequence can be used to shorten a brute-force attack on a PIN-like code lock that does not have an "enter" key and accepts the last n digits entered. For example, a digital door lock with a 4-digit code (each digit having 10 possibilities, from 0 to 9) would have B (10, 4) solutions, with length 10000. Therefore, only at most 10000 + 3 = 10003 (as the solutions are cyclic) presses are needed to open the lock, whereas trying all codes separately would require 4 × 10000 = 40000 presses."
@dirtdart81
@dirtdart81 3 ай бұрын
That won't work for a tumbler based lock
@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 Жыл бұрын
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?
@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
@TimFSpears
@TimFSpears Жыл бұрын
Good job. It’s great when you’re talking - back off a bit on the background “music”
@gregbushta3086
@gregbushta3086 Жыл бұрын
Hello to Levi. YNWA. Watched the video on Hackaday. It looks like a fun project.
@bytesizedengineering
@bytesizedengineering Жыл бұрын
You'll never walk alone!
@stephencaparelli7733
@stephencaparelli7733 Жыл бұрын
is this a brute force machine or will it detect gates?
@seanfaherty
@seanfaherty 10 ай бұрын
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
@JCWren
@JCWren Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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.
@fin3125
@fin3125 Жыл бұрын
Instead of using the stall, could you have used a Spring. Then just use some sort of switch to see if it opens.
@bob_mosavo
@bob_mosavo Жыл бұрын
Thanks 😁
@famousamoso7
@famousamoso7 Жыл бұрын
Just out of curiosity is it such a good thing that your BIL owns guns if he thinks its wise to put the combo to a safe INSIDE the safe? Of the 20 million different places he could have hidden it either in his home or on his person he chose to hide it in the safe.
@mfx1
@mfx1 Жыл бұрын
Hate it when manufacturers do crap like that, either supply the mating connector with it or make the connector type clear.
@ElTelBaby
@ElTelBaby Жыл бұрын
@ 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 Жыл бұрын
It's not that simple. Reading the values is very noisy so they have to be filtered and averaged.
@napsguns
@napsguns Жыл бұрын
@@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 .
@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 Жыл бұрын
I'm so glad someone can relate! Most of the comments are about how I'm doing everything wrong.
@MrGatlin98
@MrGatlin98 Жыл бұрын
Sweet content! Any idea of the song name at 20:05?
@stephensteele2844
@stephensteele2844 Жыл бұрын
I have the same lighted push button usb hub :p
@TannerFrisby
@TannerFrisby Жыл бұрын
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 kzfaq.info/get/bejne/a96mi9GUnsu4d3U.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.
@BrainSlugs83
@BrainSlugs83 Жыл бұрын
I can't tell if your camera is bad or you just are bad at soldering... also... yes, of course you need to write code to stop the motor when it stalls. 😅 -- Still though, good work, everyone has to start somewhere. Having a spinning nut on a shaft is a bit worrying of a design decision though... like depending on how well that's on there, it might just unscrew itself before it stalls out... -- Anyway, good luck. Can't wait for video 2!
I have to try 1 Million combinations? Safe Cracking Robot - Part 2
17:57
byte sized engineering
Рет қаралды 316 М.
I Built an INFINITELY ONE-SIDED Violin??
15:39
Xyla Foxlin
Рет қаралды 31 М.
小天使太有爱心了#天使#小丑#家庭#搞笑
00:32
家庭搞笑日记
Рет қаралды 25 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 92 МЛН
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
Can You Forge Tungsten?
16:14
Alec Steele
Рет қаралды 564 М.
How a CO2 laser tube is made Part 1
1:32
LightObject
Рет қаралды 3,8 М.
Manual Cracking of an S&G Safe tutorial
23:22
SafeCrackerBot
Рет қаралды 31 М.
Giant RC Rocket Plane
19:46
ProjectAir
Рет қаралды 274 М.
Our BIGGEST project yet! (SPIDER MECH!)
29:27
Hacksmith Industries
Рет қаралды 11 МЛН
[1337] My New & Improved Robotic Safe-Cracker…
11:22
LockPickingLawyer
Рет қаралды 1,2 МЛН
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 887 М.
I finally cracked the safe! - Safe Cracking Robot Part 4
18:07
byte sized engineering
Рет қаралды 27 М.
小天使太有爱心了#天使#小丑#家庭#搞笑
00:32
家庭搞笑日记
Рет қаралды 25 МЛН