Benbox Laser Machines/CO2 Lasers/3D Printers

Software => T2 Engraving => Topic started by: nehal on May 30, 2017, 10:50:58 PM

Title: Mana SE led D4 blinking [Solved]
Post by: nehal on May 30, 2017, 10:50:58 PM
I upgraded to Mana SE board for better pwm control. I hardly experimented on few images and after that the board stopped working. It's led D4. It's solid when working normally. Now it just blinks continuously after connecting to power. Nothing happens. I contacted banggood for this issue. Has anyone encountered similar issue with Mana SE?
----
Solution that worked for me:
Please go through thread if you have similar issue. Removing 16V capacitor worked. I will replace it though.
Title: Re: Mana SE led D4 blinking
Post by: Stonemull on May 31, 2017, 12:57:27 AM
google found this thread here http://benboxlaser.us/index.php?topic=2022.0

I don't think anyone has ever bothered to find out what D4 is connected to, if you trace it back to see where it connects it would help.

If it is a power led then you have a supply issue, if it is a bootloader LED then you may need a firmware reload or the micro is rebooting continuously,
Title: Re: Mana SE led D4 blinking
Post by: Zax on May 31, 2017, 04:34:39 AM
I think it's corrupt, you'll need to reload it and that probably means via the ICSP but you could try flashing it via software first.

If you don't have a clue what I'm talking about, get a new Nano (or Mana SE board) and replace it.

FYI: I use an Uno as a programmer but you can buy dedicated AVR programmer for a few bucks.
Title: Re: Mana SE led D4 blinking
Post by: nehal on May 31, 2017, 10:42:18 AM
I have tried to reload the firmware through T2. It was successful, without any errors. But the issue remains. Also not a power supply issue. Tried with L7 board.
Title: Re: Mana SE led D4 blinking
Post by: Zax on May 31, 2017, 11:48:32 AM
Flash it with a different firmware, say 0.9g (the J-Tech firmware) and then go back to 1.1e. That may work.
Title: Re: Mana SE led D4 blinking
Post by: Stonemull on May 31, 2017, 12:03:52 PM
Perhaps re-upload the grbl parameters too, maybe the eeprom values are out of whack, they do not get erased with a reprogram.

I have crashed grbl quite a few times now.

laser control mode .. reset grbl parameters or send default parameters (I am not sure what the difference is .. Zax ?)

Title: Re: Mana SE led D4 blinking
Post by: Zax on May 31, 2017, 01:46:19 PM
Send Default Parameters uploads the $ values to Grbl 0.8 and above.

Reset Grbl Parameters is used with firmware I have compiled and sends $RST=$ which returns everything back to my defaults (same as above but much more efficient).

You didn't ask, but Clear Grbl Positions sends $RST=# which clears all stored offsets (that you get if you home machine without home switches).
Title: Re: Mana SE led D4 blinking
Post by: nehal on May 31, 2017, 09:19:54 PM
I will try your suggestions, zax and stonemull. I am out of town for few days. I will post when I get back.
Title: Re: Mana SE led D4 blinking
Post by: Stonemull on June 03, 2017, 09:38:38 PM
I did find there are things that can corrupt the eeprom values, running too fast.
That sounds like they are not doing a good job of handling interrupts, typically if modifing an eeprom value you should halt interrupts for the duration, not doing so can cause this type of issue.
However that only happens if you write eeprom, I have no idea why grbl would be doing that during a run, so I suspect the problem is at too fast a setting, grbl is being ibterrupted during an interrupt process and ens up with a stack overflow, this could do anything and also reboot the device.
So definately worth checking eeprom values if experiencing eratic behavior, if you even can, depending on when interrupts are enabled you may not eben be able to get it to run.. continuous rebooting.

https://github.com/gnea/grbl/issues/142
Title: Re: Mana SE led D4 blinking
Post by: nehal on June 04, 2017, 03:27:09 AM
I have tried the suggestions. Flashed firmware to older version, then flashed again to latest. Took nano out and replaced with the one from L7 board. The problem remains same. I think it's hardware related.
Title: Re: Mana SE led D4 blinking
Post by: Stonemull on June 04, 2017, 03:35:20 AM
you do not need the mana nano plugged into the board to test it, the usb will power it and grbl will run with the nano sitting on the end of a usb cable, give that a go.
Title: Re: Mana SE led D4 blinking
Post by: nehal on June 04, 2017, 04:26:59 AM
Right. Tried that too. No difference. Tried with the nano that came with L7 board. So I think no problem with nano.
Title: Re: Mana SE led D4 blinking
Post by: nehal on June 04, 2017, 04:32:37 AM
Came across this thread.
http://forum.eleksmaker.com/topic/89/resolved-everything-stopped-working-blue-power-light-flashing-video (http://forum.eleksmaker.com/topic/89/resolved-everything-stopped-working-blue-power-light-flashing-video)
So, may be 16v capacitor is the problem?
Title: Re: Mana SE led D4 blinking
Post by: Stonemull on June 04, 2017, 05:15:39 AM
if the nano is not plugged into the board then it is unlikely a faulty cap on another piece of unpowered hardware is the issue :)
Title: Re: Mana SE led D4 blinking
Post by: nehal on June 04, 2017, 06:12:52 AM
No, not while unplugged. But while nano is plugged and powered on.
Title: Re: Mana SE led D4 blinking
Post by: Stonemull on June 04, 2017, 06:25:05 AM
Right. Tried that too. No difference. Tried with the nano that came with L7 board. So I think no problem with nano.

