Originally Posted by
Schuimpge
I've explained why I used that breadboard, but will do that once more. The reason is simple: I could have spend many hours soldering and desoldering components or use the breadboard and change things on the fly and find the right configuration. As an example, the capacitors, I only had 1uF available, and that worked for the time being. Ordered smaller ones and by just taking the old ones off, plugging in the new ones, I found the best value for it..
Similar, I have never ever said that limit switches cause problems. It's the limit-switch 'system' that gave false alarms if I connected them in certain ways. That took me a few times of trial and error, and as is stands, those limit switches (the system as a whole), have never given me problems anymore.
This feels to me like its going into a direction where I'm supposed to just buy what you advise as being real and professional and all that...otherwise it's not worth your time. Given that there's thousands of CNC-machines out there that are driven by Arduino based electronics that are pushing out endless amounts of products, I don't think I'm on a wrong path, I am on a different path. I could argue about your opinion on the validity of Arduino driven CNC-machines, since you've never tried or looked at one. My choice for using the Arduino was based on what I had available and on a lot of reading to know if it really is able to drive a CNC-machine properly. I came to the conclusion that it was. And now that I have a working machine, I'm very sure that it is a proper solution with some limitations, but a good solution nevertheless.
And once again.. don't know how many times I have say that: I don't have electronic problems. Not with the switches, not with the overall electronics of the machine, none...This discussion started the last few days because the Z-axis motor behaved strange! As (I think Roger) said, it could have been a simple loose wire at the motor connection. (And yes, it could have been a loose wire at the breadboard, which will be addressed by replacing that in the coming days/weeks with a more permanent solution.)
All that I have been doing after that first problem is trying to follow your recommendations on proper electronics wiring, as I thought that could never hurt... That's what I've tried, tested and reported back to you and everyone reading this and that's where I've suggested ways for follow up testing to find the real problem, but there's no reply from you other than "rip it out and use REAL stuff". Now where do I go wrong, I'm giving my findings and suggestions on what I think is happening. So why do I get put up as stubborn, using toy electronic parts and not listening to the real 'professionals' and all that? I am supposed to just rip out everything and order all new stuff because you think those are REAL and GOOD and you use them when I'm not having any issues?
Mind you, at 24v currently, I'm very happy with the 2500mm/minute on the X, 1700mm/minute on the Y and 1000mm/minute on the Z without ever skipping a step...More than fast enough for me to get a grip on the machine. Might not be a Formula 1 car now, but with that "pesky / lousy" arduino and a 'scrap' 24v Meanwell power supply I'm doing just fine and guess what? I paid USD 50.00 for that part of the electronics. Your REAL driver DQ542MA lists at USD 115.00.. In a couple of months I might swap to higher voltage, say 36 or 48v and I might maybe upgrade my Drivers to better ones. Man, that's going to be fun, seeing that machine running.. but that's at a time where I'm fully confident with using the machine. (I didn't get my driving lessons in a F1-car either..) But it also might never happen and I'll keep perfectly happy with what I have...
You've given your comments, which I then took the time to test and report back. I've even made the effort to order parts to test and try different ways to meet the goals that you've set as being correct wiring practices. Yet, the only thing you do after the first tests where done by me is throwing in the towel and say that I have to rip out everything. You're not doing anyone on the forum a service with that. Here you have an interesting test-case (not a problem-case) where clearly there's something that goes against your knowledge (the caps on the limits for example) and yet you just cut it off and say that it is not right instead of having a proper discussion going on how that is possible..
For me, it is really interesting when for example both you and Roger discuss this. I'm more than willing to test and report back on my machine what works and what not, and the two of you sharing experience and knowledge trying to understand the physics behind it.
That's what a forum is for and that's what makes me enjoy posting here..
An upgrade in electronics will not happen for the time being for reasons given already. I'm using the MacBook, simply because the Arduino is multi platform and doesn't care about windows or linux or mac. I do have 1 very old and one fairly new PC (again both 'scrap'). The old one might be a future candidate as it has a Parallel port, but that's future talk right now.
So...
Once again, I know the above reply is fairly aggressive.
With all due respect, I feel like this conversation is totally going the wrong path and becomes more of a platform argument which is not related to the original post on the Z-axis motor from where this discussion started.
I'm trying suggestions that members like A_Camera give me, for which I am very grateful. period.
There's limitations I have in understanding certain electrical issues, so yes, I could sometimes ask 'strange or silly' questions and my wiring might not follow correct standards, but I do know I am taking advise seriously and try suggestions from members and report back what I found so others might learn from it as well.
If anyone feels that Arduino is not valid as a platform, then I respect that feeling and I will not argue with it. It's a choice, and not all choices work for everyone.
Kind regards,
Luc