Duet 3 Paneldue and cnc pendant M575 settings
-
I am working on a cnc pendant with a paneldue 5.0 v3.0. i connected everything according to the instruction and uploaded the code to the arduino pro micro. the paneldue tx goes to the arduino pro micro rx1.
the tx0 from the arduino pro micro goes through a 6.8kohm resistor to the io0.out (and a 10kohm resistor goes to gnd).
I can do home x, home all and move axis no further info. The arduino part is not working. My question is how can I solve this. I also looked at the M575: Set serial comms parameters but I still don't get it.https://docs.duet3d.com/en/User_manual/Connecting_hardware/IO_CNC_Pendant
-
@edwin said in Duet 3 Paneldue and cnc pendant M575 settings:
I can do home x, home all and move axis no further info. The arduino part is not working.
Please can you clarify this,. Are you saying that you can home X and Y and move axes using the PanelDue buttons? If so then the Arduino is passing the PanelDue commands through to the Duet, so it is working at least in part. What do you mean by "no further info"?
-
@dc42
Paneldue version 3.4.1 baud rate 57600.
I can't see any tools, no macros.
I can Home x, Home y, Home z. axis Homed when button is pressed but button does not turn blue when axis is homed. When I press the Move button I only see the X and Y axes. No Z axis. I can move the X and Y axis but the X0.0 and Y0.0 at the bottom left stay 0.0 but the axis does move. At Console only (info success fully initialized) there is no further message about IP address. I can send messages via the paneldue console such as (G28 X) home X as. that happens but again no blue Home button.The CNC pendant part does not work but you can see that the arduino pro micro is sending data because the TX led blinks when turning the encoder wheel. The emergency button also does not work, but when pressed, the (PinLed) does go out.
Even if only the CNC pendant is connected, it will not work.
If the Paneldue is connected without the arduino pro micro without the passthrough, the paneldue works fine. so directly connected to the duet 3 without a CNC pendant. Then all the above problems are not there.
I think the problem has to do with the passthrough. and that the arduino cannot send the data to the duet. or the data is not well received by the duet.
I also made the basic version of the cnc pendant with only the STOP button and an LED. maybe it was my arduino pro micro but unfortunately not.
I tried it with the duet 3 6hc and duet 2 wifi, with a paneldue v3.0 5" and paneldue 7i.
M575 P1 S1 B57600 ; the basic for paneldue (should this be changed?)
-
@dc42 for clarity can't see any tools and macros on the paneldue, duet boards work fine.
-
-
@dc42 What can i try to get the cnc pendant working?
-
@edwin The arduino is 5V and the PanelDue is 3.3V. The PanelDue allows 5V input (your resistive voltage divider isn't needed on the output pin). The PanelDue transmits at 3.3V and the Arduino expects input at the 5V level so the serial path PanelDue->Arduino seems like it wouldn't be reliable and needs a pull-up method. If you have a way to see the Arduino serial data I'd check that.