And that explains this, how ?
Title: Re: Mana SE led D4 blinking
Post by: Zax on June 04, 2017, 06:45:43 AM
It sounds like the board, but test the Nano while out of the board, if it works you are correct.
Title: Re: Mana SE led D4 blinking
Post by: nehal on June 04, 2017, 07:09:18 AM
And that explains this, how ?
I took out nano from mana se and flashed it with older version and then flashed again with 1.1f without any errors. And i also tried another working nano from L7 board. Connected it to Mana se board, and powered it on. Same problem, led D4 still blinks. And nothing happens. I may be wrong, but tried two nano and no change.
Then I tried the nano with L7 board and the engraver works. Same nano with Mana se and led D4 keeps on blinking.
Title: Re: Mana SE led D4 blinking
Post by: Zax on June 04, 2017, 07:16:10 AM
Something is shorted on the board, it could be the cap.
Title: Re: Mana SE led D4 blinking
Post by: Stonemull on June 04, 2017, 09:34:12 AM
I took out nano from mana se and flashed it with older version and then flashed again with 1.1f without any errors. And i also tried another working nano from L7 board. Connected it to Mana se board, and powered it on. Same problem, led D4 still blinks. And nothing happens. I may be wrong, but tried two nano and no change.
Then I tried the nano with L7 board and the engraver works. Same nano with Mana se and led D4 keeps on blinking.

ah, confusion  .. that is not the same thing, the board works when removed but not when plugged in, which is what I was asking, with the board removed you can load up a picture and send and the thing will flicker its little serial LED and work just like a bought one. The nano is fine, the usb is fine, the software is fine.

As Zax says, you have a problem on the Mana board, check out that cap, maybe remove the stepper driver, unplug laser etc  until it starts working. I cant think of much else that can cause it, if it is a mana SE .. then it might be the cursed switch mode controller the tiny 8 pin TPS54331, they are notorious for going short circuit if anything spikes the input. I can tell you which pins to measure to check if short, the details are on the board here somewhere if you search for the part number.
I designed a board with them and after one of the first 10 failed I resdesigned it with an oldshool  LT1308 instead.
Here is somebody else hating on these chips https://electronics.stackexchange.com/questions/236002/tps54231-input-voltage-sensitivity-quite-high


If the TI chip is dead, you can simply carve it off the board, it supplys 5v to the servo connector, so you lose that 5v, and also 5v logic supply for the pololus, there is a couple of pads under the nano that when soldered together will also power the pololu logic with USB 5v, so you can most likely live without it.

Hopefully it is the cap though...


Title: Re: Mana SE led D4 blinking [Solved]
Post by: nehal on June 09, 2017, 08:28:40 AM
It was 16V capacitor. Removed it and board is working again. I will have to replace it.
Title: Re: Mana SE led D4 blinking [Solved]
Post by: ThothLoki on June 09, 2017, 08:37:10 AM
good find! At least it is an easy part to get and replace
Title: Re: Mana SE led D4 blinking [Solved]
Post by: Stonemull on June 09, 2017, 12:57:27 PM
Forget the 16V, too low for a 12v input. I suggest replacing it with a 25V or 35V cap.
Same value is ok, but look for a 105C low ESR cap if you can, preferably a decent brand.

Although not totally needed in this case as the supply also has caps and the input should be well regulated, however it is fed by a switch mode so any noise escaping the supply will be high frequency, then it has multiple switch modes running off it so it needs a low esr and since it is supplying multiple motors with high frequency pwm signals has substantial AC needs, so a good cap here eliminates a lot of noise from the entire system.

Title: Re: Mana SE led D4 blinking [Solved]
Post by: nehal on June 19, 2017, 11:18:33 PM
Replaced with 35V cap, and board is working again. Thank you for your advice. Will post some grayscale results in new post soon.
Title: Re: Mana SE led D4 blinking [Solved]
Post by: laser_cutter on April 29, 2019, 09:04:07 AM
Forget the 16V, too low for a 12v input. I suggest replacing it with a 25V or 35V cap.
Same value is ok, but look for a 105C low ESR cap if you can, preferably a decent brand.

Although not totally needed in this case as the supply also has caps and the input should be well regulated, however it is fed by a switch mode so any noise escaping the supply will be high frequency, then it has multiple switch modes running off it so it needs a low esr and since it is supplying multiple motors with high frequency pwm signals has substantial AC needs, so a good cap here eliminates a lot of noise from the entire system.

There are two cap on the mana se board, could both be replaced with 24v or higher?
Title: Re: Mana SE led D4 blinking [Solved]
Post by: Stonemull on August 27, 2019, 06:54:03 PM
no, the 6.3v cap is after the 5v regulator, thats fine.