Skip to content
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

Geonosis Revival #163

Open
2 of 6 tasks
CarlosME17 opened this issue Sep 28, 2023 · 20 comments
Open
2 of 6 tasks

Geonosis Revival #163

CarlosME17 opened this issue Sep 28, 2023 · 20 comments

Comments

@CarlosME17
Copy link
Collaborator

CarlosME17 commented Sep 28, 2023

Intento de revivir Geonosis.

Reparar

  • Mirar el estado de la mecánica.
  • Mirar el estado del firmware/Marlin.
  • Mirar electrónica y conexiones.
  • Probar a imprimir alguna pieza.

Mejoras

  • Reimprimir piezas mecánicas.
  • Actualizar electrónica.
@CarlosME17
Copy link
Collaborator Author

Mirado mecánica y electrónica: Todo bien.

@jgvictores
Copy link
Member

Resumen 18 de diciembre de 2024:

  • Estuvimos mirando el manual de https://github.com/bigtreetech/Manta-M8P
  • Comprobamos que los jumpers estaban ya para driver UART, y hemos colocado los drivers
  • Extrajimos la tarjeta SD y cambiado la contraseña del wifi (al de mi móvil, de momento)
  • Accedimos a la bigtree colocado en la impresora, vía ssh

Pending https://www.klipper3d.org/ entre otras muchas cosas.

@jgvictores jgvictores pinned this issue Jan 11, 2025
@jgvictores
Copy link
Member

jgvictores commented Jan 15, 2025

De pg 31/37, la nuestra es CB1 (aparece en red como BTT-CB1):
Login name: biqu
Password: biqu

Sintaxis para conexión ssh:

BIGTREETECH MANTA M8P V2.0 User Manual.pdf

@jgvictores
Copy link
Member

Note that we already have: /dev/serial/by-id/usb-Klipper_stm32h723xx_2C002B001351313433343333-if00

@jgvictores
Copy link
Member

The command line of make flash FLASH_DEVICE= was already in the bash history.

@jgvictores
Copy link
Member

It turns out that accessing IP via web browser, printer.cfg is already there with the corresponding include directive.

TLDR: Nos hemos acabado el juego, pero porque al parecer @CarlosME17 ya lo había hecho todo (unos enanos o seres muy pequeños/invisibles/indetectables si no). Con juego, digo BIGTREETECH MANTA M8P V2.0 User Manual.pdf.

...pero aún no sabemos mover partes de la impresora vía software. Continuará...

@MarckArthur
Copy link

probar utilizando ortoprint usando la ip de la impresora

@jgvictores
Copy link
Member

Vía web vía IP de la impresora:

Klipper reports: ERROR

Option 'position_endstop' is not valid in section 'stepper_z1'

Once the underlying issue is corrected, use the "RESTART"
command to reload the config and restart the host software.
Printer is halted

Nótese tb que está el Klipper log ( https://www.klipper3d.org/ ) y el Moonracker log ( https://moonraker.readthedocs.io/en/latest/ ). Viendo https://www.klipper3d.org/OctoPrint.html puede interesar OctoPrint y no Moonracker, pero aún no sé lo que es nada.

@jgvictores
Copy link
Member

 $ sudo service klipper status

● klipper.service - Klipper 3D Printer Firmware SV1
     Loaded: loaded (/etc/systemd/system/klipper.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2025-01-15 15:38:25 UTC; 6 days ago
       Docs: https://www.klipper3d.org/
   Main PID: 801 (python)
      Tasks: 2 (limit: 1017)
     Memory: 32.7M
        CPU: 6.052s
     CGroup: /system.slice/klipper.service
             └─801 /home/biqu/klippy-env/bin/python /home/biqu/klipper/klippy/klippy.py /home/biqu/printer_data/config/printer.cfg -I >

Jan 15 15:38:25 BTT-CB1 systemd[1]: Started Klipper 3D Printer Firmware SV1.

@jgvictores
Copy link
Member

The files that appear via the web interface are those of /home/biqu/printer_data/config.

@jgvictores
Copy link
Member

jgvictores commented Jan 22, 2025

Klipper reports: ERROR

Option 'position_endstop' is not valid in section 'stepper_z1'

Once the underlying issue is corrected, use the "RESTART"
command to reload the config and restart the host software.
Printer is halted

Esto según Klipper3d/klipper#4413 (comment) y Klipper3d/klipper#744 (comment) es que no le gusta que en generic-bigtreetech-manta-m8p-V2_0.cfg hayan ciertas cosas en la sección stepper_z1 (porque prefiere tirar de stepper_z, los considera duplicados), así que modificada sección stepper_z1:

- position_endstop: 0
- position_max: 270
- position_min: -5.0
- homing_speed: 8
- second_homing_speed: 3
- homing_retract_dist: 3
+ #j#position_endstop: 0
+ #j#position_max: 270
+ #j#position_min: -5.0
+ #j#homing_speed: 8
+ #j#second_homing_speed: 3
+ #j#homing_retract_dist: 3

Con esto ya no salen esos errores, sino que sale toda una sección buena System Loads:

Image

@jgvictores
Copy link
Member

He estado jugando con los Endstop y detecta bien Triggered (cuando no se tocan) y Open (cuando se pulsan) en X, Y, Z. Entiendo que Z1 no sería necesario.

Image

@jgvictores
Copy link
Member

Desde Dashboard intenté un Home All, y petó:

Klipper reports: SHUTDOWN

Unable to read tmc uart 'stepper_x' register IFCNT
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown

Image

@jgvictores
Copy link
Member

Unable to read tmc uart 'stepper_x' register IFCNT

Según https://www.reddit.com/r/BIGTREETECH/comments/t7fm2h/getting_unable_to_read_tmc_uart_stepper_x/ hay que """Edite para, con suerte, salvar a otra persona que obviamente no lee las instrucciones lo suficientemente bien: recibía el mensaje "No se puede leer el registro IFCNT del tmc uart 'stepper_x'" porque no había conectado la fuente de alimentación de 24 V al "Motor". "Terminales de alimentación" del Octopus, por lo que los controladores paso a paso no recibían energía. Los conecté y todo está funcionando. Me lo perdí porque no había tenido que conectar una placa base como esta antes, así que si recibe este error, verifique que sus controladores estén recibiendo energía."""

@jgvictores
Copy link
Member

DUMP_TMC STEPPER=stepper_x

17:38
Unable to read tmc uart 'stepper_x' register GCONF
17:38
========== Queried registers ==========
17:38
SGTHRS:     00000000
17:38
TPOWERDOWN: 00000014 tpowerdown=20
17:38
COOLCONF:   00000000
17:38
TCOOLTHRS:  00000000
17:38
TPWMTHRS:   00000000
17:38
IHOLD_IRUN: 00081919 ihold=25 irun=25 iholddelay=8
17:38
SLAVECONF:  00000200 senddelay=2
17:38
========== Write-only registers ==========

@jgvictores
Copy link
Member

jgvictores commented Jan 29, 2025

TLDR: Will attach each jumper to HV side (closer to transparent red power connector side) so each driver uses "Motor Power" (and not VBB which powers via "Power").


From https://klipper.discourse.group/t/error-message-unable-to-read-tmc-uart-stepper-x-register-ifcnt/13945/7 :

Image

Also: bigtreetech/Manta-M5P#1

And: https://www.youtube.com/watch?v=1O7_CgSaQnE

@jgvictores
Copy link
Member

jgvictores commented Jan 29, 2025

Se ha movido!

Parece que la lógica de los end-stops está invertida, para que se moviese X al darle a home tuve que mantenerlo pulsado. ^^

PD: También sería estético/conveniente cambiar los cables que puse por unos jumpers puentecillo de toda la vida.

@jgvictores
Copy link
Member

PD: También sería estético/conveniente cambiar los cables que puse por unos jumpers puentecillo de toda la vida.

Hecho!

Parece que la lógica de los end-stops está invertida, para que se moviese X al darle a home tuve que mantenerlo pulsado. ^^

WIP, see https://www.reddit.com/r/klippers/comments/zp361r/endstop_trigger_setup/

jgvictores added a commit that referenced this issue Feb 5, 2025
- Also comment out endstop of stepper_z1, rely on stepper_z
- #163 (comment)
@jgvictores
Copy link
Member

X and Y homing correctly via 6515f4a 🎉

Issue now regarding movement on Z axis: one motor shakes and the other motor seems not to move. Will review similar issues, may be due to cables but also current setup.

@jgvictores
Copy link
Member

Issue now regarding movement on Z axis: one motor shakes and the other motor seems not to move. Will review similar issues, may be due to cables but also current setup.

Vale no: one Z motor shakes, the other Z motor seems not to move, but the extruder does sound.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants