Duet 3 UART
-
I have very recently added support for the second UART on Duet 3 to RepRapFirmware, but not tested it yet. You will need to use M575 to create the second Aux channel and set its baud rate. After that you should be able to send GCode commands to it, or send strings to it using M118.
It's possible to play tunes on PanelDue or in the browser using sequences of M300 commands, with pauses inserted using G4 if needed.
-
I tried M300 to make Sound with the Buzzer on the PanelDue, But its unfortunately Not Loud enough.
for the IO1 Connections, Does RX Terminate to Duet3 IO1 Out and TX Terminate to Duet3 IO1 IN?
Ground and Voltage is Easy.I will give it a shot and Report Back.
If this Works, I could get it to play MP3 Files of anything I would Like at any time.
-
@Toastinator said in Duet 3 UART:
for the IO1 Connections, Does RX Terminate to Duet3 IO1 Out and TX Terminate to Duet3 IO1 IN?
Ground and Voltage is Easy.The other way round. Tx (which you must connect to Rx on your other device) is on IO_1_OUT, and Rx (which you must connect to Tx on your other device) is IO_1_IN. Logical, because Rx is an input and Tx is an output.
-
I setup the Board In the Config File with M575 P2 S2 B9600 (Baud rate is 9600 on this Item)
Im trying to Send Commands to this Board Using M118 P5 S"XXXXXX" and I get an "Error: M118: Invalid message type: 5"
But in the Reference it Mentions #5
M118: Send Message to Specific Target
Supported in RepRapFirmware 1.21 and later.Parameters
Pnnn Message type (0 = Generic [default], 1 = USB, 2 = PanelDue/UART, 3 = HTTP, 4 = Telnet, 5 = second UART) (optional)
-
@Toastinator said in Duet 3 UART:
"Error: M118: Invalid message type: 5"
is the duet's firmware up to date? (run
M115
to verify) -
Support for the second UART is not yet on released firmware. It will be in 3.2beta1 which is imminent.
-
@dc42 which version have second uart, 3.2.2? or 3.3?
-
@albertshao 3.4.0 is the current supported firmware version.
-
@dc42 I test with my duet2 wifi board.
M575 P2 B57600 and reply "Error: M575: parameter 'P' too high".
Where do I miss ? -
@albertshao I believe it's duet 3 only
-
@jay_s_uk thanks
-
@albertshao that's correct, Duet 2 boards have only one externally-visible UART port.