Welcome! Log In Create A New Profile

Advanced

ANET A6 Marlin 2.0

Posted by HSNSBBH 
ANET A6 Marlin 2.0
March 12, 2025 07:14PM
I want to replace my Anet A6 printer card with SKR 1.3 and install Marlin 2.0 but I couldn't. Can someone help me?
Re: ANET A6 Marlin 2.0
March 12, 2025 10:28PM
You give nothing to go on, other than you failed...

error messages?
symptoms?
Where did you get to?
Re: ANET A6 Marlin 2.0
March 12, 2025 10:48PM
You start with example configs [github.com] (change to the version of the code your using)


make the following changes:
#define MOTHERBOARD BOARD_ANET_10 to #define MOTHERBOARD BOARD_BTT_SKR_V1_3
#define SERIAL_PORT 0 to #define SERIAL_PORT -1
#define ENDSTOP_INTERRUPTS_FEATURE to //#define ENDSTOP_INTERRUPTS_FEATURE

Now the SKR_V1_3 has plug in stepper modules so you need to update the following to your new driver type
#define X_DRIVER_TYPE ???
#define Y_DRIVER_TYPE ???
#define Z_DRIVER_TYPE ???
#define E0_DRIVER_TYPE ???

Note that some stepper driver types flip the direction of the stepper motors, if they go the wrong way change the following

#define INVERT_X_DIR false to #define INVERT_X_DIR true
#define INVERT_Y_DIR false to #define INVERT_Y_DIR true
#define INVERT_Z_DIR true to #define INVERT_Z_DIR false
#define INVERT_E0_DIR false to #define INVERT_E0_DIR true

And that should be all you need (but there are lots of other things you could enable)

Edited 4 time(s). Last edit at 03/13/2025 12:52AM by Dust.
Re: ANET A6 Marlin 2.0
March 13, 2025 04:44PM
I verified that the endstops are working in the terminal, but the motors are not stopping at the endstops, it is straining the motors, my drivers are A4988, but I couldn't figure out exactly how to make the tmc settings.
Re: ANET A6 Marlin 2.0
March 13, 2025 07:48PM
"my drivers are A4988, but I couldn't figure out exactly how to make the tmc settings." these are mutually exclusive

If you have A4988 Driver you don't have TMC stepper driver so don't have any tmc settings to set.
Re: ANET A6 Marlin 2.0
March 13, 2025 08:28PM
How are you testing endstops?

