EDIT YOUR PROFILE HERE

You need to log in to create posts and topics.

Correct wiring? Error:9 Alarm:8 in Lightburn

Hiya,

I'm a bit stuck with the installation of the mini gerbil.

Is this the correct wiring? I can't seem to get lightburn to work with the board and I don't know what I'm doing wrong? It doesn't seem obvious.

Please help πŸ™‚

Uploaded files:
  • IMG_20190624_173903.jpg

Hi, from the photo I can see you have connected the PWM wire to a motor axis output (1 pin of the left). It should go to the first pin on the right of the board (viewing the board from the connector side, like the photo depicts).

If LightBurn can't find your laser then manually add the device driver from lightburn's devices list (STM_Gerbil). If that still does not connect then check the USB cable. Some are just charger cables. The board should should a flashing led as heart beat indicator. Once connected, the heart beat is replaced by a blink when a line of G-code is processed. If no data is streamed then the led has a very slow blink rate (once every 10 seconds).

If connection is problematic then you can set the jumper selection JP1 from 5vExt to 5vUSB. The board is then powered via the usb port from the computer instead of the laser power supply. If that solves it then investigate the ground between the mini Gerbil and laser.

Hope this helps.

Cheers, Paul awesome.tech

Hi Paul thanks for replying πŸ˜€

I have swapped the PWM wire over but the problem still persists.
I have linked a video to my setup... is there something obvious that I am missing or is something broken on my machine?

Hi Shanx,

It' hard to tell but from the Alarm 8 error, I guess you have to increase the pull off distance of the limit switches via $27=4 to clear the engage/disengage hysteresis band of the switch.

Let's know if that helped

Cheers, Paul

 

Cheers, Paul awesome.tech

i had the same type of thing happen to me i need to invert limit switches you need to set $5 toΒ  $5=0

Hi guys, thanks, I've done both those codes and now when I press 'home' it just goes to the left and doesn't stop until I get error code 2 alarm code 9.

Is my stop sensor thing broken? Why doesn't it also travel back now?

Okay so something is not correct with the limit switches. Check them with the Gantry in it's home position and outside the home position and see whether you get a limit status.

To interrogate the board, issue a "?" status command (without the quotes...) via a g-code sender or in Lightburn's console.

When engaged you should see Pn:XY... not engaged and that status disappears.

Cheers, Paul awesome.tech

Hiya, okay so I've managed to sort out the homing problem!

It turns out that my optical limit switches or endstops were faulty.

I re-wired mechanical ones in and they seem to be working okay.
I fitted the old nano board back in to test it all and everything was coolio.

Then I tried to install the gerbil again and when I try to test a file in lightburn the laser turns on and doesn't turn off and just runs without stopping. Is there a setting I need to change?

Thanks in advance!

Uploaded files:
  • IMG_20190811_110327.jpg
  • IMG_20190811_110331.jpg
  • IMG_20190811_110346.jpg

Hi, if the laser stays on means your LO connection is loose (0 volt). (LO means laser on and it uses 0 volt to turn on and 5V to turn off.).

Re-seat the power connector on the mini Gerbil and it probably sorts it self out.

Cheers

Cheers, Paul awesome.tech

Hiya,

Right I tried the wire and eliminated it as an issue. The problems still there when I swap the wire over to one that definitely works (and it's definitely attached).

Could there be something else?

I feel like I'm on the last few steps in order to get this thing to work...
But it's frustrating as hell.

Hi, sorry that you're encountering such a frustrating issue.

Pls can you tell me what the remaining issue is. Is it the laser not turning off?

Some information that might help to debug the issue:

LO - Laser on connection that needs to pulled down to zero volt to enable the power supply

IN - PWM input of the laser supply that need a PWM signal. When not connected (open connection) the laser fires 10mA.

Cheers, Paul

Cheers, Paul awesome.tech

Forum Registration

EDIT YOUR PROFILE HERE