my cube print

Topics Related to the ORD Bot Printer

Re: my cube print baudrate

Postby flurin » Wed Jun 19, 2013 8:31 am

cozmicray wrote:It appears that Marlin sets up the baud rate to talk to the computer.
I don't know why it sets it at the highest?

You will have to edit Marlin in the arduino IDE to set it that the baud rate you want
compile it verify it and up load it. I think the boot loader uses 9600 baud


boards.txt in the Arduino Environment defines the upload.speed that corresponds to the bootloader eg. for the Arduino mega2560 > mega2560.upload.speed=115200. But Marlin uses the baud rate defined in Configuration.h (default BAUDRATE 250000).

Marlin_main.cpp:

Code: Select all
void setup()
{
  setup_killpin();
  setup_powerhold();
  MYSERIAL.begin(BAUDRATE);
  SERIAL_PROTOCOLLNPGM("start");
  SERIAL_ECHO_START;
...


I wouldn't set the baud rate to 9600 in Marlin, it's too slow. The best is to use the highest baud rate as possible.
User avatar
flurin
 
Posts: 203
Joined: Mon Feb 27, 2012 12:09 pm
Location: Switzerland

Previous

Return to ORD Bot

Who is online

Users browsing this forum: No registered users and 23 guests

cron