MaslowCNC/GroundControl

all three motors failing

slim9263 opened this issue ยท 27 comments

all three motors not moving . I'm connected to com3 I've reinstalled all software. checked the wires for continuity .They are good read through other threads and checked a number of thing still no luck

img_0725

img_0726

I've gone into Arduino/file/examples/basics/analog read and analog voltage test and had numbers at 9600 rate
the motors worked yesterday . I shut the machine down in the evening thinking I would try to cut something this morning and found that the motors are not responding Com3 is not timing out

any help would be appreciated

What do you see when you use Actions/TestMotorsEncoders in GC?

nothing happens . No pop up sceen

to be more accurate when i click on test motors the action screen disappears and go back to the action/settings screen

I'm hoping you will see either:
โ€ข 'Connection Timed Out' message
image

which would indicate the Arduino is not using COM3 or doesn't have the firmware loaded
or
Something in the GC window that reports the result of the motor test:
image

no it says connected on port com3

And when you do the Action/TestMotorsEncoders, do you see the

G20
B04
Testing L motor:

lines?

no when I click the test motor /encoder button it the screen goes back to the previous screen

when I click the test motor /encoder button it the screen goes back to the previous screen

That's the expected thing, and the progress and results would then get printed on the right side of the screen (see above). It sounds like nothing gets printed when you click though.
When GC makes the connection to the Arduino, it prints the versions of GC and the firmware - what versions does it show?

doesn't show a version under the greenplay button it shows
x: 0mm
y: 0mm
z: 0mm
vel: 0 mm/n

           connnected

connected on port com3

thats after it click the test motor button

This is a real puzzle!
Do you know what version of GroundControl and firmware you're using? I think you said you had it working a day ago, is the USB cable plugged into the same place on the computer as it was then?

its the newest version and the computer only has one usb port I tried a different computer and its doing the same thing I've downloaded the software a couple of times on both comps

I see that you were able to load a different program and see serial output. Try loading the firmware again, and in the Serial Monitor of the Arduino IDE, at 57600 baud, tell us what you see.

Arduino is ver 1.8.5

gc ver 1.17

backwards question marks across the bottom of the screen

backwards question marks across the bottom of the screen

Is 57600 selected as in the picture below? The firmware sends text like shown in the picture at 57600 baud. If that's not what you're seeing, we might be on the way to finding the cause.

image

yes I changed it to 57600 and there are backwards question marks

Ok, the backwards question marks could mean the Arduino is using the wrong baud rate, or that the serial port needs to be reset.
To fix the baud rate thing, you could upload the firmware to the Arduino again. Check that the Board and Processor selections are set for the Mega 2560:
image

To do a full reset to the serial port, do a full power-off shutdown of the PC and start it up again - a tedious thing, but sometimes a helpful thing to try.

ok ive done that already but ill do it again so uninstall Arduino then reinstall then shut down comp

Don't need to uninstall Arduino, just open the cnc_ctrl_v1.ino file again, and upload to the Arduino Mega 2560 board.

When the upload is done, we're looking for the 'Done loading' message near the bottom of the window. When you see that, you could again check the Serial Monitor at 57600 baud to see if the serial stream looks like my picture above. If not, the power-off reboot would be next...

image

ok that worked the motors are turning then tested now it says unable to find valid machine position for chain length

๐Ÿ’ฏ๐ŸŽ‰๐Ÿ‘ Great news!
The chain calibration was lost when a non-Maslow program was loaded into the Arduino. All that is needed to solve that is to do the Actions/SetChainLength-Automatic sequence. You're almost there...

ok thank you so much I owe you a coffee all three motors are working chain is calibrated I hope this thread helps someone else

I hope this thread helps someone else

It will help the next one, thanks for being so patient. Many happy wood chips to you!