-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long delay sending Z changes? Also camera freezing? #2
Comments
The delay on the Z changes is due to the code updating the when the file percentage increments by 1%. Its an inaccurate method I'm going to fix it once I have some time next week. The Z change issue is new to me, I think its due to the printer firmware slow communication rate. It takes some time to respond to Z change and home commands because it can only respond to 1 command per 0.5 seconds and the HAL they used is probably shitty. Or my shitty code is blocking the send loop. What printer are you using? |
Mars Pro with the original Chitu Board (V2, I guess?). |
Can you send me a picture of how you hooked it up. I need to create a wiki with hardware setup pictures eventually. Also I did some research about your camera problem and it might be an issue with the pi 3A+. Unfortunately I don't have one to test right now. |
I can take a picture sometime tomorrow, although it's already all closed up now.
It seems to me that sending the Z command causes something in the system to drop the camera connection. Note that this does NOT happen during regular printing (which has a ton of Z changes), the camera remains active the whole time then. Also, I just noticed the following in terminal when switching on the printer:
Not sure what that checksum error is about. |
The M110 is due to an issue with how the firmware handles the M110 set line number command. You should add M110 to the blocked commands list and change "Send a checksum with the command" to never. I'll modify my plugin so that's done by default. During regular printing all the Z changes are handled on the printer side. The slow serial communication is a major issue, that's why I set the polling intervals to 2s. |
Okay, that took care of the checksum display, thanks. |
As promised, pictures of the setup. Note that this is temporary, I'm waiting for a much more compact USB cable still, and the case was just attached with a small piece of double sided tape to get it up and running. Octoprint is also running the Tasmota plugin and a tasmota-powered socket, so that I can turn the printer on and off from within Octoprint (the Pi is always on, running on a seperate power supply). |
Thats better looking than my janky setup. The chituboard firmware doesn't support checksums, its a feature in Marlin firmware. |
Updated with the finalized build pictures. |
where did you get the files for your pi cam case and support ? how is it attached to the rail ? Thank you NP |
i am having exectly the same issues with the delay.... it takes um to 5min to get a comand sent and executed. Send: G91 any ideas ? Thank you |
after a reboot and update/upgrade..... i click on the home button and it takes 30sec to start moving but the pi cam does not freez..... really don't know what is going on :( Ty NP |
Hi.
I'm running a Pi 3A+ and a Mars Pro. I switched from Mariner on a Zero to OctoPi just today.
For printing, it seems to work great.
However, when I send a Z change (i.e. Home, or move up/down), it takes up to 30 seconds before the actual command is executed. The terminal is stuck at "Send: M4000" during that time.
Also, the current layer update is sometimes missed completely, so the layer number stays at i.e. 8 for 8 seconds, then suddenly jumps to 11 or 12.
Also, the camera will turn off and freeze briefly at random times, but most often when Z movement is being done. I'm not sure this is related.
The Pi is on a seperate 2.5A power supply and is not reporting any power losses/brownouts.
If you need any other details, let me know please.
The text was updated successfully, but these errors were encountered: