I’m in my first week of trying to setup the maslow cnc. Amongst the many issues i’m having… the biggest is that I can’t measure the chain from motor to motor.
When I get to the step where i am ready to “pull chain tight and measure”… I click on the button only for the motors to pull the chain from both sides until the chain gets ripped off. The motors don’t stop… and they dont’ measure. What the fuck.
Has anyone else had this issue?
I tried to enter in the measurement manually, but when I enter “measure chain manually”, i click on the button and it says “chain measured successfully”.
Not too happy with this setup. But if anyone can help me get through this part I’d greatly appreciate it.
Welcome to the Forum!
Sorry to read about your issues. To narrow this down, it needs to be taken step by step.
First, what GroundControl version are you using and on what operating system?
Second, is this your first calibration attempt or one of several?
Errors like this i’ve seen in the past from incorrect entering of measurements and confusing ‘top-feed’ with ‘bottom-feed’. More information of your setup is required. A copy of your groundcontrol.ini from your ‘user-folder’ could also help.
Looks normal for me. Your slack chains are on the sides and you have the ‘ring-kit’ to mount the chains?
Did you do the ‘Test motors and encoders’ test and does that pass?
A ‘semi-connected’ plug can also cause strange behaviour.
The Arduino can also get in some ‘strange state’ where nothing else helps then to do a ‘clean start’.
Clean start: Use the ‘Wipe Eeprom’ from the ->Actions ->Advanced, close GC, unplug and replug everything and start over. Deleting or renaming the GC.ini is even cleaner, but i can’t see any fault in the one you posted.
Hi all. Thank you for the help. I’ve been slammed with accounting homeowrk and haven’t had a chance to use your feedback. I appreciate you both and will give it a shot asap.
I’m having issue now with the firmware not loading.
Since my last thread post, I’ve used that computer for work and am using a new computer now to keep permanently with the cnc. So now I have new issues.
When loading the firmware, this is the error message I am getting.
Arduino: 1.8.9 (Windows 7), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”
Sketch uses 56864 bytes (22%) of program storage space. Maximum is 253952 bytes.
Global variables use 2009 bytes (24%) of dynamic memory, leaving 6183 bytes for local variables. Maximum is 8192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
An error occurred while uploading the sketch
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
While trying to compile in Arduino, i was getting the error message (above) of
avrdude: stk500v2_getsync(): timeout communicating with programmer
For anyone that is having this issue!!!
There is a good chance that your usb chord is not connecting properly. This is how you check…
The arduino board should have two cables connected to it. One is power and one is USB. When the power chord is plugged in properly a light will turn on. When the USB chord is plugged in properly, another light will turn on confirming the connection… BUT!!. there is a third light that you need to check in order to verify that the USB chord is not only plugged all the way in, but is also communicating with the computer. The third light is located on the bottom circuit board, so you have to look through the circuit boards to see if a light is flashing. The light needs to be flashing! A flashing light will tell you that the computer is able to communicate with the board.
Now… if the third light is not flashing then most likely your ‘upload’ on arduino won’t compile, and you’ll keep getting the error. What I did was simply unplug and replug the USB cable in until I got the flashing light… and then it worked.
Cnewton, unfortunately I can relate and this was frustrating me as well. Thanks for posting what fixed this for you.
I am a newbie with arduino so this is probably common sense for everyone else, but maybe this will help at least one other person. When I checked my “3rd light”, it was actually blinking but it was still failing to upload. Turns out it was all user error/inexperience because I had Ground Control running when trying to do the upload.
Sooo…if anyone else is experiencing this issue, and cnewton’s post did not help, make sure Ground Control is NOT running when you try to upload the latest firmware.
I am going through calibration with Holey GUI (with v1.26 merged in) and have the exact issue as the topic subject. Unlike other posters, I have all lights on/flashing normally. Arduino is connected, motor tests passed, setting 12 o’clock in the calibration process went fine. Extending chain for pull-tight went fine.
When I press “Pull Chain Tight and Measure” the left motor sounds different, which is concerning (I’m avoiding removing the motor and inspecting the gears). What I don’t understand is, @Joshuawhat prompts GC to stop the motor, measure and then retract a little bit? Since this isn’t happening, I’m not getting the “Next” button on the screen. If I have a motor issue, is the fw or gc looking for some specific current threshold that represents “stalled”?
Okay, that makes sense. I skipped the step and it used the number I already had in there, so I wonder if the 3 seconds is not being counted? I say this because I could still hear the motor making noises.
Can anyone point me to the part of the GC code that does this?
I’ve experienced the ~30kg not stopping myself with a past release and it did not end well for my self made motor mounts. I tried but could not replicate it. From my memory, you are the first to report the same after me. Wondering if you could extract that part of the log. Since we neither create a new log each time we start GC and we don’t have ‘time stamps’ in the log, this might be difficult, depending on how long after you still run GC.
Maslow/fw-test/GroundControl-master1.27/CalibrationWidgets/measureDistBetweenMotors.py:107: #pull the left chain tight
Line 106 to 110.
def pullChainTightAndMeasure(self):
#pull the left chain tight
self.data.gcode_queue.put("B11 S255 T3 L ")
#request a measurement
self.data.gcode_queue.put("B10 L")
From the little i know the S255 is full power and the T3 is 3 seconds. B10 L seems to request the length of the left chain. All without guaranties
Edit: On linux i use the following command to search for text within a file. Excellent documentation within the code has given me good result, even without knowing the names of the variables.
Still not in sleeping mode…
Lines 12167 - 12208 are of high interest! Thanks!
Seems to be the last ‘pull’ in your log from my side.
There are a couple of “B11 S255 T3 L” in the log and many have a error message behind, that is not conclusive (just for me in this case).