I built a new controller for my gear hobbing attachment, with some new features, and I even used an arduino! All of the files for this project are available here: / 60027249
Пікірлер: 436
@prbmax2 жыл бұрын
I don't have a milling machine or need a gear hobbing attachment but I still enjoyed your video and explanation of how your creation works. You thought of every possibility and made it work. Nice job!
@shushirakawa31822 жыл бұрын
I don't have a milling machine or a gear hobbing attachment but now I need both.
@romoang2 жыл бұрын
Tggf
@alitn5882 жыл бұрын
ME2 !!👍😉
@drakefallentine83512 жыл бұрын
The synchronization sequence close up, starting @ 14:32, which includes the exact fractions of a second reference, along with a background image of the red LED to allow your brain to comprehend what you are actually seeing is, without a doubt, the highest quality videography work I've ever seen on YT. An extraordinary effort to clarify an important aspect of the gear cutting process. Excellent work Andy.!!
@AndysMachines2 жыл бұрын
Thanks! That's quite a compliment!! But I think many people could have done it better, I don't even have a high-speed camera, it was filmed at 25 FPS. I felt the graph based explanation just before this, though it did explain what was actually happening, didn't really enable it to be visualised, so I wanted to show it actually working.
@douglasharley24402 жыл бұрын
damn dude, you are freaking *amazing!* if you think programming in assembly language is most-ideal, it's no wonder you appear to be able to engineer literally anything.
@roy268911 ай бұрын
I don't think i'll ever need one of these but it is jolly decent of you to provide all the documentation and code for free, hats off, and to all the time, thought and effort you have put in to this project👍👍
@AndysMachines11 ай бұрын
Well, I built it for myself initially and I've already done all the work, so it doesn't really cost me anything to share it for free. If people appreciate it or can make use of it then they can always contribute something through Patreon or a donation at whatever level they think is appropriate. I prefer this model to charging a fixed price before you get anything and also then I don't feel obligated to provide support or help afterwards (though I always do if I can).
@RB-yq7qv2 жыл бұрын
This hobby has some remarkable talent and very generous people, which you are one of. The time and skill set to develop this tool extension for hobby work shop is amazing. I do hope all who down load make a small donation.
@KW-ei3pi5 ай бұрын
Amazing and, for me, mind boggling. I love your channel and have learned a lot. Thank you for sharing. This is beyond me, but I was able to follow most of it because a few months ago, I started building a Power Feed for the Z-axis on my milling machine using a Stepper motor and driver, controlled by an Arduino. I spent about two months learning how to program the Arduino, and utilized switches, potentiometers, and rotary encoders to accomplish my goal. It's amazing what can be done with a micro-controller. Thank you again. Regards.
@bobapthorpe2 жыл бұрын
The lag detection and compensation function is very impressive, even moreso in assembly language. Well done!
@AerialPhotogGuy2 жыл бұрын
Wow! I never expected you to actually do this but I am really glad you did!!! I WILL be making a gear hobbing machine very similar to yours now that I can make a controller for it using your code. Your step by step instructions are awesome, I am somewhat familiar with Arduino stuff in general so this shouldn't be that difficult now that you've done the part that I couldn't do. Also, I will gladly make a donation through your Patreon account as this is the only way I could build a working gear hobbing machine. Thank you so much for doing this, Andy!!!! Looks like it's time to get the 3D printer I've been thinking about. Lol Thanks again, Andy!!! Joe
@AndysMachines2 жыл бұрын
Glad to hear it! Let me know how it works out. I rarely use my 3D printer for making actual finished things, I got it for making patterns for casting, but I have to say this panel worked out very well and was quick to make. Normally I would have machined the panel and turned or even injection-moulded the buttons, all of which take far longer.
@AerialPhotogGuy2 жыл бұрын
@@AndysMachines Hi Andy, Yeah, my motive for a 3D printer was mainly for casting patterns as well......and maybe a few personalized toys for the grandkids. The Creality UV Resin 3D printer looks pretty inviting to me because of that smooth injection molded look. I have a small control panel for an electronic lead screw on my lathe and the front panel and buttons were 3d printed, that setup replaces the change gears for threading ops with a hybrid stepper motor and I have to say it works very well. The control panel buttons were made very similar to what you have in your new control panel. I'll have to wait until sometime next month to start the hobber project, I'm finishing up a 1969 DoAll Surface grinder rebuild at the moment but the hobber project is now my next project. I think I'll use an Omron Quadrature Rotary Encoder with a 1:1 synchronous drive on top of the milling machine instead of making one as you did, I used an Omron Encoder on the lathe electronic lead screw with good results, I found a source on Ebay for the encoder for less than $45, most places want more than $200 for them. And....I will try making my own gear hobbing cutters after I watch your videos on how to make them another time or two :-) I really, really appreciate what you did here and the fact that you are willing to share it with people like me!! Have a great day!!! Joe
@Ray-fm9rx Жыл бұрын
Hola pudiera compartir como lo hizo es exactamente lo q quiero hacer pero tengo poco conocimiento de Arduino y programación etc
@wizrom30462 жыл бұрын
Lol programming an arduino in assembler is knda like rowing the titanic. (The only good thing about the titanic was that it had motors.) 🤣 Nice work on the stepper accel ramping and delayed sync. There was no need for the "spindle * 64 / stepper = whole number" thing. You could have just used a Bresenham ratio accumulator solution which will sync any 2 numbers. It's a fast solution in code, I was doing it in assembler on PICs and steppers back in about 2000. Anyway, cool project and 👍 for making it open source. 🙂
@AndysMachines2 жыл бұрын
Yes, that's a good analogy. I think arduino programming is kind of like building an Ikea wardrobe. Assembly language is like building the same wardrobe only you have to make every panel and every nut and bolt too. I haven't heard of the Bresenham algorithm before, I'll have to check that out. I just used a simple and fast method that works with most common encoder counts and pulley ratios.
@MrCrankyface2 жыл бұрын
Incredibly nice explanation of how everything works. Lovely implemented "lag" feature!
@Parents_of_Twins5 ай бұрын
I've been wondering how to build something like this for a while. Thank you so much for providing this information and making it available to anyone.
@CaskStrength7772 жыл бұрын
You are a magnificent person for making this available. This is now a project for me- and when I get time to start- I will send a donation your way. There are now at least two people I feel I would like to join patreon to give to and you are one of them. This takes a lot of the difficulty out of hobbing, my hat is off to you 🎩
@thanos_vgenis2 жыл бұрын
Excellent project, well though out, thanks for sharing! I, particularly, enjoyed your approach for circumventing the step spindle start. Excellent work
@smartypants50362 жыл бұрын
This is the most amazing use of an Arduino that I have ever seen. The presentation is also outstanding and of top quality. I do not have the machinery to build this for myself but the machine would be a true asset to own.
@EDesigns_FL2 жыл бұрын
Good engineers endeavor to optimize their work and I believe that you've done an incredible job with this project. Thank you for publishing it. Though I don't need to hob gears right now, I would definitely use your design in the event that I do.
@johnmcclain38872 жыл бұрын
I've been cutting gears for years, occasionally, with form cutters, but definitely see building this in the near future, much easier to make hobs and get profiled teeth that fit. I completely agree with you.
@rudolphtjaden73532 жыл бұрын
that is incredible, so slick the way you catch when its out of time and bring it right back in, all the error checking, big brain stuff right there, for you not really wanting to use arduino platform you nailed it!
@rallymax22 жыл бұрын
Thank you so much for making this video. There was definitely a lot of effort in doing it. You have lots of camera shots, lots of editing capturing lots of detail that would otherwise be hard to see. The panel looks great, no, fantastic, and your flexing buttons are amazing. I am an old-school pic person too. But prior to that, my favorite chip was the 68HC11. I wrote a lot of assembly for that thing including a graphical lcd with manually created fonts and icons using graph paper which was then converted into bits and then into hexadecimal. I’ve wanted to make a hobbing attachment for my mill so this is the perfect marrying of my two interests. I’m so glad you made this video. Happy new year!
@Teklectic2 жыл бұрын
When I was learning robotics in high school in the early 2000's we used PIC chips, it was pretty well all we could get that was borderline affordable at that time, and even then the school really didn't want to pay for it, so we ended up all pitching in to pay for a couple programmer boards and each bought our own chips. Arduino really makes it easy compared to how it used to be for us back then!
@timecentral31342 жыл бұрын
Incredibly professionally done, thought-out, and explained!!
@GuruTimCreates2 жыл бұрын
I am impressed. Someone else that.still loves assembly language, and the PIC.
@sorin.n2 жыл бұрын
The references to LPL are hilarious! 😁 You're awesome!
@2OO_OK Жыл бұрын
This is very impressive. It also has everything needed to be used as an electronic leadscrew if the code allowed suitable ratio values to be entered. Very well done!
@michaellinahan77402 жыл бұрын
Andy, thank you for the well explained video and the philanthropic gesture of stl's and code.
@jamesmihalcik13102 жыл бұрын
Andy, if someone in the near future reaches out to you from a little-known start-up called "Skynet", please respond with a Thanks, but not at this time :) Ya, your that good and I'm glad your on our side!
@Landrilx2 жыл бұрын
I don't even have a milling machine but after stumbling across this looking for mini-lathes/mill reviews for gear hobbing and threading I had to subscribe. The lock picking lawyer joke at the end had me falling out of my chair.
@Tristoo Жыл бұрын
refreshing to see a man who can write some assembly on youtube. cudos. I'm more of a new school guy so I quite like my C for anything where I'm not counting cycles, but even still I prefer reading the datasheet and compiling stuff manually with gcc to avoid the bloat. I also use the stm32 series of microcontrollers for stuff that's more serious, and with the exception of the occasional datasheet errors, I actually find them absolutely great.
@Tristoo Жыл бұрын
and now that I've finished the video, I must say this is very impressive to have been done in assembly.
@ronwilken52192 жыл бұрын
Usually I don't bother if it involves coding but something caught my attention here. Thanks for an excellent presentation, apart from the over dramatic Arduino sound effect, and your offer of all the details for free Is most generous. Thanks Andy, and have a Merry Christmas from Canada's banana belt. ✨👍🇨🇦🤞🌟
@Slemi2 жыл бұрын
Wow man! This one is really a perfect made project. You thought of everything and made it exactly as it should be. I so rarely see something so finished this days. I also program a few different microcontrollers (STM32, PIC, AVR) and really like Eclipse for it, so if you have some time to spare check out the Sloeber IDE. This one is replacement for Arduino, with a LOT more.
@pedropig2 жыл бұрын
As soon as you said that you feel more comfortable using assembly, I hit the subscribe button. I just knew your content was going to be worthwhile with that comment.
@gerhardgroenewald65602 жыл бұрын
I cut gears for a living and use shapers and hobbing machines. For years i always thought about doing something like this but never really had the time to finish my project. I build the closed loop dc motor contoller by missan because they are even cheaper and closed loop and knew the worm will do all the spindle holding anyway. So im guessing you propably going to work on the helical next? Can't wait.... Great work Andy
@AndysMachines2 жыл бұрын
Yes, a closed loop system would also be a very good way to do it. I'm not familiar with the system you mention, but steppers are pretty cheap these days and I think open-loop stepper is the cheapest and simplest way to do it? This setup can also cut helicals, all you have to do is tilt the hobbing attachment (and adjust the diameter of the blank to suit the helical angle) I covered this in my 2nd video on the hobbing attachment.
@lv_woodturner38992 жыл бұрын
Fascinating project. I made a Rose engine jig for my wood lathe. I used an Arduino Mega and started with the 2 line display like you used. I found this tedious to program. I changed to using a Nexion touch display. A new learning curve to code, but so much easier using the Nexion editor to create buttons, provide test display etc. The Arduino IDE is not the best, but it works for me. A gear hobbing project is now on my wish list. Thanks for the videos. Dave.
@johnmcclain38872 жыл бұрын
Very nicely designed and built, thank you for sharing, I need to do one for my own, have been putting it off for a couple years. Very nice.
@FratDede2 жыл бұрын
I agree 1000% with your thoughts about Arduino & it's ecosystem. While it is good that it simplifies everything, it also brought disadvantages in itself.
@mitmind2 жыл бұрын
Terrific work man!!!!. Finally someone's that is treating Arduino like it deserves. ;-). I'm not sure if you realize what you achieve here. For the Mill its great. But I see an outstanding electronic lead screw for the lathe. Cheap realiable and brilliant. I was already a subscriber but you make me a believer jjajajaja.
@saddle19402 жыл бұрын
Thankyou for the effort and files. It's given me many ideas. I've done many projects with those PICs and found them to be very reliable in noisy applications. The assembly on them is a bit...backward when it comes to operations like subtraction. I think the instructions, the strange memory allocations and the lack of a real stack, puts people off.
@ben4735 Жыл бұрын
Amazing, I truly enjoyed these four videos of yours I just have viewed. Thank you for the knowledge kind sir.
@daveash95722 жыл бұрын
What a clever bloke! And so generous too.
@ctrchg Жыл бұрын
Your videos are excellent! Am just getting into machining and appreciate your attitude and approach.
@AndysMachines Жыл бұрын
Thanks very much!
@ramunasjakubauskas1345 Жыл бұрын
It's working for me, very well. Thank you very much, you best of the best.
@skorkmaz2 жыл бұрын
Hi again, Just ordered the needed parts. This will be my second Arduino project (first one was a Mach4 pendant). Cheers.
@ML-jf1xe2 жыл бұрын
This is a really well worked out setup. I am impressed with spindle match functionality. That’s the cherry on top of the cake. Also this 3D printed display module is so nice, I can think of a few more projects I am going to use it for. Btw, I’ve used PIC chips long ago and they did the job but I’m lazy and atmega328p works for just about anything I ever intend building.
@AndysMachines2 жыл бұрын
Thanks! I actually only made the panel 3D printed to make it more accessible for other people to copy, but I was impressed myself by how well it turned out, plus it was quick and easy. PICs are great, but vary hugely in their capabilities, so you do need to choose the right one. The ATmega328 is a much better all-rounder and tends to be my go-to device for almost everything these days.
@sky1732 жыл бұрын
What a great video. I was curious how things would work if there was a timing issue between both spindles. Thanks for sharing this. LOL, at the LPL impersonation. Great stuff.
@tbcarleton2 жыл бұрын
That could be useful for so many more applications than just gear hobbing. It could be used as a rotary welding table or linked with an axis instead of a spindle to make spiral cuts. It could even be used to cut rifling if it were indexed with a purpose built jig or on a machine with long enough of a bed.
@FCleff2 жыл бұрын
Brilliant on every level, Andy!
@AndysMachines2 жыл бұрын
Thanks very much!
@youneschroqi6492 жыл бұрын
Very well done video, your teaching skills are impressive, your technical knowledge is substantial this makes the recipe for a very successful KZbin channel, please carry on the good work, thank you for sharing your code, so generous of yours, hopefully you will make a video explaining the details of how it functions. Many thanks indeed
@Zip369 Жыл бұрын
Thank you for sharing this project. Your previous 2-part videos inspired me to CNC my rotary table so I can make worm and helical gears for a 3D printed RC car. Only difference is I am going to synchronize my rotary table to both the mill spindle and the X axis DRO scale (both ratios can be adjusted or disabled). That will open the door to making spiral gears like what you would find in a self-centering chuck. Should be a cheaper (and way cooler!) than getting a BS-2 dividing head! Thanks again!
@AndysMachines Жыл бұрын
Glad to hear it! Yes, that should allow for some interesting operations.
@flymirage22 жыл бұрын
That s a very nice work! Thank you very much for sharing your knowledge!
@user-on8tm6cj6d2 жыл бұрын
wow!! You Are Great!! You Are my Teacher!! You are my Sunshine !!
@HM-Projects2 жыл бұрын
enjoyed the explanation and video for synchronisation, thanks!
@KnightsWithoutATable2 жыл бұрын
I recognize that controller!...and now I feel a little old because it was 2014 when I graduated with that degree. Oh well, off to work on my 3rd degree in Jan.
@luizguilhermecosta72212 жыл бұрын
Just one word: thanks so much. Thanks for divide your knowledge. I'll trie to make this system based in your explanations.
@joels76052 жыл бұрын
Excellent work, sir. Thank you.
@Danny-qb2fd2 жыл бұрын
Found the avrdude config file under the x86 program files "Arduino\hardware\arduino\tools\avr\bin". I copied the config file as suggested and all ran OK.Thanks Andy!
@diaboloavocado2 жыл бұрын
Love the shout out to LPL.
@lukasschworer8402 жыл бұрын
Verry well done!
@hellbilly562 жыл бұрын
Nice Job and love the LPL references!
@JesseSchoch2 жыл бұрын
i can envision all the asm questions popping up on the arduino forums due to this! Thanks for sharing.
@rogerbettaney8443 Жыл бұрын
Hi, excellent video, although you solved the quick start condition in software, which was very clever, a very crude but simple soft start for the motor could be made. If some suitably sized resistors were installed in series with the motor winding it would, on start up, limit the inrush current and the accelerating torque thus increasing the time to get up to speed. The resistor/s would be shorted out with a suitably rated relay or contactor after a preset time of say a couple of seconds. Your solution is clearly more elegant. Again, excellent video.
@AndysMachines Жыл бұрын
Thanks! Yes, this motor really does need a soft-start, either that or replace it with a 3-phase motor and inverter. The jolt on startup is causing problems with the gearbox too. It's a twin capacitor motor so I assume it also has a centrifugal switch (though I can't hear it) so maybe all I'd need to do is put a resistor in series with the start capacitor. I'll have to dig deeper.
@staviq2 жыл бұрын
13:45 Did you know, that this is how Soyuz aligns with International Space Station for docking ? Because in orbit, speeding up or slowing down changes your own orbit height, you can't just slow down or accelerate to catch the other object, you simply lower or rise your own orbit, which puts you in an orbit faster or slower than the target, you then wait for the orbital offsets to align properly, and then you change the orbit height back, to match the target orbit. Look up the "Hohmann transfer".
@AndysMachines2 жыл бұрын
No, I didn't know that. That's very interesting, thanks for that!
@Eliseo2022 жыл бұрын
My dude, you are doing amazing work! And all for free!
@davidrussell86892 жыл бұрын
Thank you for sharing this valuable information . So useful and well explained.
@BloodyMobile2 жыл бұрын
People who choose assembler over the alternatives for hobby projects are the digital equivalent of those that take an axe to the woods and build a cabin... I feel like I need to buy a hat, because you deserve it being tipped, my respect.
@LarsBerntzon2 жыл бұрын
Impressive work!
@publicprofile12 жыл бұрын
dude, you are amazing!
@navigator_0712 жыл бұрын
Extremely useful video, thank you for sharing.
@primescienceprojects6 күн бұрын
To solve the spindle lagging with indexer, you must need to replace spindle motor with a high speed and torque stepper or servo motor for spindle, which will eventually remove the lag and work in sync
@AndysMachines6 күн бұрын
Or replace the milling machine motor with an inverter-controlled one with ramp-up😁
@primescienceprojects6 күн бұрын
@@AndysMachines probably possible
@alexchiosso2212 жыл бұрын
Outstanding video and professional grade application. Thank you so much. :-)
@john24782 жыл бұрын
Andy, I just stumbled on your project which seems to provide what I have been looking for. I have a Rivett lathe with its milling attachment. In the catalogue of 1901 there is a nice illustration of using the milling spindle with another attachment that mechanically linked to the nose of the lathe as well as the gear train. It also has a small indexing arrangement. This enables cutting of helical gears with a single tooth cutter running in the milling spindle. It is also capable of milling very long flutes such as drill flutes. Unfortunately this complex attachment is very rare. I have never seen one. I have another lathe with a electronic lead screw and I was thinking about synching of the spindle with the lathe axis when I came across your work. I will need to figure out the best place for the stepper motor. I have a spare encoder that I would rather use than a slotted wheel. They are readily available at reasonable cost. Your videos are excellent and clear I need to study them more. John
@MrDonrecardo Жыл бұрын
Hi Andy , another question if I may. I aquired a 400CPR encoder and was going to use 4:1 gearing between stepper motor and spindle , but the it struck me , I have several "Motion Control" stepper motor drivers that have lots of choices for microstepping so instead of 4:1 gearing couldnt I use 1:1 gearing with 1/4 driver micro stepping ? Cheers Don
@AndysMachines Жыл бұрын
You could do that but at 1:1 you will have four times less torque available at the spindle, it may work depending on how powerful the stepper is and how big are the gears you're cutting, but you may loose steps. Also it's best to run in full step mode if you can as microstepping also reduces the torque from the motor.
@mxcollin952 жыл бұрын
Ingenious design!
@hosseinashkboos51882 жыл бұрын
Very Nice! Thank you for sharing.
@NicksStuff2 жыл бұрын
"I feel more comfortable with assembly language" -No one ever in the hist...no wait, there's one weird dude who said it This was fucking amazing, though
@clodoaldocampestrini12162 жыл бұрын
Parabéns amigo adorei seu trabalho .. muito top msm vou montar um cabeçote desse TB ... Muito obrigado pelo vídeo 😁😁
@alitn5882 жыл бұрын
Thanks Mate Brilliant work 👍🌺
@seancollins9745 Жыл бұрын
This would be a fantastic macro add on for linux CNC with spindle co-ordination. I am going to build a hob spindle for mc CNC lath that will allow for gear skiving and hobing. Great video !
@1crazypj2 жыл бұрын
Reading through the comments I have to agree with everything I read so far and hit the 'thumbs up' rather than repeat what's already been said. Thanks.
@AndysMachines2 жыл бұрын
Thanks! I like it when people read the other comments first before asking the same question for the 6th time!! 😁
@tomsmith3045 Жыл бұрын
Ok, first, this is awesome, but second, there is irony in your love for assembly, and your retro video on imperial measurements. That said, I completely agree with you on assembly....I learned in on Z80, and I prefer PICs to the newer microcontrollers. Simpler. Incredibly kind of you to make this public and share the code with everyone, especially as you already had a working model with PIC.
@samson51582 жыл бұрын
I'm glad I watched till the very end. "Nothing on one",🤣🤣🤣😂
@Mike4_friends3 ай бұрын
Do not forget - after loading - adjusting the contrast on the screen with trimmer next - top left of to screen!!
@AndysMachines3 ай бұрын
Yes, worth mentioning, this has caught a lot of people out! It seems when the LCD shields are sent out the pot is not adjusted and is just set to some random value which often means nothing appears on the screen and makes it look as if your project is not working.
@Andrew_Fernie2 жыл бұрын
Very nicely done. Loved the ending 🤣
@willbaden75632 жыл бұрын
Thanks for putting this together!
@practicemakesbetter71322 жыл бұрын
Very impressive, thanks for sharing!
@matrix777able2 жыл бұрын
Thank you so much 🙏 best Christmas ever
@AndysMachines2 жыл бұрын
Merry Christmas!
@zxxvcc2 жыл бұрын
The Arduweeni Wino is a lovely piece of kit imo
@christosmakariou4574 Жыл бұрын
I liked the Terminator clip at timestamp 2:59! Very Alarming...
@nordle4208Ай бұрын
Hey Andy, thanks for the great content and sharing your designs! I am interested in building one of your controllers for myself, although I have a question before I start. I own a dividing head with 1.8deg motor and 50:1 reduction already and would like to use that. (=10.000 steps/rev) That means I would need a 2.500 CPR Encoder, is this correct and how can I calculate the maximum rpm for my setup so it doesn't exceed the 80kHz limit?
@AndysMachinesАй бұрын
I get this question a lot and it does seem like a quick and easy solution to put a stepper motor on a dividing head/rotary table, but due to the high gear reduction it's usually not a good idea unless you are cutting gears with very large numbers of teeth (like hundreds). To avoid swamping the arduino you'd have to run the mill spindle no faster than 480rpm (60x80Khz/2500x4). But don't forget that also the stepper is going to have to turn 50x faster than the gear blank which is likely to be the limiting factor especially for gears with less than around 30 teeth, most stepper motors have very little torque over 1000rpm. For something like a 10 tooth gear you'd probably have to run the milling machine at less than 100rpm and feed extremely slowly.
@nordle4208Ай бұрын
@@AndysMachines Thanks a lot, for your reply! I see this is not Ideal, but as I am planning of making just one offs I may give it a try anyways and just cut very slowly.
@johnyoungquist654011 ай бұрын
Glad to see you using assembly language. I have used Assembly for over 40 years. I use the 8051 family of processors in aircraft instruments and many other things. Some of the applications are huge 50K lines. We do not have any C in it anywhere. C is too slow and too fat. I have benchmarked C and find it 5-10X slower and bigger. I wrote the assembler too with elaborate functionality for huge programs. It compiles floating point expressions too. I made a hobber 15 years ago too.
@AndysMachines11 ай бұрын
I have to agree! There are people who say compiled C is as good or better than assembly written by hand, but it really isn't. The only advantage is it's less effort to write. Plus when writing in assembly you have to learn much more about the specific processor you are using which makes you a better programmer.
@johnyoungquist654010 ай бұрын
@@AndysMachines I have something I would like to send you regarding asm vs C. What is you email?
@AndysMachines10 ай бұрын
andysmachines@gmail.com
@cooperised2 жыл бұрын
Completely agree about Arduino! It's popular but extremely limited when used with the IDE. So many projects around the internet end up using multiple arduinos for really simple tasks, and make my inner engineer cringe.
@topduk2 жыл бұрын
Very nice.
@Guds777 Жыл бұрын
Love it. But when hobbing, don't the blank turn automatically with the hobber. Is there any need for motorised tailstock...
@mxcollin952 жыл бұрын
Definitely want to contribute to your patreon for this awesome project.
@davidcsaki75382 жыл бұрын
Hi Andy, I read the comment on patreon, about the buttons not working properly. I have the same problem. Can you help me, what values do I need to change in the main.asm file? I want to read my button values wtih arduino AnalogReadSerial example, and enter them in the main.asm file.
@AndysMachines2 жыл бұрын
Hi Dávid, I have now hopefully fixed this issue and I have updated the .hex and .asm files on Patreon. I bought some more LCD shields to test and it seems the button values vary wildy from board to board and there doesn't seem to be any standard that I can find. I have extended the valid ranges for each button so that they now work on all shields that I have tested, however there is a chance of some overlap and buttons behaving as different ones, so to fix this I have also included a configuration routine (hold any button on power up) that will set the correct values for your particular shield and store them.
@13FPV2 жыл бұрын
Nice reference to the LPL at the end! 👌🏻😂
@kevinberta87412 жыл бұрын
Are the plans available for the rotary chuck hardware? Would help to save time if the plans are available. Love this design.
@AndysMachines2 жыл бұрын
I didn't actually draw plans, but check out my two other videos on how I built the hobbing attachment. The dimensions aren't really critical, you can adapt the design to suit your own needs. kzbin.info/aero/PL7T9LOrvm0qLMHvxnMJsi_gqrfyUoaeCp
@luizguilhermecosta72212 жыл бұрын
Hello. Would it be possible to demonstrate how you made the disk for the encoder? I bought a 200 line encoder but its disk is very small, about 25mm in diameter. thank you so much.
@AndysMachines2 жыл бұрын
I've got this question quite a lot, I might have to to a video on how I modified my encoder. You can make a new disc for it, the one you have will need to be quite a fine pitch, but it is possible.
@luizguilhermecosta72212 жыл бұрын
Regarding enable my drive has to be fed with 5v. In this case, I had to put the 5v and maybe a switch on and off on enable? Thanks.
@AndysMachines2 жыл бұрын
You could add a switch, but it's usually enough just to hard wire the enable and if you need to turn the motor off just turn the whole unit off. There is no lengthy startup procedure when turning it back on.
@InSanCen2 жыл бұрын
Only once have I added a Patreon sub that quickly. Now I just need a workshop...
@gregwmanning2 жыл бұрын
Genius and generous Thank you
@jeremycable512 жыл бұрын
This is pretty damn awesome
@ruudbeckers2432 жыл бұрын
Very nice project! Will this controller also work with a rotary table which has a gear ration of 90:1? With a 200 steps per revolution stepper motor this requires 18000 steps per revolution. If case it will work with your controller, what would be a suitable encoder CPR?
@AndysMachines2 жыл бұрын
Thanks! Unfortunately it's not really feasible to use a 90:1 reduction ratio, currently the controller will not let you input a step count above 10000 and you would be limited to running the milling machine extremely slowly or only cutting gears with a large number of teeth (or both) since the stepper motor would not be able to spin fast enough to turn the blank at a reasonable speed. There are ways you could get around it, you could use a 48 step/rev stepper motor, or a 200 step and enter half the total number of steps (9000) and only cut gears with even tooth counts since it would turn at half the division ratio, though you would need 2250 encoder counts per revolution. For very high encoder counts the encoder can be mounted on a separate shaft driven by pulleys or gears from the mill spindle (eg. 1000 CPR encoder 81:36 ratio =2250 CPR). I would recommend disengaging the worm on the rotary table and attaching a pulley to the back, perhaps mounted on a drawbar, and drive it with a belt reduction. You could probably mount the stepper motor via the hold-down lugs so you don't need to modify the rotary table. (Note also that these tables often have plain bearings which aren't great for this sort of use.)
@ruudbeckers2432 жыл бұрын
@@AndysMachines Thank you for the very elaborate answer! You gave me some food for thought.