How to troubleshoot when nothing is happening?

mattjones99
Posts: 17
Joined: Sat Jan 04, 2020 3:27 pm

How to troubleshoot when nothing is happening?

Post by mattjones99 » Sat Jan 04, 2020 8:44 pm

Hello,

I'm a complete newbie to working with hardware, and I'm having a very hard time with this. I am able to connect the pi to the hat, the hat is connected to the motors, and I adjusted the voltage on the drv8825 drivers down to 750 milli-amps. bCNC connects to the board, but it doesn't move the motors. I've done the serial trobuleshooting and I'm able to get back the GRBL version. bCNC looks like it's working, but nothing is happening. I've triple checked all the wire connections, and I'm just not sure what to check next.

Any ideas? Is there a web page for troubleshooting that I haven't found that I need to work through?

Thanks,

Matt

Bertus Kruger
Site Admin
Posts: 1678
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: How to troubleshoot when nothing is happening?

Post by Bertus Kruger » Sun Jan 05, 2020 3:11 am

mattjones99 wrote:
Sat Jan 04, 2020 8:44 pm
Hello,

I'm a complete newbie to working with hardware, and I'm having a very hard time with this. I am able to connect the pi to the hat, the hat is connected to the motors, and I adjusted the voltage on the drv8825 drivers down to 750 milli-amps. bCNC connects to the board, but it doesn't move the motors. I've done the serial trobuleshooting and I'm able to get back the GRBL version. bCNC looks like it's working, but nothing is happening. I've triple checked all the wire connections, and I'm just not sure what to check next.

Any ideas? Is there a web page for troubleshooting that I haven't found that I need to work through?

Thanks,

Matt
What version RPi are you running?
Is the stepper drivers powered?

mattjones99
Posts: 17
Joined: Sat Jan 04, 2020 3:27 pm

Re: How to troubleshoot when nothing is happening?

Post by mattjones99 » Sun Jan 05, 2020 3:44 am

Raspberry Pi 4.
I'm using the DRV8825 drivers that plug into the board.

Bertus Kruger
Site Admin
Posts: 1678
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: How to troubleshoot when nothing is happening?

Post by Bertus Kruger » Sun Jan 05, 2020 6:43 pm

How do you power the stepper drivers?

mattjones99
Posts: 17
Joined: Sat Jan 04, 2020 3:27 pm

Re: How to troubleshoot when nothing is happening?

Post by mattjones99 » Sat Jan 11, 2020 2:45 am

I'm using a 36V power supply.

GeoffS
Posts: 16
Joined: Fri Dec 06, 2019 10:41 am
Location: Tasmania

Re: How to troubleshoot when nothing is happening?

Post by GeoffS » Sat Jan 11, 2020 11:09 am

What does a grbl status command report?
Regards
Geoff

mattjones99
Posts: 17
Joined: Sat Jan 04, 2020 3:27 pm

Re: How to troubleshoot when nothing is happening?

Post by mattjones99 » Sat Jan 11, 2020 5:43 pm

I've set up an old wireless router as a repeater, so I now have internet access in my garage, which should make it much easier for me to give more thorough answers.

Here's the status command output.

Code: Select all

?
ok
$G
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
And here are my GRBL settings.

Code: Select all

$$
$0=10
$1=255
$2=0
$3=0
$4=1
$5=0
$6=0
$10=1
$11=0.020
$12=0.002
$13=0
$20=0
$21=0
$22=0
$23=0
$24=100.000
$25=1000.000
$26=250
$27=5.000
$30=1000
$31=0
$32=0
$100=26.670
$101=26.670
$102=199.100
$110=8000.000
$111=8000.000
$112=2500.000
$120=1000.000
$121=200.000
$122=150.000
$130=824.000
$131=1280.000
$132=122.000
My hardware is a workbee 1510 with nema 23 motors. The part number on the motors is 23HD56001Y-21B. I bought this used and I can't find the exact specifications from the motor. I believe they are 2.5 amp motors. Which I think means I need to set the current at 1.25 between the potentiometer and the ground pin. I've got it set at 1161 mA.

In bCNC, it looks like everything is moving, but nothing is actually moving. The things I might have screwed up include:
* I had polulu drivers. At one point, my Y axis was working pretty well, and the potentiometer broke off one of them, so I ordered cheap chinese ones. Is there a simple way to test the output of the drivers to make sure they are working?
* I was not fully aware of the restrictions around unplugging the stepper motors while the drivers are powered on. I don't think I've done that, but I certainly could have in my haste. I'm a little nervous that I've ruined the steppers, but I don't know how to check.

Other notes:
* None of the polulu or chinese drivers seem to do anything. I'm down to trying them one at a time on the X axis, and I'm not getting anything happening at the machine.
* You'll see my quick-connects that I've added in a few places, and will naturally be worried about continuity. I've used the multimeter to check continuity at the end that plugs into the protoneer board, so I'm pretty confident that I've got the pairs wired correctly.

Image
Image
Image

Thanks in advance!

Matt

mattjones99
Posts: 17
Joined: Sat Jan 04, 2020 3:27 pm

Re: How to troubleshoot when nothing is happening?

Post by mattjones99 » Sat Jan 11, 2020 6:42 pm

And here's my bCNC screenshot.
Attachments
2020-01-11-124104_1024x768_scrot.png
2020-01-11-124104_1024x768_scrot.png (82.15 KiB) Viewed 982 times

mattjones99
Posts: 17
Joined: Sat Jan 04, 2020 3:27 pm

Re: How to troubleshoot when nothing is happening?

Post by mattjones99 » Fri Feb 14, 2020 4:40 am

So, I took a good month long break, and I'm trying this one more time. My best guess before is that I had messed up the drivers, so I got some external drivers, and I'm trying to connect up my X axis only.

Attached are the pictures of my wiring. Does the wiring look right for this situation?

I see that I'm connecting to GRBL, and in bCNC, it looks like GRBL 1.1h is programmatically responding to commands, but the motor just isn't moving.

I have checked continuity on the motor, and it definitely holds it's position when powered on, so I think that's a sign that the motor is wired correctly.

I'd appreciate any wisdom on next steps of things to look for. I really don't mind if the next step is to go buy new motors or a new protoneer board, but I am hopeful somebody has some tips for how to diagnose the problem before buying more parts.
Attachments
IMG_20200213_204842722-web.jpg
IMG_20200213_204842722-web.jpg (54.3 KiB) Viewed 864 times
IMG_20200213_204851999-web.jpg
IMG_20200213_204851999-web.jpg (56.77 KiB) Viewed 864 times

mattjones99
Posts: 17
Joined: Sat Jan 04, 2020 3:27 pm

Re: How to troubleshoot when nothing is happening?

Post by mattjones99 » Sat Feb 15, 2020 3:53 am

My X-axis now moves!

My problem is, I had found this wiring diagram with the listing for the board:
orginal wiring diagram.jpg
orginal wiring diagram.jpg (175 KiB) Viewed 849 times
But I have the newer version of the board, which uses a different pin layout:
300px-ExternalDriver.png
300px-ExternalDriver.png (35.44 KiB) Viewed 849 times
Once I figured out the discrepency, I re-wired the 5V connections, and now the X-axis moves!
IMG_20200214_210550744-web.jpg
IMG_20200214_210550744-web.jpg (68.4 KiB) Viewed 849 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest