How to send massive data to a tiny serial buffer?
i have plotter, supposed draw gcode scripts. know little serial communication. nothing read says single issue, namely can receiving unit halt communication, if buffer gets full? there in protocol makes sender wait until receiver has processed in buffer?
i've been told these kind of scripts can't hard coded each sketch , better send script through serial communication. can dump script text file com port on computer , rely on system (windows) data gets transferred? or need write own software on windows perform dump prevent buffer overflow in arduino?
i've been told these kind of scripts can't hard coded each sketch , better send script through serial communication. can dump script text file com port on computer , rely on system (windows) data gets transferred? or need write own software on windows perform dump prevent buffer overflow in arduino?
quote
is there in protocol makes sender wait until receiver has processed in buffer?yes heir quite few ways of doing this. 1 called xon / xoff, gcode receiver sends special character xon when wants data sent , and xoff when buffer full. standard serial protocol.
you can same thing serial handshake lines, happens @ hardware level.
the other way have done send 1 gcode @ time , have gcode device send acknowledgement when command has been processed. not gcode issue 1 between program sending gcode , device receiving it.
quote
i've been told these kind of scripts can't hard coded each sketci don't understand that, sounds rubbish me.
Arduino Forum > Using Arduino > Project Guidance > How to send massive data to a tiny serial buffer?
arduino
Comments
Post a Comment