Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uart [2018/02/28 01:13]
65.102.48.6 Add info on the default serial communication settings
uart [2020/03/21 00:00] (current)
wolfmanjm
Line 3: Line 3:
 Smoothieboard has an [[https://​en.wikipedia.org/​wiki/​Universal_asynchronous_receiver/​transmitter|UART]] port. Smoothieboard has an [[https://​en.wikipedia.org/​wiki/​Universal_asynchronous_receiver/​transmitter|UART]] port.
  
-This is a hardware "​serial"​ port independent from the main "​USB"​ serial port.+This is a hardware "​serial"​ port independent from the main "​USB"​ serial port. You can connect to this serial port using a "USB to UART" adapter, for example an FTDI TTL cable.
  
-You can connect to this serial port for example using a FTDI "serial to USB" ​adapter.+<callout type="primary" ​icon="​true">​ 
 +The smoothieboard communicates with 3.3V TTL logic, and can only handle a maximum of 5V on the inputs. 
 +</​callout>​
  
 This port is used at boot time to send a lot of debugging information from the smoothieboard to you, if you are running into trouble, this can sometimes be useful as errors and warnings are displayed there. This port is used at boot time to send a lot of debugging information from the smoothieboard to you, if you are running into trouble, this can sometimes be useful as errors and warnings are displayed there.
  
-Once this is done, you can then use the UART port the same way you would use the USB/Serial, or the Telnet port: you send it commands or G-codes, and you get answers.+Once this is done, you can then use the UART port the same way you would use the USB/Serial, or the Telnet port: you send it commands or G-codes, and you get answers. As the UART has NO FLOW CONTROL you MUST rigidly use the ping-pong protocol, send ONE line of gcode per ok received.
  
 You configure the baud rate for the UART port in the [[/​configuring-smoothie|configuration file]] by changing the <​kbd>​uart0.baud_rate</​kbd>​ configuration option. You configure the baud rate for the UART port in the [[/​configuring-smoothie|configuration file]] by changing the <​kbd>​uart0.baud_rate</​kbd>​ configuration option.