Arduino BIG Stepper Motor control. Rotary Axis for milling machine.

  Рет қаралды 891,843

AvE

AvE

Күн бұрын

NYC CNC did a good vid on the same topic, different application a few years ago: • Use Arduino to Control...
THANKS FOR POINTING OUT MY MISTAKE! "count less than or equal to pulseset" caused it to turn 2401 steps. You can see a little ridge in the part where it goes too far. Fixed by removing equal. "count less than pulseset"
Wiring connections
Arduino Pin 8 to stepper driver pulse +5V
Arduino Pin 9 to stepper driver direction +5V
Arduino Ground to stepper driver signal ground Pulse -ve, Dir -ve, enable -ve
Arduino +5 volts to on/off switch to stepper driver enable +5V
Helpful hints:
1. Pick the size of motor you need for the torque/power you need. Don't know? FIND OUT!
2. Determine the voltage and current of the stepper motor.
3. Determine the stepper motor driver that will power your stepper motor with some extra fudge factor (this stuff is cheap). Big Easy driver or Adafruit motor shield for small stuff. "CNC stepper driver" for big stuff.
4. Determine the power supply you need for the input power, voltage and current your stepper needs. Add extra fudge factor.
5. Get an Arduino. (Like you don't already have 3 of them kicking around).
6. Cut and Paste the code to the Arduino IDE; upload to Arduino.
7. Hook up wires per the diagram on the stepper driver box and the Arduino Sketch.
8. Hook up a switch from +5V from Arduino to the "enable" terminal of the stepper motor.
9. Hook up all 5V signal ground from the stepper driver (negative) to the arduino ground.
10. Set the stepper driver DIP switches for the max current, holding torque and steps per revolution you require.
11. Triple check your work. Cross your fingers and toes. Plug in the power and hit the "enable" switch.
Long term projects here: / ave

Пікірлер: 990
@MatHelm
@MatHelm 7 жыл бұрын
To check for A and B wires, just touch them to each other (2 at a time). A- to A+ (or B to B) will put the brakes on the stepper motor when you turn it by hand. No meter needed...
@jl9816
@jl9816 7 жыл бұрын
Mat Helm or read the label on the stepper.
@MatHelm
@MatHelm 7 жыл бұрын
Your's still have labels? Wow, you must be rich..... ;p
@carlovani5548
@carlovani5548 7 жыл бұрын
The label says 红色和绿色是一对黄色和蓝色的b边对 Not really helpfull is it?
@gillasosaurus
@gillasosaurus 7 жыл бұрын
It has the color code on the motor..
@pholtaus
@pholtaus 7 жыл бұрын
4th line down on the motor label, colour codes in English
@YorksDashCam
@YorksDashCam 7 жыл бұрын
Three videos in as many days, it's like a dream!! Keep up the good work!
@Durrdalus
@Durrdalus 7 жыл бұрын
4 in 3
@TheBreadboardca
@TheBreadboardca 7 жыл бұрын
Must be on a sabbatical :)
@treynathaniel4075
@treynathaniel4075 7 жыл бұрын
Anyone ask him why there are dicks drawn on the "computer" screens yet?
@mdjpurdon
@mdjpurdon 7 жыл бұрын
That's the watermark for an unregistered version of AveCad. It would be weird it if there wasn't a dick on it tbh
@Broadpaw_Fox
@Broadpaw_Fox 7 жыл бұрын
That's not as much of a curiosity as is the question "where are the vices??" lol
@TheWireEDM
@TheWireEDM 7 жыл бұрын
If you want an exact half a revolution, then your code needs some tweaking, as now it goes 2401 steps in your while loop, because 0 to 2400 are accepted conditions. If you start from zero, your compare has to be count < pulseset, so drop the equal sign.
@lynnwillis441
@lynnwillis441 7 жыл бұрын
I have no idea why I watch these because 99.999% goes right over my head, yet I never not watch. I love the way you take a problem and bust your nuts until you get it to work. Thanks for putting your work out there. Keep them coming, and I shall keep my penile appendage firmly entrenched in the metallic gripping device.
@abcqer555
@abcqer555 6 жыл бұрын
Please do more of these educational videos. I like your tear downs but these are super duper helpful with your entertaining and no nonsense approach. I was struggling to wire one of these suckers up and you helped me understand it (and understand that the PWM signal from a beaglebone isn't powerful enough to trigger it)
@lorcankelleher5434
@lorcankelleher5434 5 жыл бұрын
I really like how laid back but also honest you are. Feels like my dad explaining cnc to me. Love it.
@gravylookout
@gravylookout 7 жыл бұрын
I have absolutely no use for the knowledge I absorb from these videos but they are so well done and interesting to watch. thank you!
@rollin3480
@rollin3480 6 жыл бұрын
gravylookout same!!!
@hbj0123
@hbj0123 6 жыл бұрын
gravylookout, I'm glad I'm not the only one. The lingo is worth watching the vidjeo.
@hunterwilliams2833
@hunterwilliams2833 3 жыл бұрын
You never know when something will be useful.
@CProgrammer3088
@CProgrammer3088 7 жыл бұрын
Starting the count at 0 and then using
@ivanblogs
@ivanblogs 7 жыл бұрын
Yep. Off by one error.
@ryankimball6030
@ryankimball6030 3 жыл бұрын
OK 7 7yo. 5
@CProgrammer3088
@CProgrammer3088 3 жыл бұрын
@@ryankimball6030 Hmm, pretty sure I was 20 during this comment, but sure! Hope you are enjoying grammar and mechanics class.
@ryankimball6030
@ryankimball6030 3 жыл бұрын
@@CProgrammer3088 that was a total accident. I butt-commented. Sorry.
@CProgrammer3088
@CProgrammer3088 3 жыл бұрын
@@ryankimball6030 in that case I apologise sir. Have a good one!
@modrobert
@modrobert 7 жыл бұрын
Thanks for admitting mistakes and not giving up, its what makes this channel so great. Talent means nothing without persistence.
@fuzzy1dk
@fuzzy1dk 7 жыл бұрын
a few points; The current in the stepper determines the torque, the voltage on the driver determines how fast you can reach that current, i.e. how fast you can run the stepper and still have torque. You can run that stepper with 12V you just can't run it very fast. And if you want to run the stepper fast you need to ramp the speed up and down, there's a limit to how much acceleration you can have before you lose steps
@MrJunkiePlay
@MrJunkiePlay 7 жыл бұрын
aww waking up and seeing a new Ave Video #GoodSundays
@2450logan
@2450logan 7 жыл бұрын
MrJunkiePlay aww going to sleep on a Monday morning (1:00am) farking CHOOCH AvE flogging me with another video arggghhh
@kylewilliams6679
@kylewilliams6679 7 жыл бұрын
absolutely amazing :)
@MrJunkiePlay
@MrJunkiePlay 7 жыл бұрын
hehe :P well its now 3 pm hey nice sunday i would say
@kylewilliams6679
@kylewilliams6679 7 жыл бұрын
indeed lol
@TheBreadboardca
@TheBreadboardca 7 жыл бұрын
Hi AvE, love the show, i'm in Canuckistan myself just outside Torona :) Re the stepper (Incase anyone else wants to follow along) and to save them blowing up shit unless they want to. The stepper is a nema 23 not a 34. big difference in many ways. the 70V is the controller max, the stepper spec is 3A and 1.6uH (Inductance), The volts that the supply can be is calculated from this but if you put 70V right to the motor it would let out the magic smoke big time as its resistance is only about 1ohm, they operate on reactance. The calc for optimal torque is simple enough to do with the old slide rule 32 * VL = VMAX where VL is the inductance so simple 32*1.6 = 51V, so the limiting factor is the stepper, not the controller. 48 is more than enough though for most cases, 70V will probably cause the stepper to overheat, as would the apparent 4.5A you were pumping into it there :), based on the clamp meter reading. 70V would not produce any appreciable increase in torque vs a 48V psu, either way None of the 70 pixies is applied to the motor in a DC Volts sense, its a pulse so the inductance of the motor limits the current for a very short period, the controller cuts it off at the right time before it fries the motor. lastly, microstepping makes the movement smoother (Changes the shape of the pixies applied to the motor toward a sine wave vs a square wave which is the case with no microstepping. At low speeds it makes little difference, at high speeds it helps alot Microstepping rarely does anything for accuracy though when above about 8 or 10 microsteps The GeckoDrive folks have some great info on how to work all this shit out if you or your viewers are interested... here:- www.geckodrive.com/support.html/
@jason-ge5nr
@jason-ge5nr 7 жыл бұрын
With a little modification you could take that square stock and make it round stock and sell it and make a fortune
@theomnipresent1
@theomnipresent1 7 жыл бұрын
I think a lathe would be much better suited for that purpose; speed, cost and stock length abilities.
@davidbrandon4364
@davidbrandon4364 7 жыл бұрын
theomnipresent1 really?
@stevenkelby2169
@stevenkelby2169 4 жыл бұрын
@@theomnipresent1 No this would be much more efficient than a lathe.
@RickSaffery
@RickSaffery 5 жыл бұрын
Dude, watching your video automagically has me compelled to expand my machinery like a gas. I've got to add a rotary axis to my kit. That will eventually become two, then ten. Your clips are boss!
@Captain__Obvious
@Captain__Obvious 7 жыл бұрын
That while loop will actually do 2401 iterations!
@h82fail
@h82fail 6 жыл бұрын
Yep, take away the = or start count at 1
@stanimir4197
@stanimir4197 3 жыл бұрын
yup, seeing "
@ti3685
@ti3685 7 жыл бұрын
even if I have NO idea what you are talking about in those kind of videos were electronics are involved, I still enjoy watching them.
@godfreypoon5148
@godfreypoon5148 7 жыл бұрын
It ain't "big" until they have to upgrade the transformer for your street. Yes, a home gamer can feel the need for 60kW.
@brockbain8656
@brockbain8656 7 жыл бұрын
Godfrey Poon i seen a dude setup a fab shop in his shed, all them welders and other stuff running
@kainhall
@kainhall 7 жыл бұрын
sounds like my cars stereo... arnt loud till your running a higher out put alt from a different car you made work...like 4 batteries....... can never have too much powaa
@SuicideNeil
@SuicideNeil 7 жыл бұрын
Sounds like something PhotonicInduction would do/need... :D
@godfreypoon5148
@godfreypoon5148 7 жыл бұрын
+Bainanaz Ah yeah, that's my scenario also. A plasma cutter, big air compressor, carbon air arc gouging, etc, and then I made an induction furnace. I just wanted to cast some iron, you know. Ain't no such thing as too much powah.
@treynathaniel4075
@treynathaniel4075 7 жыл бұрын
1.21 gigawatts.
@gorrilamachine
@gorrilamachine 7 жыл бұрын
I can't stop myself from posting this. As a CNC machinist G & M codes are really easy to learn. Each machine is a little different. But for the most part it takes 10 minutes to write a program without using drafting software at all. You're obviously a very knowledgeable guy take a couple of hours and learn G codes. It's the Mcodes that normally do you in. M codes are machine function codes like turn on cutting fluid pump / turn off cutting fluid pump /rotate left / rotate right that type. G codes are the numerical ones that work with the input numbers. G0/G00 =rapid movement to a certain spot (NUMBERS) G1/G01 interpolated movement to a certain spot (NUMBERS). Dude it's easy.
@BerndFelsche
@BerndFelsche 7 жыл бұрын
You can go straight to G-code with CNC. No CAD. No CAM. Look at grbl shield: which STILL won't drive the big steppers directly. But it looks like a simple CNC system, from 1 to 4 or more axes. Doing it with less is fun and instructive, so even if you go for slightly more complexity, then you'll solve problems much faster​. Nice video.
@dakotaswain5531
@dakotaswain5531 7 жыл бұрын
Just wanted to let you know that I have been enjoying the increased frequency of vidjos thank for the laughs in the shop
@donniefiechtner5437
@donniefiechtner5437 7 жыл бұрын
Old toolmaker tip. If you mount your rotary axis parallel to the spindle axis, you can smooth out that surface finish, rigidity permitting.
@ProfRonconi
@ProfRonconi 7 жыл бұрын
Good to know! Thanks.
@patrickbentley4038
@patrickbentley4038 7 жыл бұрын
i love the approach of gradually getting up to a cnc like setup its like watching the evolution of mechanical engineering but whith all the gadgets that are currently available not a first there was this then someone added this timeline approach. as someone who loves to tinker but has limited time at home i love your channel as it gives me so many idea's and reduces the learning curve on so many projects the fact that the audrino can do so much at its price point just amazes me but with enough code and the right shield things can happen. keep up the great work
@brianboni4876
@brianboni4876 7 жыл бұрын
"AvE creates CNC machine while vehemently denying it."
@brianboni4876
@brianboni4876 7 жыл бұрын
That's right, all you made was a Numeric Controller that runs off a Computer. NCC is not CNC at all ;)
@NGC1433
@NGC1433 4 жыл бұрын
He did there, eventually.
@lpjunction
@lpjunction 4 жыл бұрын
Finally it is ONC ordinateur numérique commande not CNC
@BrianBoniMakes
@BrianBoniMakes 4 жыл бұрын
@@lpjunctionbéni-oui-oui
@TankGunner84
@TankGunner84 3 жыл бұрын
There no G code.... so he’s holding on to that.... or so he says lol
@Liberty4Ever
@Liberty4Ever 7 жыл бұрын
I bought the same 4th axis from China but had to completely rebuild it. They used tiny little MXL pulleys and belt that had a ton of backlash and no rigidity. To tension the belt they slid the motor pulley farther on to the shaft which is a really crappy way to tension a timing belt because it causes misalignment. I'm glad to see that they are making a beefier version that will actually work for light-duty CNC machining because the version I bought wasn't even robust enough to use as the 4th axis on a laser despite the fact that they marketed it as a CNC 4th axis.
@darko3111
@darko3111 7 жыл бұрын
Spends minutes to check which wire is which, while it's right there on the label of the motor. Oh never change AvE!
@tedjetcassette3002
@tedjetcassette3002 7 жыл бұрын
likely does'nt trust those labels and need to see it for himself that they are correct. proby been down that path before where incorrectly labelled.
@forthereg
@forthereg 7 жыл бұрын
I have to say in his defense , I would have given up on the first line where it said A+(chineze font) A-(more chineze font). plus im sure he is trying to teach us about steppers .. that's the point of the video ... aint it ?
@tedjetcassette3002
@tedjetcassette3002 7 жыл бұрын
Agree. Teaching us what's inside without a tear-down.
@bearsbugs
@bearsbugs 7 жыл бұрын
And not every stepper you find still has a label even if it left the factory with one.
@spehropefhany
@spehropefhany 5 жыл бұрын
@@forthereg The wire colors are clearly marked in simplified Chinese and English. 红/绿/黄/蓝 = Red/Green/Yellow/Blue that and 黑/白 (black/white) and maybe 棕/紫 (brown/purple) will get you a ways.
@DougHanchard
@DougHanchard 7 жыл бұрын
One of the best presentations of Ardo and Rasputin doin its thing I've seen on the 'net. Hopefully some kids actually watch this, become curious and start doing stuff with it. Seriously, really cool to see this kind of usage of basic computer chips and computer I/O code integrated into our basic machinist world. Stick your pixie in a vice!
@RikkiPitt
@RikkiPitt 7 жыл бұрын
Hey +AvE. A small refactor to your Arduino code and you could specify rotation in degrees - might be easier to update when you come to edit your code down the line rather than having to remember 4800 steps = one revolution. Also, your while loop might have an off by one issue, counting from zero to less-than-or-equal-to (
@jobturner7925
@jobturner7925 7 жыл бұрын
The first 5 minutes of this video gave me flashbacks, to my struggles with the same type of stepper motors and drivers. I ended up in much the same spot. With a bit of chewing gum and bailing wire and a few automotive grade diodes you can tie multiple power supplies together in "cereal" to up your voltage on the cheap. I was only brave enough to go with 2 25V 15 A supplies. Great work, and a great video. Also nice computer graphic.
@slep5039
@slep5039 7 жыл бұрын
Nice Hitchhiker's Guide reference!
@3MrP3
@3MrP3 7 жыл бұрын
So many uploads in the last couple of days, awesome!
@darrengreen7906
@darrengreen7906 7 жыл бұрын
Congrats on 400K
@jaywest4102
@jaywest4102 7 жыл бұрын
Isn't there a big cnc company that can send AvE a great CNC machine just to piss em off and make him smile simultaneously
@urbanweekendwarrior7238
@urbanweekendwarrior7238 7 жыл бұрын
It seems like you're using a Computer (arduino), with Numeric input, to Control a milling machine ;) Lets not call it a CNC though ;)
@codyswanson8481
@codyswanson8481 3 жыл бұрын
The fact that you used Erik Satie's Gymnopedie makes me appreciate you all more Chris.
@Cadwaladr
@Cadwaladr 7 жыл бұрын
The Satie music was very relaxing.
@pmolz
@pmolz 3 жыл бұрын
But also a pain to play haha
@patrickdooley989
@patrickdooley989 7 жыл бұрын
so many videos in the past few days!!!!! LOVING IT!!!
@nickvenn5453
@nickvenn5453 7 жыл бұрын
God damnit, I need to get myself a mill and a lathe.
@StormbringerMM
@StormbringerMM 7 жыл бұрын
Nick I just started on this trail... I need to do questionable things to fund it...yolo?
@chrisbrown18andup
@chrisbrown18andup 7 жыл бұрын
Jeff Streak "yolo?" yeah, I'm a day trader too. /r/wallstreetbets
@toysareforboys1
@toysareforboys1 7 жыл бұрын
Depending on where you live and quantity/quality $500 for each shmoo deposit.
@pwest3732
@pwest3732 7 жыл бұрын
Nick, Good place to start is Taig. Mill or lathe. I have the CNC mill, does some great stuff. Can have a super setup for $2200ish.
@tdschisel
@tdschisel 7 жыл бұрын
I don't want to see polished finish products. I want to see the process, the struggle, the frustration, then the satisfaction of beating the system and getting it to work. great job!
@grieske
@grieske 7 жыл бұрын
This is an awesome build. Why didn't you mill with the rotary table axis vertical? I would expect a better surface because the bottom of an end mill doesn't cut flat, but the side does.
@idahopsycho1261
@idahopsycho1261 7 жыл бұрын
I see in your notes you wrote "solidworks". I used to use that. Fusion 360 is the new truth and the the light! Free to hobbyists and start ups! $300.00 american per year if you buy it! So cheap, or free! Go right from modeling to programming and generating (god forbid GEE CODE) gcode. Solid works is $3500.00 for single seat license and $1700.00 per year (every year) to use. Plus you have to buy an external programming gcode generator on top of it. I am not being paid to say that, I have their software and I use it. I just think it is the new hotness based on price and useability. You should check it out. I love the arduino demo. Great job! Great technical breakdown to follow at home!
@JBFromOZ
@JBFromOZ 7 жыл бұрын
Other pretty cool controller is "smoothieboard" way more capable, onboard stepped drives for reprap 3D printing or nema17 size steppers, but also has breakouts for pulse and direction to use external stepper drives without much more fuckery, also has Ethernet and can host its own website (eg pronterface for 3d printed control from web) I'm working on re-braining industrial embroidery machines with smoothie, some docs off smoothie site
@1pcfred
@1pcfred 7 жыл бұрын
I suppose if you need a reliable supply of hardware a case can be made for Smoothieboards, but most one off hardware hackers can get their mitts on a defunct PC that is at the same time more capable, and less expensive too. I know I have LinuxCNC running on a PC that I picked up for $5. It'll totally piss all over a shit stain Smoothieboard too.
@JBFromOZ
@JBFromOZ 7 жыл бұрын
Paul Frederick smoothieboard... that word I do not think it means what you think it means. A crapped out PC makes the G-code, it does not drive the steppers. You then need something with enough comms, pins and CPU to turn G-code back into stepper commands. And these days all the cool kids are 3d printing their own custom cases with temperature sensing pink to purple dicks sticking out of the top, so you can stick that dick in your vice whilst still retaining full mobility around your 'shop
@1pcfred
@1pcfred 7 жыл бұрын
JBFromOZ I have 3 TB6600 stepper drives hooked up to a BOB I made. So that cost another $30. My whole CNC machine only cost twice what just a Smoothieboard does. Motors, drives, PC, frame, linear guides, actuators, spindle, all of it. Every nut, bolt, and screw!
@mnshp7548
@mnshp7548 7 жыл бұрын
well done Chris, got up to 400000 subscribers . nice work man, hope to see this channel get to half a milion
@LMSILVIA
@LMSILVIA 7 жыл бұрын
Loving the Wyle E. Coyote schematics hahaha
@thesunexpress
@thesunexpress 3 жыл бұрын
Bit late to the party here, but having recently dove back into Arduino skullduggery, I've found that the "glitching" with the aforementioned DIY electroonics---particularly when return signals are needed---was due almost entirely to dirty signals coming from the Arduino board. For reference: Using the genuine item here, not the any of the myriad of fly-by-night knock-offs of the Arduinos available on the intnerdwebs. Adding some electronic smoothing circuitry to the return signals made my day. This was after banging my head on the table constantly thinking it could only be the dodgy USB cable powering the cobble-rigged-setup.... which, in fairness, was partially to blame as well, switching to better quality USB cable & signal smoothing tweaks did the trick. Resistance test your USB cables! Doing so set a light bulb off, which lead to taking a closer look at input/output signals elsewhere. Making sure your supply voltages are stable is also key. #FocusYouFark
@jodelboy
@jodelboy 7 жыл бұрын
damn next video already? :D this channel is pretty skookum, chooching along nicely
@OldCurmudgeon3DP
@OldCurmudgeon3DP 6 жыл бұрын
I've been fighting a DC motor circuit w/ feedback for a telescope mount forever. Finally chunked it and went with a geared nema17 stepper. Ain't looked back since. Love the little Uno's.
@gregadams558
@gregadams558 7 жыл бұрын
That is clearly Dr Evil's rocked on your hand-drawn computer monitor.
@petermiddo
@petermiddo 5 жыл бұрын
Unless rocket is a euphemism.....
@KipKiperMusic
@KipKiperMusic 7 жыл бұрын
This Old Tony is awesome. Glad to see he's getting a larger audience. I binge watch your vidjeos and his
@thomaswilliams
@thomaswilliams 7 жыл бұрын
Congrats on 400,000 Subs AvE :-)
@phitsf5475
@phitsf5475 7 жыл бұрын
Awesome video. I've often thought I wanted to drive a large stepper motor but I had no idea how to do it. I still don't really have an idea but I feel slightly better about that.
@SkewToob
@SkewToob 7 жыл бұрын
My fiance gives me a massage while I watch, as she calls them, "skookum choocher" vidjayoes. So, thank you very much sir for this flurry of content.
@tedjetcassette3002
@tedjetcassette3002 7 жыл бұрын
AvE you must be proud. Awesome vijeo. Three (3) uses of HPHT. Awesome topics, machining, Arduino, electronics, C programming, fun, fun fun! And >400K subs. Learnt so much in a 27 minute YT.
@kanibalhobo
@kanibalhobo 7 жыл бұрын
that bridgeport mill just sounds like it's on deaths' door
@zedex1226
@zedex1226 7 жыл бұрын
his Bridgeport isn't in great shape but it's honestly not real bad. the horrible noises are likely from a lack of rigidity in the overall setup. rotory setup is clamped to the table, I don't think it has a brake, work is held in its chuck, etc etc. that all stacks up. thump thump on it with a big ass EM like that and it's gonna get the whole thing rattling around like crazy. some things that help with that kind of thing (short of a stouter setup) smaller EM, more rpms, more consistent engagement, smaller cuts done faster.
@kanibalhobo
@kanibalhobo 7 жыл бұрын
Pretty sure the entire table has visible play in it
@samueljames9342
@samueljames9342 7 жыл бұрын
Dam, now I have to go back to the dumpster and get the dedicated power supply that goes with the stepper motor and gearbox I found. They pitched some old equipment where I work so I scavenged everything I thought I would need to experiment with a stepper motor. Great video Ave.
@SJAndrewbsme
@SJAndrewbsme 7 жыл бұрын
Weren't you worried about throwing chips into the ICs and breadboard?
@bass0129
@bass0129 3 жыл бұрын
Since learning what the fuck an arduino is and how to use one, I have a new appreciation for this channel
@TerryPullen
@TerryPullen 7 жыл бұрын
Why is it i've never seen AvE and This old Tony in the same room?
@Mystickneon
@Mystickneon 7 жыл бұрын
Some things, if you get them too close together, they will explode...
@wylieecoyote
@wylieecoyote 5 жыл бұрын
That was "g-code"? It looked like 'C' programming to me.. probably a hybrid. Well done video that could be adapted for many purposes! I am glad you explained how to check the motor wires in case the label is wrong or missing. It is a big help if we are repurposing something from the junk heap or out of another product. I enjoyed it warts and all! This was like sitting in a buddy's garage drinking a brew and tinkering with stuff. Keep it real!
@narebalke
@narebalke 7 жыл бұрын
Very detailed and well. Thank you.
@jamesjahoda1613
@jamesjahoda1613 7 жыл бұрын
At 4:12. AMEN brother. Every idea I ever have ever again needs to be prefaced with at least a fleeting memory of those wise words.
@Not_Whelan
@Not_Whelan 7 жыл бұрын
Now you just need a stepper to drive the knee and the table and you can enjoy your favorite libation while the machines make chips! Just try not to let them get sentient.
@someguy2741
@someguy2741 6 жыл бұрын
Whelan lol. Have you seen the jankiness? I say encourage it to become sentient.
@rlrfproductions
@rlrfproductions 7 жыл бұрын
If you're really looking to get accurate timing unbothered by the laments of serial communication, you might want to look into dicking around with setting up the AtMega's internal timers and interrupts. Little more involved and requiring some low level C, but you can do it from within your sketch and have your PWM signals absolutely guaranteed to be solid and unperturbed by anything else going on in your code
@joecoastie99
@joecoastie99 7 жыл бұрын
thank God for smart people because this stuff is way beyond my comprehension
@DougHanchard
@DougHanchard 7 жыл бұрын
You are not alone. BuTTTT - if you take your time, you can actually do this. Don't sell yourself short.
@TaylorShockey
@TaylorShockey 4 жыл бұрын
Super helpful. Thank you. I'd really like to hear more about your thought process when choosing an electric motor for a given project: (1) Determining the right type: AC brushless, DC brushless, direct drive, linear, servo, stepper, etc. (2) Finding the optimal combination properties at a given price: speed, efficiency, torque, etc. For example, I was toying with the idea of seeing just how powerful I could make my custom shop vacuum system. The optimal combination of motor properties for this project would vary considerably from those best suited for a CNC machine or blender. If you were doing something similar, how would you go about it? PS -- If it doesn't already exist, someone should really make an electric motor flowchart or web app.
@TomasSab3D
@TomasSab3D 7 жыл бұрын
GRBL goes into arduino... and you control 3 axis... Teacup in arduino - and you control 4 axis. Even with a UNO... G code converters are free.
@CatNolara
@CatNolara 7 жыл бұрын
Is it problematic to use 3D-printer firmware for CNC? I use grbl and it works quite good, but Teacup seems to have some additional neat features. Does it also run on G-code?
@TomasSab3D
@TomasSab3D 7 жыл бұрын
Yes, Teacup uses G code. But I am pretty much where you are - tried GRBL on 3 axes, was about to test Teacup, but the machine was very noisy, thus ended up buying a quiet small 3D printer (Davinci mini) instead. Autodesk has some nice CNC software, though. It supports all types of multi axis machines - 3, 4 ,5 axis CNC for free (student license)... it's amazing. And should be compatible with Teacup.
@CatNolara
@CatNolara 7 жыл бұрын
Do you mean Fusion 360? Yeah, that is great, but still not tested with my CNC. I like milling more than printing, you can work more acurate and with different materials. Do you mean the machine was very noisy with teacup or in general?
@TomasSab3D
@TomasSab3D 7 жыл бұрын
Yup. Fusion 360. never used it though. Not yet. The machine I got is some old 3 axis stand from the lab. They wanted to throw it. I took it. The thin weights 50kg or so... had to carry it 50 meters, open a door and drag it through two tight doors... and it's one loud son of a diddly... weeee woooooglelele wooooo hooooooglelelelle kr kr kr kr kr kr woooo!! it's crazy loud... but sturdy. I love it. The woman hates it, though. We got a small apartment, and the thing is big, like a 50x50x15 cm platform.
@CatNolara
@CatNolara 7 жыл бұрын
Nice, I hope it's tough and rigid. My mchine is relatively light and also mostly made from spare parts I could gather.
@rickyj2013
@rickyj2013 6 жыл бұрын
As a young guy in the trades I appreciate all this information you put out on this channel. My only question to you is, how the hell do you know so much about so many things?
@TheWebstaff
@TheWebstaff 7 жыл бұрын
Just get a bloody CNC machine :D Just watched the whole video how is that any easier than CNC? The learning curve of what you have done is is pretty high and you could just make the CNC gcode for that pretty easy by hand. Plus the reward for getting into CNC is much higher.
@hotfuzz1913
@hotfuzz1913 7 жыл бұрын
Dave Webster u mean just build a cnc already :)
@TheWebstaff
@TheWebstaff 7 жыл бұрын
bryan gorski haha yeah thats what I meant to say! I just rebuilt a 4 Axis engraving machine (suregrave) last month from its dead proprietary controller to gcode and the process of getting upto speed wasn't to bad once you get going.. maybe 50 hours total from start to being fairly competent in the basic operations.
@TheWebstaff
@TheWebstaff 7 жыл бұрын
***** thats exactly how I did it TBH but I found some hurdles along the way. If i'd stayed with imperial and not hit issues then you could drop that to about 15 hours.
@TheFeralEngineer
@TheFeralEngineer 3 жыл бұрын
Not sure why, but I love the little LinuxCNC reference on this video. FYI, a sainsmart parallel breakout board is cheaper than an UNO and you can have a machine chooching on linuxcnc in about 30 minutes after watching my bare bones tutorials ;)
@dorgodorato
@dorgodorato 7 жыл бұрын
You've got a problem? Yo, I'll solve em. Check out the beat while the stepper's revolvin.
@catsinheat
@catsinheat 7 жыл бұрын
Wow, thank you. I have a project in mind using powerful stepper motors and this vid gives me lots of the data I need.
@GoofyRiot
@GoofyRiot 7 жыл бұрын
quick question, where do you buy the bulk of your electronics from? as in your bread boards, leads, aurduinos and that sort of stuff? thanks
@sofa-lofa4241
@sofa-lofa4241 7 жыл бұрын
GoofyRiot He gets a lot of bits from adafruit, check out their YT channel, Chinese fleabay is cheaper but sometimes the pixies fall out and the instructions are painful, the beauty of adafruit is that they have simple instructions and a huge online community to help with the head scratching
@jerryocrow1
@jerryocrow1 4 жыл бұрын
You sound like A. Einstein in 1910. Its all about the creative process. Great job!
@PopeCharlesIV
@PopeCharlesIV 7 жыл бұрын
What song is playing in this video?
@dannyoktim9628
@dannyoktim9628 7 жыл бұрын
Translate . . . .Why cant I hear the song. . . I'm catching on to this UT chatter, he didn't have his volume on , you tubers are so funny.. . .keep it up for the rest of us
@fredmorton1631
@fredmorton1631 6 жыл бұрын
You should at least recognise the death....sorry, I mean the wedding march. The other tune (piano piece) was Gymnopedie No1 by Erik Satie kzbin.info/www/bejne/iV67nmqpbsp6rrc
@niklaswallin9478
@niklaswallin9478 7 жыл бұрын
you could even do a jog and a "remember" button ... reasonably easy to program and quite useful..
@AverageJoe2020
@AverageJoe2020 7 жыл бұрын
Can't beat a bit of Erik Satie. He was a character as well.
@softiss
@softiss 7 жыл бұрын
U have a hypertherm pen. u have the dreamlife in ur ''shop'', and u do cool shit with ur expencive ''free time'', if only we all had 1 min walk to the shop, image how smart and productive we all would have been !!!
@MrDedham
@MrDedham 7 жыл бұрын
Did you run into any/what did you do about losing steps during operation?
@jokker03
@jokker03 7 жыл бұрын
so take it easy on the cuts or else you need to add error correction into the program? shit could get tricky fast.
@Fringeless
@Fringeless 7 жыл бұрын
One of the coolest dudes on YT. Even if he is from Canuckistan.
@gregoryaul2005
@gregoryaul2005 7 жыл бұрын
u should put your confuser in a container to keep the crap out
@jonnygg6594
@jonnygg6594 7 жыл бұрын
It's cool watching you work through this. You're smart man.
@apexmike849
@apexmike849 7 жыл бұрын
"The confuser." :-))
@johnnschroeder7424
@johnnschroeder7424 7 жыл бұрын
This was fun video, love the hands on approach to seeing what the electro-pixie powered wonder twister does. What a useful little rig in a machine shop, there is a host of things you can use this for, like milling your own fastener head cutting to using the linear actuator to make a bottle decapper to open your beer.
@waderedsox
@waderedsox 7 жыл бұрын
XD its written on the stepper motor 14:00
@Duaneoca
@Duaneoca 7 жыл бұрын
Metal chips in your breadboard is a good way to get glitchy! :) great vijeo. Mucho entertainingo.
@AdamCchannel
@AdamCchannel 7 жыл бұрын
It's not a very good idea to put the arduino so close to where the metal chips are falling. Could ruin your boards/drivers/motors/day.
@ProfRonconi
@ProfRonconi 7 жыл бұрын
Do you really think the resident Emperor of the Empire of Dirt would have it any other way?
@AdamCchannel
@AdamCchannel 7 жыл бұрын
Rhetorical question, I suppose?
@WrankledEngine
@WrankledEngine 7 жыл бұрын
Sir, you are truly a pioneer. I love your content. Fabri-cobbling!
@SaintBrick
@SaintBrick 7 жыл бұрын
I'm getting worried now. You on adderall or something?
@mausball
@mausball 7 жыл бұрын
AvE, I use the TI DRV8711 at work a lot. External fets mean you can pick your power. It's got a TON of tunability. It's a wonderful controller, and programs over SPI. If I ever get around to building a CNC mill, the NMEA 24 motors will be driven from homebrew 8711 drivers.
@cakeswithbutterandsteroids7700
@cakeswithbutterandsteroids7700 7 жыл бұрын
couldnt find a siemens plc and waste less time?
@franknewling1139
@franknewling1139 6 жыл бұрын
Where's the fun in that?
@ChrisKoch
@ChrisKoch 7 жыл бұрын
I love the direction you took this video. Some of my favorite content on your channel :-)
@0calvin
@0calvin 7 жыл бұрын
Dude, gcode is stupidly easy. Just learn it already.
@SeaCowsBeatLobsters
@SeaCowsBeatLobsters 7 жыл бұрын
0calvin exactly. you can fit everything on a piece of paper and then use it as a key whenever
@HaloHunter2552
@HaloHunter2552 7 жыл бұрын
0calvin, Gcode may be easy, but it's rarely practical to program by hand, so most people probably just trust a program to translate for them. Makes the most sense to me. I've forgotten gcode for that reason.
@0calvin
@0calvin 7 жыл бұрын
Generic Name That's true. I actually hand code on my mill about 75% of the time. I still have to glance at a reference guide sometimes, though, I'll admit. I think for the simple, repetitive tasks that AvE has been doing, such as this video and the lapping machine, writing something in gcode would have taken a lot less time than writing the code for an Arduino.
@datalorian
@datalorian 7 жыл бұрын
Yep this is a bit like reinventing the wheel but ending up with a not quite round wheel in the end. Entertaining though.
@HaloHunter2552
@HaloHunter2552 7 жыл бұрын
Yes calvin, that is very true.
@slavko321
@slavko321 7 жыл бұрын
Incredible timing, I just added 50 Nema23's to the shopping cart today:) The drivers are a lot more expensive than for the little ones. But i need the POOWEEERR!:) 10x for the walkthrough (and the mistakes, so we don't have to repeat them:)!
@StormbringerMM
@StormbringerMM 7 жыл бұрын
Man the hobby shop machining trail is almost as expensive as my date nights with El Chapo - you, Tony, Joe, and Abom are a bad influence! Thanks for the vid - from the other side of kanukistan - also congrats on breaching 400 thou
@Hackerspacetech
@Hackerspacetech 7 жыл бұрын
I have an RSS feed on my blog and it picked up your video. What a gem of a find!
@markmorton2519
@markmorton2519 7 жыл бұрын
Tip for your next not a CNC build ;) - Rather than Ohm-ing out the stepper leads to find the pairs just short two leads and give the shaft a twist, if they're paired it'll be a lot harder to turn.
@justinhillpac
@justinhillpac 7 жыл бұрын
I was just waiting for one of those chips to land on the unit and short something out. Glad it didn't happen! Love these videos AvE. We have a two year old and a 1 month old, I know what you mean about free time.
@pondbear71
@pondbear71 7 жыл бұрын
I love Vijeos like this because they give me that cool kid knowledge when im sitting in the back of my robotics elective with the head bangers and the wacky tobacco boys
@Justone177
@Justone177 4 жыл бұрын
Don't blame Tony for this, you know you wanted to have fun!
@rotoole6875
@rotoole6875 5 жыл бұрын
Lol amazing vid. Very clear. I love the recap at the end.
Why has nobody invented this?!
10:38
AvE
Рет қаралды 567 М.
Big Stepper Motors with Arduino
29:43
DroneBot Workshop
Рет қаралды 1,2 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 43 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 85 МЛН
Beginners Guide To Using Large Stepper Motors: #087
19:49
Jeremy Fielding
Рет қаралды 290 М.
I Built The First LAMINAR FLOW ROCKET ENGINE
15:51
Integza
Рет қаралды 1,4 МЛН
Stepper Motors and Arduino - The Ultimate Guide
29:57
How To Mechatronics
Рет қаралды 1,2 МЛН
Bridgeport CNC Conversion
11:34
RE Combat Robotics
Рет қаралды 44 М.
Stepperonline CL86Y: Bench Testing with Centroid Acorn
19:26
Making Money on a Machine that's HOW OLD?! | CNC Machining at a Job Shop
16:05
GRBL vs Mach3:  Which is better?  CNCSourced
6:26
CNCSourced
Рет қаралды 55 М.
How Stepper Motors Work - Electric motor
14:01
The Engineering Mindset
Рет қаралды 1 МЛН
The simple A to Z of CNC wiring stepper motors, BOBs and drivers
21:04
Building my own CNC Mill
10:58
Kris Temmerman
Рет қаралды 2,7 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 43 МЛН