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?
1
Unknown member
Feb 23
Works perfect. Using stock/ordinary Chameleon with Ender 3 running Klipper, no problem.
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
I can confirm that the relay listed above works perfectly with the programming header (PA13) pin on the Ender 3 S1 main board and the 3d Chameleon! Now to get my GCode setup to print with it!
Like
Unknown member
Feb 20
Replying to
It would be great if it can be added to the gcode generator page on the website!
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?
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