3DCoded / 3dchameleon-klipper

A klipper extras module and configuration for the 3DChameleon
GNU General Public License v3.0
13 stars 1 forks source link

Detail how to hook up relay #1

Closed challgren closed 5 months ago

challgren commented 5 months ago

I was reading the docs and I can't understand how to hook up the limit switch to the relay. Can you detail this or provide a photo?

Thanks!

3DCoded commented 5 months ago

Sure! I have added a document explaining how to hook up the limit switch, Chameleon, and RPi to the Relay. Note that this uses a Relay shield as I don't have much experience with normal relays. Here is the link: docs/wiring.md

If this answers your question, please close this issue. If not, please tell me what I can do to help answer it more clearly.

challgren commented 5 months ago

Thank you very much! I don't have the kit just yet but I've been researching on how to use it with klipper and my first thing was to get rid of the physical button but I didn't know how people achieved that. But thank you that clears my issue up and should help others on their journey.

challgren commented 5 months ago

After reading the 3d chameleon forums you can directly hook up to the raspberry pi by inverting the pin and connecting green to your gpio and black to a ground. 2.0v+ will trigger the chameleon. But thank you for the guide.

3DCoded commented 5 months ago

Thank you. I didn't see that. I will experiment with that to see if any changes would need to be made to the plugin/documentation.

challgren commented 5 months ago

The biggest would be inversion of the pin. I was using your script and the dependency on the filament sensor is kind of a deal breaker right now. Also having a lot of config file parsing issues.

3DCoded commented 5 months ago

I have updated the documentation (the Wiki) on how to invert the pin, but the filament sensor is needed for reliability reasons (the entire plugin is built around a filament sensor). What kind of config file parsing issues are you running into? Can you post your error messages here?

3DCoded commented 5 months ago

I can add support for not using a filament sensor, but that would reduce the reliability of the system.

3DCoded commented 5 months ago

I just added experimental support for disabling the filament sensor, which can be used by setting filament_sensor_name: disabled.