Arduino nano+duet3mini
-
@alankilian I will now try to switch to port and io_0 and configure it as M575 P1 . But I think I've already done that today
-
@vladimir_u Do you think Tx is flashing when the Duet is trying to talk to the Arduino?
If so, swap the Tx/Rx pins.
-
@alankilian I used port io_1 after reading these messages: https://forum.duet3d.com/topic/24557/neopixels-duet3-mini5/14?_=1643657549949#
-
@alankilian changing pins Rx/Tx does not give results.
changing the port from io_1 to io_0 with the command M575 p1 does not give results.
Connecting 5 volts to the port does not give results.
How to access arduino from the console? -
here is a section of the arduino nano circuit. can the connection with the ch340 interfere with communication?
-
I removed the resistors r6 and r7 from the board, which connect the tx and rx with the ch340. the connection has appeared.Both on port io_0 and io_1, depending on the settings of the m575. Some functions work. We need to correct the sketch. But it will be inconvenient to flash now...
-
If I'm understanding you correctly, you should be able to use the other serial port if you update the sketch.
ALSO, you did add the level shifter between the Arduino Tx line and the Duet right?
So you don't ruin your duet. -
@alankilian yes, I have heard that it is possible to assign digital pins for rx and tx. But I've never programmed an arduino. I need to figure out how to do this.
I didn't use the level shifter. It is stated that the io_0-io_4 ports on the duet3mini have resistors and are capable of receiving a signal up to 30V. -
@vladimir_u the Arduino Pro Micro and Leonardo are easier to interface to a Duet. They accept 3.3V level signals when powered from 5V, and the serial port is separate from the USB port used for programming.
-
@dc42 Yes, I know about it. But I didn't have these arduino models in stock. It was interesting to connect the "nano" that I had. And everything worked out...