Have found a number of these none of which include stepper drivers. Would like to test
a grbl/stepper driver/stepper motor combo. Anyone know of one??
Thanks.
GRBL works. What is there to test?
...R
To help find out if my problem, CNC not responding to commands from "Candle", is between the Arduino UNO
and stepper motors or between Candle on my laptop and the Arduino. Hopefully a simulator will display
graphically what should happen and give me a starting point. Would settle for an UNO, CD, but haven't been able
to find one.
I don't quite get what you expect the simulator would do?
If you're trying to determine if it's a communication issue you can hook up a scope to the data lines, or try to send some commands manually.
I don't either, but I'm going nuts. Soldered up a test board so I know the drivers to motors connection is fine. We
can control the speed and direction of the steppers. All the DIR and PUL leads were verified and checked for any resistance. There is 5v on the positive side, 24v on the drivers.. Candle was checked for proper port, when connected it goes to "idle" indicating it is connected and coordinates change when jog keys are clicked. User command keys are programmed to send G code manually. Tried 3 different cords, has a new UNO which my laptop had no problem downloading grbl. too.
Nothing helps. the machine is motionless.
Only inconsistency I have noticed is the TX/RX lights flash like crazy when Candle is turned on. I know it's something
simple that I am missing and it's killing me. Any suggestions gratefully appreciated.
Use this Simple Stepper Code to test each of your motors one at a time. You will need to make a small change the code so it matches your step and direction pins. If your stepper drivers requires ENABLE to be asserted you will also need to do that.
...R
Hopefully a simulator will display
graphically what should happen and give me a starting point
No that is just asking too much for any simulator.
Check your end stop switches are wired up and giving you the right signal sense.
Thanks for responding. Posted a photo of our test circuit board,it plugs into each driver.
I have spare UNO's so will program one with your program and let it test the wiring
from the breakout board on the UNO to the drivers. Originally checked continuity on the limit switches now
they are completely disconnected.
Thanks again.
Originally checked continuity on the limit switches now
they are completely disconnected.
Most limit switches are wired such that when they are disconnected they act like they are being touched. So normally when you don’t use them they have to be shorted out, or disabled in the software.
On my machines I made a connector I can plug into the limit switches for when I don’t want to use them.
107merc:
Thanks for responding. Posted a photo of our test circuit board,it plugs into each driver.
Sorry, but your photo gives no idea about the purpose of the circuit board or why one would plug it into a driver. Or even what driver you are using.
...R
When trying to debug, arduino IDE is not the best.
What I suggest is to add a couple of serial.print or turn on Outputs within branches of software you think are problematic.
abdelhmimas:
What I suggest is to add a couple of serial.print or turn on Outputs within branches of software you think are problematic.
That's not practical advice for the GRBL program.
...R
Robin2:
Use this Simple Stepper Code to test each of your motors one at a time. You will need to make a small change the code so it matches your step and direction pins. If your stepper drivers requires ENABLE to be asserted you will also need to do that....R
I meant here
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.