Welcome! Log In Create A New Profile

Advanced

Please Help identify this board name and lcd controller

Posted by serandre 
Please Help identify this board name and lcd controller
December 09, 2017 02:53PM
I have bought an used Delta mini 3d printer and this is the board that came with it. I don't know how to identify this board, there's no identification, only texts in chinese.

The board have a SDCard, a Rotary button encoder, an USB connector, an On/Off switch, all of them soldered in the board (ATMEGA 2560 is the main chip), the motors chips is all 8825.

The LCD is write 2004A and is soldered in the main board.

I need to know how to setup this board and LCD in Marlin firmware, I want to update the Marlin in the 3d printer to a new version.

Please help me.
Attachments:
open | download - IMG_0325 (2).JPG (509.8 KB)
open | download - IMG_0326.JPG (456.7 KB)
Re: Please Help identify this board name and lcd controller
December 10, 2017 12:01AM
When you connect the board to pronterface, there is a startup message. Does it say anything useful?
OTOH, the reason why the printer was sold might be the poor performance of the DRV8825 drivers. At least they have a bad reputation to skip steps when running slow. ( i.e. extruder )

Edited 1 time(s). Last edit at 12/10/2017 12:06AM by o_lampe.
Re: Please Help identify this board name and lcd controller
December 10, 2017 01:42AM
It shows, is a Marlin 1.0.0 jcrocholl author firmware.

Not usefull information on startup messages.
Re: Please Help identify this board name and lcd controller
January 04, 2018 03:35PM
Ok. Nobody knows about this board.

I have tried every 2560 board available in Marlin, but none works fully. I discovery that the following PINS by myself:
PIN: 2 Port:E4 X_MAX_PIN
PIN: 58 Port:F4 Z_MAX_PIN
PIN: 65 Port:K3 Z_MIN_PIN
PIN: 13 TEMP_BED_PIN
PIN: 14 TEMP_SENSOR_0

Well not too much. I have used M43 gcode to read the PINS and test these pins and they worked.

