Can anyone enlighten me on how to set this up in klipper. i am using an skr1.3 i have the y max pin (P1.26) available with a 5v relay. i need help with calling out the pin and getting the M43 comand to trigger it. and if there are some macros you you can share that would be very much apprecated
I will have the same question. I haven't gotten that far yet. I'm still figuring out the mount. I don't know if the switch wiring would be connected to the Pi or the printer control board. My thinking is the control board. It would be helpful for a guide or more detailed information on how to get this setup
I am trying to do this as well with a raspberry pi 3b+ and klipper. When using the digital pin, do I just need to connect a single wire from the 3d chameleon control board to the pi?
The 3D Chameleon was designed to be universal, so it simply uses a switch or digital I/O pin to activate it. Klipper is capable of driving a digital pin, so it's pretty easy to integrate it with it.The basics are simple... the M42 command is used to toggle an I/O pin and G4 is used to determine the pause length.So, our a command sequence of:
M42 P17 S0 ; set pin 17 to lowM42 P17 S1 ; set pin 17 to highG0 P400 ; wait 400 ms
M32 P17 S0; return pin 17 to lowWill cause the 3D Chameleon to move to unload the current color and switch to color 1 if you're using the digital I/O method.If you're using the button press, you simply replace the M42 commands with the appropriate G0 commands to move to the holding location, move to engage the button, and move away from the button after your desired delay.Bill
Looks like the trigger switch on the 3d chamelon has 5V. The rasp pi 3 gpio pins are only 3.3V. Does this mean I'll need some sort of mosfet or relay to send the correct 5V signal or will 3.3V suffice?
If this helps, I am currently working on a klipper extras module and macros for the 3DChameleon. https://github.com/3dcoded/3dchameleon-klipper
Can anyone enlighten me on how to set this up in klipper. i am using an skr1.3 i have the y max pin (P1.26) available with a 5v relay. i need help with calling out the pin and getting the M43 comand to trigger it. and if there are some macros you you can share that would be very much apprecated
I will have the same question. I haven't gotten that far yet. I'm still figuring out the mount. I don't know if the switch wiring would be connected to the Pi or the printer control board. My thinking is the control board. It would be helpful for a guide or more detailed information on how to get this setup
I am trying to do this as well with a raspberry pi 3b+ and klipper. When using the digital pin, do I just need to connect a single wire from the 3d chameleon control board to the pi?
Works perfect. Using stock/ordinary Chameleon with Ender 3 running Klipper, no problem.
Would this be implemented on the Raspberry Pi or the printer board?
The 3D Chameleon was designed to be universal, so it simply uses a switch or digital I/O pin to activate it. Klipper is capable of driving a digital pin, so it's pretty easy to integrate it with it. The basics are simple... the M42 command is used to toggle an I/O pin and G4 is used to determine the pause length. So, our a command sequence of:
M42 P17 S0 ; set pin 17 to low M42 P17 S1 ; set pin 17 to high G0 P400 ; wait 400 ms
M32 P17 S0; return pin 17 to low Will cause the 3D Chameleon to move to unload the current color and switch to color 1 if you're using the digital I/O method. If you're using the button press, you simply replace the M42 commands with the appropriate G0 commands to move to the holding location, move to engage the button, and move away from the button after your desired delay. Bill