Basic Information:
Printer Model: Home-built Rostock type Delta
MCU / Printerboard: Arduino MEGA2560, Raspberry Pi 2
klippy.log
klippy.zip (1.5 MB)
Fill out above information and in all cases attach your klippy.log
file. Pasting your printer.cfg
is not needed
Be sure to check our Knowledge Base and in particular this and this post
Describe your issue: I have been finding problems flashing an ATMEGA2650 and communicating with it from a Pi 2B. Although I have come up with an answer, it is not completely satisfactory. Has anybody a better answer?
DETAILS: Using the method in most documents and videos, vis: use ls /dev/serial/by-id/* to get the I.D. of the port, which in my case was: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_856323331363517080D0-if00
and using this both as a flash address and in the printer.cfg file
The above method repeatedly failed, even with different Arduino boards and Raspberry Pis. But using dmesg | tail gave me /dev/ttyACM0 which, used in both flash and printer.cfg did work satisfactorily.
The problem arises if there is a temporary stutter in the connection between the Pi and the Arduino which results in /dev/ttyACM0 being disconnected and a new connection, /dev/ttyACM1 being created so Klipper is now not communicating.
Any solution is gratefully received.