How can I test the another PINS for stepper motors, heater and fan coolers ? Anyone could help me with this ?
Re: Please Help identify this board name and lcd controller
January 04, 2018 05:13PM
you should be able to visually trace some of them, take a high res scan (flat bed scanners are good for this, and blow it up as large as you can, both sides

you can also just use a multi meter on continuity to track where the step/direction and enable pins on the stepper drivers end up on the chip. Same with mosfet gate pins and any io pins
NB physical pin is not the same ardunio pins

see


NB the standard mega 2560 does not use all pins on the chip and your board might use those additional pins ... same as rambo does, needs a boards definition file to add the extra pins
see [raw.githubusercontent.com]

It adds in digital pins 70-83

Edited 2 time(s). Last edit at 01/04/2018 05:49PM by Dust.
Re: Please Help identify this board name and lcd controller
January 09, 2018 10:36AM
Thank you very much, I have discovery several pins and almost done with mapping the pins for this board:

I'm posting what I found so if someone needing help identifying this board willl get the right pins:

//
// LCD Display output pins (I have configured in Configuration.h #define ULTRALCD and #define NEWPANEL), this board have the LCD soldered and only these settings are needed.
//
#define LCD_PINS_RS 49
#define LCD_PINS_ENABLE 48
#define LCD_PINS_D4 47
#define LCD_PINS_D5 46
#define LCD_PINS_D6 43
#define LCD_PINS_D7 42

// Rotary encoder
#define BTN_EN1 29
#define BTN_EN2 39
#define BTN_ENC 30

// Termistors
#define TEMP_0_PIN 14 // hotend thermistor
#define TEMP_BED_PIN 13 // heated bed thermistor


#define Z_STEP_PIN 63
#define Z_DIR_PIN 62
#define Z_ENABLE_PIN 64

#define E0_STEP_PIN 23
#define E0_DIR_PIN 22
#define E0_ENABLE_PIN 24


The following I didn't get them to work and I'm absolutelly sure the pins are correct it's clean visible in the board layout, I can only get to work with M17 enable and M18 disable the motors but not making them to move (turn left or right).

#define X_STEP_PIN 5
#define X_DIR_PIN 4
#define X_ENABLE_PIN 54

#define Y_STEP_PIN 26
#define Y_DIR_PIN 25
#define Y_ENABLE_PIN 27
Re: Please Help identify this board name and lcd controller
January 11, 2018 12:50PM
More pins discovered for this board:

#define HEATER_0_PIN 8
#define HEATER_BED_PIN 9
#define FAN_PIN 7
#define SDSS 53


So this has been completed, all pins discovered. This board is not compatible with ANY BOARD included in Marlin, problably a customized board. Well, anyway all pins are good and if anyone has this, just give it a cool name and use these pinouts.

For my unluck the X/Y motors are not working, I don't know why tried everything but it just works the EN pin, not the step/dir pins.
Re: Please Help identify this board name and lcd controller
January 12, 2018 01:12AM
Now that you've found all the pins, you could try RAMPS-test software instead of Marlin. You'd have to rewrite it to match your pins, but that way you could find out, if the XY-steppers would work ( hardware-wise )
Attachments:
open | download - _Ramps_test.ino (3.2 KB)
Re: Please Help identify this board name and lcd controller
January 12, 2018 09:06AM
o_lampe, ONE BILLION THANKS !!!!!!!!!!

IT WORKED !!! The X/Y steppers WORKEDDDDDDDDDDDDDD using the RAMPS-test !!!!

I so happy, I was afraid I got the X/Y controller fried. Now I know it's ALL working.


Do you have some tip why using Marlin the X/Y motors dont work ?

Thanks Again !
Re: Please Help identify this board name and lcd controller
January 13, 2018 12:44AM
Did you try to home the printer ( G28 ) or sent G92 X0 Y0 Z0 to fake it is homed? Otherwise Marlin won't move XYZ axis.
For the extruder you'd have to allow cold extrusion with M302 or heat up the hotend above ~170°C.
Re: Please Help identify this board name and lcd controller
January 13, 2018 02:07AM
Quote
o_lampe
Did you try to home the printer ( G28 ) or sent G92 X0 Y0 Z0 to fake it is homed? Otherwise Marlin won't move XYZ axis.
For the extruder you'd have to allow cold extrusion with M302 or heat up the hotend above ~170°C.

Yes, I tried the G92 X0 Y0 Z0 and also the M302 S0 to allow cold extrusion.

The Z and E works, but the X and Y didn't move to any direction, but if I try the M17 the X/Y motors hold it's position ( i can't move then by hand), and when I use the M18 they release (I can move then by hand), there's something in Marlin conflicting with the step and dir pins of these motors.

I tried yesterday to install the Repetier firmware and all the motors worked. But since I'm not so experienced with Repetier I didn't get the LCD to work. I will try to study more the Repetier in case I cant' get Marlin to work.

[Update] I got the LCD to work in Repetier, trying now to make the encoder to work. Repetier is a pain to setup lol.

Edited 1 time(s). Last edit at 01/13/2018 04:33AM by serandre.
Re: Please Help identify this board name and lcd controller
January 13, 2018 06:00AM
GOT IT !!!

I'm feeling so stupid !!!

I was trying to move the X/Y motors before homing. So instead of homing (i was testing the board without the printer with just 1 motor connected) I just move the Z and all motors X/Y moved (it's configured as a Delta).

So, mission completed. :-)

Thank you for all the help I got from this board !!!
Re: Please Help identify this board name and lcd controller
February 13, 2018 07:09AM
I'm attaching the file pins_MEGATRONICS_2.h. I have changed this file to use all the pins for this board for anyone needing to setup Marlin.
Attachments:
open | download - pins_MEGATRONICS_2.h (3.2 KB)
Re: Please Help identify this board name and lcd controller
February 13, 2018 10:21AM
Hey, it's the guy from the youtube channel here. I managed to compile and upload the firmware to the printer, but I got a couple of problems.
The encoder, and apparently one of the limit switches are not working.
I've tested all the motors, fans, SD card, and LCD seem to be working.
Also, when trying to execute a G33 Delta Auto Level, the printer returns "ok" but nothing happens.

Edited 5 time(s). Last edit at 02/13/2018 11:21AM by lekey9000.
Re: Please Help identify this board name and lcd controller
February 13, 2018 12:56PM
Managed to find the company that actually makes the boards, problem is, it's all in chinese. Want to try asking them for the files (that are available, but you have to install a ton of chinese stuff to download).

[shop106466425.world.taobao.com]
Re: Please Help identify this board name and lcd controller
February 14, 2018 11:46AM
Hi. Ok, I'm sending the configuration.h file I'm using, this should help you compile a working firmware (I'm using Marlin 1.1.7).
Attachments:
open | download - Configuration.h (70.5 KB)
Re: Please Help identify this board name and lcd controller
February 16, 2018 08:49AM
Thanks! The encoder works just fine with your configuration. One of the differences I did notice is that I set the power source wrong.
The problem now is that when I try to calibrate the printer or level the bed it basically auto homes, goes down a little, and then go all the way up.
Even after hitting the limit switches it still tries to go higher - that would eventually break the printer if I didn't turn it off before.
The motors work just fine when controlled manually and the auto home works as expected too. Any ideas?

Edited 1 time(s). Last edit at 02/16/2018 08:58AM by lekey9000.
Re: Please Help identify this board name and lcd controller
February 16, 2018 12:48PM
Make sure you are using Marlin 1.1.7, I've tried version 1.1.8 and have several issues like these you had.

Using version 1.1.7, before trying to do any home or auto calibration type the following command in pronterface or any slice software that allows issuing gcodes (make sure you move the carriages away from the endstop limit switches):

M119

This command will show the endstop states: open or triggered

If any endstop shows triggered you will have to change it in the configuration.h where shows true to false for the endstop that shows open with M119:

#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.

After this you can home (G28) and auto calibration (G33) and auto level bed (G29);

Let me know if you got it to work.

Just remember that after you issue G33, issue M500 to save in EEPROM, the same must be done with G29 to save the settings. To make the G29 effective you must setup the init gcode in your slice software (ALWAYS after the G28 with the gcode M420 S1 - without this command the printer will not use the saved mesh).

The last thing you need to do is to setup the new ZERO height of the bed, if you don't to this your print head will crash in the bed. To do it issue a G28 to home and move just a little above the printer bed, and put a piece of paper above the bed. Slowly move the print head down in 0.1mm increments till the paper just can't move freely and get the position of it with M114 command. To setup new height get the vallue from configuration.h (DELTA_HEIGHT) and subtract from the Z value you've got from M114. Now you should setup the new Z height with the command M665 H. If you need more help you can see the Marlin gcodes here: [marlinfw.org]

Edited 1 time(s). Last edit at 02/16/2018 01:00PM by serandre.
Re: Please Help identify this board name and lcd controller
February 17, 2018 12:21PM
Can't thank you enough, followed your instructions and apparently the Z_MIN_PROBE was triggered.
It was very hard to try and troubleshoot the problems without having knowledge of the Marlin gcodes.
The printer seems to be working better than ever, just as you said.

Thank you!
Re: Please Help identify this board name and lcd controller
February 17, 2018 01:24PM
Glad you have make it work.

Just a tip:
If you use the heat bed avoid to use it without a heat sink, my board mosfet has melted the solder after 6 months of use, use a heat sink on the heat bed mosfet (a large one that can fit in it) or use an external heat bed board, it's cheap from ML (about R$60), also use heat sink on the DRV8825's axes, this board only have heat sink on one DRV8825 chip (the extruder).
Re: Please Help identify this board name and lcd controller
February 18, 2018 09:50AM
Wow, seems like you had a tough time.
Actually my printer doesn't have a heated bed. But if I do upgrade it, I will take that into consideration, thanks.
Re: Please Help identify this board name and lcd controller
February 24, 2018 11:06AM
Okay, so I'm getting a lot of artifacts, trying to figure out why. Most of the time my prints have some kind of pattern all over them. Seems like something that should be fixed with configuration, did you have any similar problems?
I'm using 3 shells, so I'm pretty sure there's nothing to do with infill. I put a link to a picture of the issue below (since it's too large to attach)

[photos.app.goo.gl]

Edited 1 time(s). Last edit at 02/24/2018 11:07AM by lekey9000.
Re: Please Help identify this board name and lcd controller
February 25, 2018 06:26AM
These are blobs and zits (https://www.simplify3d.com/support/print-quality-troubleshooting/#blobs-and-zits) issue.

Make sure you have your extruder calibrate correctly. Bellow are some sites with info on calibrating extruders (you can find more on google search):

[mattshub.com]
[www.instructables.com]

After calibrating your extruder take a look at simplify3d print quality troubleshooting to see another settings that can help fix this issue.

I don't have any issue so far. I print at several type of filaments (PLA, ABS and PETG). You need to fine tune your print settings.
Re: Please Help identify this board name and lcd controller
February 25, 2018 07:30AM
I see, I just thought it was weird because before updating the firmware the same settings produced nearly perfect prints. Will try calibrating the extruder, it seems like the problem, thanks.

Edited 2 time(s). Last edit at 02/25/2018 07:35AM by lekey9000.
Re: Please Help identify this board name and lcd controller
March 04, 2018 03:04PM
If anyone has a similar problem, it was a combination of a low LCD_UPDATE_INTERVAL inside ultralcd.h and a high DELTA_SEGMENTS_PER_SECOND inside Configurations.h, causing the printer to stutter when printing curves.

Edited 1 time(s). Last edit at 03/04/2018 04:57PM by lekey9000.
Re: Please Help identify this board name and lcd controller
March 10, 2018 07:31AM
I'm using the default for LCD_UPDATE_INTERVAL and DELTA_SEGMENTS_PER_SECOND, and no issue when printing curves.

What print speed are you using ?

Have you fixed the artifacts in your printing ?
Sorry, only registered users may post in this forum.

Click here to login