CNC Build Part 1: Controller Box Build and Set-up
Вставка
- Опубліковано 21 сер 2024
- This is the part 1 video to my complete CNC build. It's going to be a long process (I still don't have the most critical parts), but It'll be worth the wait!
This is my second CNC build, and I believe I have learned enough to help you guys build a CNC machine for yourself! Thanks for watching!
Tip for finding the right motor wire combos ... Take any 2 wires and connect (short) them to each other. Turn the shaft of the stepper motor by hand. If you feel resistance (a fair bit) then the two wires in question are from the same coil. If the motor turns freely then you 'shorted' wires from different coils and have to try a different combination.
Once you have the wires paired up, it does not really matter which you put as the first coil, and which as the second (if you have a 4 wire stepper, when it is a 6 or 8 wire stepper things get a bit more complex as you will have to put coils in series or in parallel).
Thanks for being a down to earth relatable brother. Love the quality of the vid.
The steppers have 4 wires, one pair for each of the two coils inside... Coil/pair AA & coil/pair BB. You can find the pairs by disconnecting the motors, short 2 of the wires, then try and turn the motor by hand. If the motor is harder to turn, those two wires are a pair. (Either AA or BB) They should always go side by side.
If you want to reverse the direction of the stepper, you can swap the two pairs around. EG: AABB or BBAA.
But never wire them ABAB or BABA.
It doesn't matter which wire of the pair goes first. Just that the pairs are together.
Thank you for the video! I have been wanting to build a router for sometime now and the wiring worried me. This video by far the best i have seen at explaining it. So, thank you!
This is awesome! I was hoping you were going to do a build video. Thanks for the info.
Matthew Beaton I'm still kicking myself for not doing a video on the last one. I may have actually done a good job if I did, lol. Thanks for watching!
I'd recommend going the Arduino/driver route. Easy and cheap. Tons of UA-cam videos out there.
On usb, yes, easier computer to find. Works with free grbl running on a $4 Arduino uno as your motion controller that receives the gcode and sends steps to your motor drivers.
That's Not what he has though right, would you use a chip for each axiss, so only 2 chips for regular lathe? So you still need more computers for joining these, and for doing coputonaly advanced things like radius arcs, or differential arcs.
Mounting the electronics in a wooden box does present one important drawback: digital high current switching circuitry usually radiates a lot of RF noise that can cause interference with neighboring electronic equipment. Wood provides no EMI shielding since it doesn't conduct electricity. A better option is to dig up a cheap PC tower case and modify it to fit the electronics in there.
TheDeepNorth I considered this, but I made my own circuits and don't want to risk shorting the circuits. Mine don't cause any problems. But I use caps on limit switches.
One easy way to avoid shorting the circuit boards to a metal casing is to mount them on threaded plastic standoff posts.
TheRainHarvester If you can make your own circuit - you should be able to place it in metal box without shorting it ;)
One of the most cummon pitfalls of DIY CNC’s is EMI and noise from spindle, that can be solved by propertly grounding the build and shielding cables.
3rdHalf , I could, yes. But it was not necessary, and far easier/cheaper to use plastic.
Great job on the wiring. Im looking for some ideas to clean up the rats nest I got going on.
Please include the links to the kits you bought to make this thank you!
easiest way to figure out which cables are from the same coil is to have two of them contact and when you turn the motor it should be harder to turn
Ngl, I was baited by that sexy cable management in the thumbnail
Beware, cheap USB break out boards tend to loose connectivity easily. I tried some, but instead of going USB, I went with the LPT port.. A PC with a build in LPT port can probably found for free .. Make sure the port supports EPP mode which you can set in the BIOS (other modes probably will not work, as cheap LPT port cards!)
Yes!! That's the same thing I bought years ago.
Nice Wire Management
I really enjoy watching your video and it helps me on my CNC journey. I know you posted this video a while back, but I hope you can give me some guidance on my journey. I followed your steps exactly and other videos/instructions, but for some reason I am unable to make any of my motors move at all - on my board I only get the red light and unable to get the green light to turn on. I tried all kind of set ups in mach3 but still no luck.
Nice video broski.
is it possible for you to link to the parts you used? I liked to get a better idea of the exact cost!
Did he ever respond back? I am asking the same question.
@@carolinecraig6253 he said in below comment tb6650 5 axis kit. Search in ebay or amazon
Very informative for some1 like me that is just starting out to research this
Nice video! However you should not zip the power supply lines the the logic lines
Yes I was wondering if you have a list of parts, and I was also wondering if you have copies of your drawings/blueprints? And if folks could get a copy from ya.
My suggestion is not to wire cnc's with internal drivers using boards such as grbl because they just don't have the current to run the step motors to get half decent results.
Tidy wiring! Nice look. Good use for that piece of plywood that is sitting around.
Yeah I was happy how it turned out. Works real well too. Thanks for watching!
This looks like the kit I got just recently (controller part) was there any dip switch turned on ? Why is it needed to turn it to 3500khz vs 2500khz and also. Happen know the pin configuration. From port to driver module ? Thanks
For even DUMBER people like me, we would appreciate a simple, SHOPPING LIST of EVERYTHING we need to wire up our skeleton, chasis.
Thanks for the explanation for the driver hookups. I just got a free Cnc 3axis from someone. Looking to re wire it with new wires and drivers. At the moment it has a parallel port to the controller. Where did you buy your stuff from.
Great video thanks allot
Nice I'll start soon
Your setup is very nice !!
Thanks man! It works really well. Thanks for watching!
I enjoy your video on the Controller box, however can you please tell me in detail what you ordered so that I can build one. I have been given a 4' x 8' CNC plasma table with a router setup, however no control box or electronics of any kind. I sure hope you can help. I want to get started, however as you may have guessed I'am new to this and have no formal training. Thank you
The yellow is the +ena. I got nothing when I had the driver +ena connected to +5v on the interface board. I also had the en on the interface board connected to -ena on the driver. I disconnected those and just have +5v on the interface board connected to +step and +dir on the driver, and step and dir of the interface board connected to -step and -dir on the driver. And then it worked. But it was turning in the wrong direction so I changed the cw/ccw switch (one of 8 small flip switches) to change it. The ena doesn't ena when connected, only ena when ena not connected, omg.
Great video..... Very informative
Thanks man, glad you liked it!
The wiring looks good, but has a huge problem. They should all be shielded cables with drain connected on one end to prevent EMI interference between motors. Easy isn't best. Plenty of videos on how to properly use and ground shielded cable.
The interference in this setup is not as bad as you think. Machine has been running great for a long time.
Now, my CNC plasma cutter, whole different story because of the high-frequency arc start, and very much has shielded wiring (which I used all the time when I used to wire up aircraft components at Lockheed). Probably the reason people have EMI issues with CNC machines is they run their VFD output (UVW leads) right next to their stepper leads. That is a recipe for disaster. My VFD isn't even in the same cabinet as my motion controller. Just my 2 cents.
No computer that I own, or any new computer motherboard or already built, has a LPT port. Mach3 is ancient and I believe Mach4 allows USB which is where it is at not an obsolete parallel port.
It took me a minute to find computers that had them. They do sell PCI Express parallel ports that you can add to your motherboard though.
As I understand it, the USB breakout boards work very well and are easy to setup. So might as well go that route if you're already having trouble with sourcing an adequate tower.
There are USB to parallel converters. They are like $5. However they are designed for printers. Not sure if you can get mach to work with them, or even if they have all the needed pins connected.
@@danielch6662 From what I read shortly after I posted here those don't work. Something to do with power and/or pinouts as Mach used a few pins for timing that a LPT to USB leaves out. A true IEEE-1284 to USB would be the only way as that would have all 25 pins used, but even then I have my doubts.
There possible that you can share the wire diagram? Great video thanks.
I'm building my first CNC machine using basic off the shelf parts- 4 nema 23/ TB6600 4A and a MACH3 breakout board. It's nearly time for the electronics, and I was wondering what would be an ideal power supply to run it all?
The cheap ones one ebay are fine, but I always like going to goodwill and going through their junk laptop chargers. They are good power supplies and cheap!
Hi! Nice content, subscribed. TY
I made an almost free power supply 50vdc 4.5amp using multiple laptop adapters. I made a couple videos about it.
Awesome SG. Thanks for doing this. You say at the end of your video is you want a simpler installation and a controller with support you should buy a bit more expensive one. Do you have any suggestions on manufacturers and model info? You have four drivers set up in your box, are you going to add another for your 5th axis, or are you only doing a 4 axis CNC?
I can’t recommend any other controllers because I’ve only used these two, but the reviews online for other units will give you the “pros/cons”, and it all boils down to what you want. I can say ditch the parallel ones, and get one that is compatible with Mach 3. Some have proprietary software, and you WILL have better luck and support with Mach 3 because everyone uses it. I’m only planning on running 4 motors, and my kit only came with 4 drivers, so I’ll just leave the “B” axis off, no biggie.
The BIGGEST headache is finding a computer with the right operating system and a parallel port. They are out there, but it takes digging, and I don’t want to lead you guys down the most difficult path. I can suffer just fine, I don’t want to put you guys through that.
Thanks SG. Wife has an OLD computer with a parallel port. Specs are AMD Atholon Processor 1.1 GHz, 256 MB RAM and it's running XP Home Edition 2002 SP 3. Will this work for running Mach 3 and the other software necessary to run a CNC?
Something I noticed, we have exactly the same utility knife (Milwaukee Fastback). I have been carrying this knife since 2012 and will never carry another utility knife. I also have the same Klein wire stripper/cutter, the cutter blade is messed up a bit from burning it on a live wire on mine though :-(
Here is the kit I am thinking about purchasing. Wiring does not scare me as I have considerable experience with electrical systems and repairing electronics.
www.ebay.com/itm/USA-4-Axis-Nema23-76mm-Stepper-Motor-Dual-Shaft-270Oz-in-TB6560-Driver-CNC-Kit/152875087398?hash=item239810b626:g:oaUAAOSwkRhZXELi
Ted H That's the same kit as mine. Just with one less axis. If I were you I would ditch the parallel port! The usb on this is just to power the controller.
A Milwaukee rep gave me one in like 2011, and I just can't use other knives since then! Definitely the best!
That's even the same seller I got it from. The instructions didn't even come with the kit, they emailed them to me. The kit does work though, obviously.
I didn't buy mach 3. I use UGS and it is reliable. But I hear good things about mach 3.
230V is a standard in my country🇳🇦
Thank you for your DIY videos! Do you have a set of plans?
I only hooked up one stepper motor to test. Set up as you have shown. 2,4,6,8/ 3,5,6,9. The stepper motor is warm but how do I make it turn?
I liked the video till I saw the hat you were wearing lol just kidding man great video man very informative
So computer wise (I hope you're saying) I can use a pc with win7 that is old & could be used for nothing but running the cnc? Obviously I'm no computer genious but I'd really rather not use an expensive computer to do this as it will live in my shop so I can make bits for the RC's I build on my channel.
Great video & info btw, can't wait to save a few bucks & get building this thing. Maybe by then I'll know what I'm doing pc wise enough to make mine as sweet as yours.
Hey from Calgary AB 🇨🇦
Precisely. Both of my computers were headed to the scrap bin before I got them. You really just need a parallel port, and the computer needs a program called "mach3" to run the cnc controller. Other programs work, but Mach3 is the main player in the game.
The computer can be the hard part, but patience will pay off! Good luck my friend!
@@StrangeGarage Also the computer has to be Win 32 as 64 bit Windows will NOT work with Mach 3
So I have a very large 4 axis cnc mill for building pool cues. Unfortunately it didn't come with a control box. I'm assuming it was originally parallel port driven only based on the old HP desktop that came with it. It's 4 axis. My question is this: since I'm a complete newbie to this, I was thinking about going your usb route you show. What controller did you use so I can try to find a kit?
thank you!!!
If you where gonna put this in a large powerful machine structure, would you need special protection for the controller, or in the case of DC motors? Can you do a video in this?
Go Hawks!!
That's a good man right there.
What kit and where did you get it ? Great video thanks !
very informative video, have two questions for you, your first controller, does it have USB support? if so would you mind posting a link for it? and for bonus question 3 is there a particular USB supported controller you recommend, if not your original one? I built my desktop CNC back in 2012 but put it aside due to the parallel port issue and lack of support from anywhere back then. Id really like to put it to use but the company (MYDIYCNC) is no longer in business so, looking to make use of the numerous paperweights ive got right now ha. TIA
-Alex
alejandro pena I'm afraid both of my controllers are parallel driven, so we're dead in the water there. The truth is though, I was not able to get my first one to work by myself. I have a friend who builds computers, and I had him configure the com port to talk to the CNC controller (turns out i had the wrong OS for the version of mach3 i was trying to run, dont be like me!). Perhaps you know someone with better knowledge of this process? I'm an amateur with computer hardware so I was the wrong guy for the job!
I only personally know one guy who uses a usb based CNC controller, and he said setup was basically "plugging it in". His is a sainsmart, but I'm sure they're all that simple. Regrettably, I have no first hand experience with that subject. I hope this helps, good luck!
😁
I bought exactly the same kit you have, and I did exactly the same but still does not work. The motor drivers will blink green when i jog but there is no signal coming out to the motors from any of them, I know it is not the motors because i measure it with voltmeter. Can you please share your setting for the mach3 and the wiring diagram. Thank you
could you add a full parts list and source to the description?
yeah go for the flaky usb ones
Can you show the settings if you run on USB only? And the switch setting? Thanks in advance!
Could you please share the references of all drivers?
Brother, plz share the wiring diagram of the ckt. it will be helpful
Do either of these boards allow to run dual steppers on the X, and still give you a 4th Axis?
@@donovannewton9507 What you're talking about is a slave drive. They are done through the software, so you just need a board that has enough driver outputs for the number of motors you need, then you enable those axis for slave, select and output and a direction, and you're done.
Hello my friend, I have the same board that is in your video, and I request you to send the circuit board connection scheme with the method for determining the ampere motors, and does the computer have special specifications, for example, a 4GB memory is enough or not thanks for your efforts
Maybe a dumb question. Could you provide a bill of materials?
Hi good tutorial video👍👍👍May I know what type of wyres are you using? Awg?
I think those were 14awg. To the drivers. Running 18-4 shielded from drivers to motors.
Hi . I want to make 3d printer but with mig welder torch . What controller would you recommend . 4 axis please .
Thanks Robert
Hi I would like to ask if there is any heat issues with your wooden box casing, since there is no exhaust fan. Is it just open?
No EMI issues? Where's the best place to get cnc wiring/supplies (shielded cables, etc)?
Ebay. I get almost everything from ebay. This build hasn't had interference issues, my CNC plasma cutter is a completely different story!
CNC chiling fan winding machine all system working with connection please sir
I went to Newfangled Solutions site and Mach 4 is now available. Will you be using Mach 4 on your new CNC you are building?
I believe Mach 4 is USB only. They wanted to have more specific software as people were getting away from parallel ports, because mach 3 is parallel based. So I don't think i could use it if I wanted to. Also I already have mach 3, so that seals the deal.
This makes sense. If I purchase a USB Only Motor Driver should I plan on buying Mach 4? Or if you had a USB only and did not already have the Mach 3 license would you go with Mach 4?
@@StrangeGarage Actually it has support for parallel too with the 'Parallel Port Legacy Plugin for Mach4' ... But really, you should do yourself a favor and move to something better, I would even advise ethernet as EM interference is a bit of a bother on USB (and some of the lower cost china spindles do generate a lot of EMI).
I jsut bought a Mach3 usb board. Was wondering if you have a wiring diagram....
Are those motor wires sensitive to RF interferences?
You mentioned Mach 3. ..QUESTION... Is Mach 3 used for the actual designing, as well as sending the file to the cnc, or is it just a sort of driver? Remember, I'm dumb. You need tot explain to me like i'm five years old. Nana Nana Boo Boo.
Could you pls upload a spare part list?
I need your help to troubleshoot my cnc machine
Nice it's a very informative video for me but I want to ask a question to you, I have a cnc router machine which have same mach3 interface board like yours now I want to add a 2500mw laser module in my cnc router so do you know that how to connect/wireup laser in this board please guide me if you know.
Healthy Grow Should be able to use the control relay built into the board, and use that to turn on your lazer. The relay is only 5v, so you will likely need another relay and power supply to step up to whatever voltage you need. That'll be a cool project!
Is it possible to connect two breakout board mach3?
I don't have a parallel port in pc.
USB mach3 have only 4 inputs, i need more for THC.
Can you share those specific parts list?
Hi mate. Love this project. Have a question. How much would you charge to supply and build all this for me. Wires hook up. Ready for me.. and sent to me. I live in Australia. Melbourne...
Please give us link for driver as you used here .
Hello , can you vive me the complète electrical diagram for the 4 axes? Thank you very much
Which drives did u use specifications??
Did you Mount a fuse?
Where did you get all the parts? If you don't mind me asking how much was the entire CNC machine including these new electronics?
Ebay & amazon. It was about $800 all in. Beauty is, the machine is scaleable. Make it whatever size you want and it doesn't really change the cost much.
@@StrangeGarage that's a great price. Thank you. I'll check it out.
nice video.
I just got one question!
does every controller compatible with every controller software?
I bought a CNC machine from China, and the software as been a nightmare. it came with Mach3, but not the original, in which I tried to install it, all the defenses of my computer went on red alert. Even after install it, I couldn't make the machine move 1mm. as well, it seems like, Mach3 just work on windows XP or 7. bad thing if they want to keep a market share...
Now I've order an Arduino uno, with the Arduino shield, and try to run the machine with the universal Gcode sender, and try to use and use the stepper motor controllers and the power unite that came with the machine, that way it wouln't be a total loss of money.
I appreciate you could shed some light on this topic, or maybe you have already a video about this subject, that you could pass me the link.
thanks so much in advanced.
best of luck with your UA-cam channel
What operating system are you running? Yes, it is a nightmere getting the board to communicate with the PC.
@@StrangeGarage windows 10
Good luck with those toshiba drivers.
Sir,Parts list pls?
How to buy these parts please give us buying link
please write name of the components
where we can get all parts and schematics diagram , thank yours
Ebay. It's a "TB6560 5 axis kit". Comes with instructions.
Hi there I wonder if there is any place that can buy a interface with both USB and DB25 ports , ? compatible with Mach 3 or 4
There isn't a Motion Controller than I know of with that ability. Eventually I expect them all to be USB driven which will be a good thing for new users because of computer compatibility. Good luck!
can you please include info of parts that you have used ???
As far as electronics, I just used a TB6560 controller kit with external drivers and nema 23 dual shaft motors. It was all included in the kit. The machine itself was homemade, and I detailed all the parts I used in the build series. Here's a link to the part 2:
ua-cam.com/video/TsiOvKOgUhI/v-deo.html
I am very curious what your computer will consists of
The software is super basic. It could pretty much run on windows 98, so as long you have a parallel port you can use any computer. One of my computers has windows XP, the other has 7, I've had no issues with either computer.
Hi
please what all tools name?
How abouté Switch in driver curent. And merci step
Hey. Have you got a link to where to purchase components?
Thank you Dave
The individual components are all a Chinese Hodgepodge of electronics, so no two kits are going to be identical. The base components are the 5 axis TB6560, and the drivers. You can use NEMA 17, 23, or 34 motors and you should be fine. Power supplies are even more universal. I've used the included one, I've use a laptop charger, even a car battery in a pinch.
Basically, there is no "perfect" kit, regrettably.
Hello how do I get in contact with you
Working on a project
Please can you send me mach 3 software for pc downloading
I almost came close to buying a kit similar to yours (How are they working out) I ended up buying from wantai, sad thing is my kit never came with a wiring diagram.
What size wires would you recommend ?
between 16 and 12 guage will work fine. Working great so far. Better than they should honestly. Did you get yours up and running?
Wish I seen this comment before I ended up going with 18 gauge wire, I watch another vlogger where he connected the electronic components together, Yes I have wired it up BUT I couldn't test it due to the parallel to USB cable was the wrong type parallel plug, so I ordered a new cable, as my pc does not host a parallel port.
Just sad as my kit never came with any paper work apart from the invoice ;-(
I have no idea weather I need to change any dip switches on the Driver as of now they are still set to default.
CNC Router Frame is partially built, short afew machine bolts, limit switches, motor mounts
no luck with parallel port card, I assume your pc came with parallel port ;-(
Oh yeah I brought a parallel port card, yep came with a driver disc with like 20 different drivers, did I load the right one I have no bloody idea, I tell ya what it was like a Chinese scavenger hunt full of frustration.
Oh top it off yes found a wiring diagram and wired it to that does it work no bloody idea, BUT why is every bugger wiring it up so many different ways, rolls eyes shrugs shoulders.
Lol, that's exactly the situation I found myself in every time I built one. My 3D printer was the same way. It's almost like the computers with parallel ports are worth more than the controller.
I tried for 2 weeks (not kidding) to get a PCI add-in port to work, and it literally never did. I called a computer guy and told him "I can't", so he did. Been working great ever since.
I just recently brought a UC100 parallel port adapter (yeah I could of brought a used computer for the same price with a virus or 2 with a parallel port from some dodgy person in a dead end culdesac off craigslist. ) as I read into afew vlogs not all parallel ports will work with CNC or Mach3.
There was nothing wrong with that wiring diagram (it's working now) as I all most came close to rewiring when I decided to check if mach3 would detect the estop and it did not so I thought just maybe it was not receiving any signal from pc to breakout board and I was correct.
soon as I connected that over priced expensive hardware it came to life those people must be making a killing off that device.
My next step is trying to calibrate stepper motors via mach3 . With not luck yet as the auto setting is not helping unless I have some setting value wrong else where, I use the auto setting put how far I want it to move (50mm), then measure that distance then input that into the text box, then it auto updates, I recheck it and it moves 30mm, so I go through the process once again and it gets smaller, kinda like 5 steps forward and 2 steps back, and if I keep repeating it will get to the stage it won't move.
so I don't know maybe I have something set wrong else where ( thank you china for the wonderful product with no instructions )
I believe you aren't that clear about mains power. Next time I would suggest to say a disclaimer telling viewers about the dangers of mains and that different countries have different voltages, color codes and other things so that they should check it themselves.
They may be surprised to cut off a connector off of a power cord and see some completely different colors and be like WTF?!?
Other than that, this video seems very nice!
Also, 2:20 dat cable management.
Teach me my master! TEACH ME!!!
if you are dumb enough to play with things you don't know or understand, there is no disclaimer that will save you from death....
So, no disclaimer needed here....
ease perfect test @santos
Hi,i want to build my cnc , what cnc kit to buy
It's just a generic controller with nema23's and external drivers. They are all cheaply made and basically the same. I have been able to get every CNC kit I've purchased to work so far.
So eh... You could make an accurate wiring diagram and share it yeah?
The only thing I changed was the motor wiring. I drew it onto the diagram towards the end of the video, but I have 8 nema23 motors and the wiring isn’t the same from motor to motor, so I can’t just say “wire it like this” because there is no one way to do it. Sorry this doesn’t really help, this is the exact reason I recommend not buying directly from China. Some people never get their TB6560’s working, maybe I just got lucky twice.
I think you might be mistaking wire color with anything important. You need to identify the windings. They will usually be on the same listing you buy the motors from. But yah that "wiring diagram" they sent you sucks. There are ways to identify windings though so google it.
hello friend help can't connect