makerbase-mks / MKS-Robin

MKS Robin is a powerful 32-bit 3D printer control board with STM32F103ZET6 . Support Marlin2.0. Support MKS Robin TFT24/28/32... Screens. The motherboard integrates 5 AXIS interface, hot bed, 2 heating heads, 3 NTC100K, 2 MAX31855.Support MKS Robin WIFI for cloud printing.Supports firmware update by SD card…
https://es.aliexpress.com/item/32757129463.html?spm=a219c.12010612.8148356.9.5fc165f4oDUfFM
131 stars 129 forks source link

Marlin on MKS Robin Nano #113

Open artdezigner opened 5 years ago

artdezigner commented 5 years ago

Good day, please tell me how to configure Marlin. As I understand it, I need to migrate the basic settings from robin_nano_cfg.txt in corfigure.h, the board and the display you have already registered, but I can not understand what numbers to set in variables SERIAL_PORT and what BAUDRATE speed to specify: /**

/**

/**

zillarob commented 5 years ago

3 and 1 is what I use. I dodnt think you need the num serial, it figures it out on its own. At least in newer versions.

makerbase-mks commented 5 years ago

1, the baud rate can be set according to the general; 2, serial port A: 32-bit CPU board, namely MKS Robin series, MKS SBASE/SGEN/SGEN_L and so on, need to be set according to which group of serial ports are actually connected. MKS has open sourced the above schematic diagram of the motherboard, you can refer to it; B: MKS Robin Nano or other MKS 32 motherboard, #define SERIAL_PORT -1, here must be -1, this macro is used in 2560 and other 8-bit CPU; C: Because the USB of MKS Robin Nano is connected to STM32F103VET6 PB10/PB11, this is USART3, so #define SERIAL_PORT_2 3