Note: moves (G0, G1 etc) are not stopped by endstops, endstops by default are only used during homing moves ( G28 ) Unless you enable ENDSTOPS_ALWAYS_ON_DEFAULT
Re: ANET A6 Marlin 2.0
March 13, 2025 09:00PM
I use the M119 code in the terminal with the Arduino ID program
Re: ANET A6 Marlin 2.0
March 13, 2025 11:41PM
So your telling me that using M119 and looking at X-MIN endstop (since configuration.h should have #define X_HOME_DIR -1) says OPEN when the endstop is not activated, and says TRIGGERED when the endstop is activated?
And the same with Y-MIN ? If so this should be homing fine.

please attach your Configuration files for examination.

Edited 1 time(s). Last edit at 03/13/2025 11:43PM by Dust.
Re: ANET A6 Marlin 2.0
March 14, 2025 07:37AM
I took this code from this github page and started to redesign it

[github.com]

Edited 1 time(s). Last edit at 03/14/2025 09:07AM by HSNSBBH.
Re: ANET A6 Marlin 2.0
March 15, 2025 07:28PM
You dont use random forks of code you find on the internet, who knows what they have changed and broken.

Also that code is very old.
Re: ANET A6 Marlin 2.0
March 15, 2025 07:43PM
Download official marlin 2.1.2.5

Marlin 2.1.2.5.zip

Download example config files for stock A6 (click the download raw file icon on each page below)

Configuration.h
Configuration_adv.h
_Statusscreen.h

Put these example Config files into Marlin replacing the default Configuration.h and Configuration_adv.h

Update these two lines in Configuration.h

change #define MOTHERBOARD BOARD_ANET_10 to #define MOTHERBOARD BOARD_BTT_SKR_V1_3
change #define SERIAL_PORT 0 to #define SERIAL_PORT -1
Edit: I forgot one
change #define ENDSTOP_INTERRUPTS_FEATURE to //#define ENDSTOP_INTERRUPTS_FEATURE

Edited 4 time(s). Last edit at 03/16/2025 10:31AM by Dust.
Re: ANET A6 Marlin 2.0
March 16, 2025 09:57AM
I did what you said and changed two lines but this time I got these errors
Attachments:
open | download - Ekran görüntüsü 2025-03-16 154700.png (15 KB)
Re: ANET A6 Marlin 2.0
March 16, 2025 10:20AM
Ignore the problems tab, that mostly Microsoft telling lies

Look at Terminal window for errors or success

Edited 1 time(s). Last edit at 03/16/2025 10:29AM by Dust.
Re: ANET A6 Marlin 2.0
March 16, 2025 10:27AM
I did forget you need to disable #define ENDSTOP_INTERRUPTS_FEATURE by making it //#define ENDSTOP_INTERRUPTS_FEATURE

This builds fine

Here is the firmware I built doing just this firmware.bin

Edited 2 time(s). Last edit at 09/06/2025 05:23AM by Dust.
Re: ANET A6 Marlin 2.0
September 05, 2025 07:11AM
bonjour a tous,

je viens de récupérer une ANET A6 avec une carte V1.5 que j'ai upgrader avec la dernière version de MARLIN (v2.1.2.5) tout fonctionne correctement.

J'ai installer un BLTOUCH et je voudrais modifier le programme pour avoir l'autoleveling.

j'ai tester différentes modification avec VS Code et je ne peux compiler le programme car trop gros pour cet carte.


auriez vous s'il vous plait une solution pour que l'autoleveling fonctionne?

d'avnace merci a tous.

Edited 1 time(s). Last edit at 09/05/2025 07:16AM by Gil Geoffroy.
Re: ANET A6 Marlin 2.0
September 06, 2025 06:40AM
The Anet 1.0 board is just a nightmare

Tiny amount of flash 128K

Most do not have a bootloader so you need to install one. Even if you have one it is recommended you install the smaller optiboot,
There are 3 build options (sanguino1284p, sanguino1284p_optimized, melzi_optiboot) you want the last one. It gives you most firmware space, but you must install the bootloader first

Even attaching bltouch itself you have to hack it on, there is no available PWM pin see [p3d.mx] (its for a anet a8, but its the same controller)

And then you have to spend months careful selecting/deselecting features to not overflow the limited flash space.

Do yourself a favor and get a new controller.

Edited 1 time(s). Last edit at 09/06/2025 06:42AM by Dust.
Re: ANET A6 Marlin 2.0
October 28, 2025 05:55PM
Merci poussière pour les info.

N'arrivant pas avec le BLtouch, j'ai mis en place un capteur capacitif et cela fonctionne, j'ai trouver les paramètres et ai pu upgarder la carte V1.5.

L'imprimante Anet a6 a l'air de fonctionner correctement, mais j'ai un problème de décalage de tête d'impression.

A l'impression les parois verticales ne ce touche pas.

Lorsque je vérifie le déplacement de la buse j'ai un dépassement de +-1.5mm sur 5cm.

Comment puis je rectifier ce défaut?
Je pense que les drivers moteur intégrer dans le programme MARLIN 2.1.5 (config ANET A6) ne correspondent pas aux moteur pas à pas de l'imprimante.
Ceci est une supposition je ne suis sure de rien.

Moteur installer =
Anet step motor
ref = 42 SHDC 3025-24B

Drivers type dans le programme = A4988

Merci d'avance pour votre aide.

Gil
Sorry, only registered users may post in this forum.

Click here to login