Open patofoto opened 1 year ago
did the Z motor locked? if it can be locked or unlock that means the enable_pin works
Thank you for your time. Yes. The motor locks. enable_pin is correct. Can the numbers be wrong for the step_pin and the end stop_pin?.
yes your pin numbers are right. which image of the OS are you using? or you can use other unused driver socket like E1 for the Z stepper.
Oh, I see a possible mistake I made. I am using a regular image of Mainsail OS. Also, even if I use another socket, the stop_pin for Z is also not working properly. It is not triggering at all.
the reason should be the gpios on the raspberrypi influence the gpios from the stm32, for fixed that there is a python code after raspberrypi boot in the pandapi image that will let all the gpios of raspberrpi as high input.
Understood. Thank you. Will try doing it correctly now.
Following the Klipper install steps here:
https://github.com/markniu/PandaPi/wiki/How-to-install-klipper
Using this image file PandaPi4_20210320.img
When running install-octopi.sh on my newly flashed image I get this error:
Ign:18 http://deb.debian.org/debian buster/main arm64 virtualenv all 15.1.0+ds-2
Err:18 http://deb.debian.org/debian buster/main arm64 virtualenv all 15.1.0+ds-2
404 Not Found [IP: 146.75.30.132 80]
Fetched 194 MB in 20s (9,708 kB/s)
E: Failed to fetch http://deb.debian.org/debian/pool/main/p/python-virtualenv/virtualenv_15.1.0+ds-2_all.deb 404 Not Found [IP: 146.75.30.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
If I continue without paying attention to this error and try to compile the firmware I get this:
pi@octopi:~/klipper $ make
Creating symbolic link out/board
Building out/autoconf.h
Compiling out/src/sched.o
make: arm-none-eabi-gcc: Command not found
make: *** [Makefile:64: out/src/sched.o] Error 127
I recommend you use the latest regular image OS if you want work with klipper. to fix the z motor problem you can copy the file (/home/pi/gpio_pullup.py ) from the pandapi image or download from the following link and then add the autorun command(python /home/pi/gpio_pullup.py) in the start shell /etc/rc.local reference this link https://github.com/markniu/PandaPi/wiki/How-to-install-pandapi-to-the-latest-octopi-image#6add-the-autorun-command-in-the-start-shell-etcrclocal
Thank you for all your help. I am trying to install Klipper with Mainsail not OctoPrint. Will this solution still work?. I am using Raspberry Pi Imager to install MainsailOS. This is what I get when SSH into it:
Linux mainsailos 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64
Not able to make my Z motor working properly. Had been running Marlin with OctoPrint without problems until I decided to change to Klipper. Have everything wired properly and have checked that all the cables are also working. Both X and Y are working properly also. Only Z is not working. This are my settings on my printer.cfg file:
Motor not moving at all or Z end stop triggering. I suspect PIN number are wrong for step_pin and endstop_pin. I have looked over PIN designation on the Pins Map page. They match my current setup. What can be wrong?. Any help would be greatly appreciated.
If I plug the Z motor into the Y axis connector the Z motor works as expected.