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

Exhaust Fan #6

Open
utrumo opened this issue Dec 18, 2024 · 2 comments
Open

Exhaust Fan #6

utrumo opened this issue Dec 18, 2024 · 2 comments

Comments

@utrumo
Copy link

utrumo commented Dec 18, 2024

Hello. Please tell me how to test the exhaust fan and how to configure it?
Which port of the octopus board to connect it to is described in the instructions.
But it is not spelled out in the printer.cfg config, and there is nothing in the article initial startup checks about checking it.

@utrumo
Copy link
Author

utrumo commented Dec 19, 2024

@utrumo
Copy link
Author

utrumo commented Dec 19, 2024

For orca slicer, according to the instructions, I corrected my printer.cfg:

Commented on these lines:

[fan]                                    # Parts Cooling Fan 
pin: EBBCan:gpio13               # Fan pin 
cycle_time: 0.00003                  # Cycle time
hardware_pwm: false              # hardware pwm

And below I added these:

#--------------------------------------------------------------------

# instead of using [fan], we define the default part cooling fan with [fan_generic] here
# this is the default part cooling fan
[fan_generic fan0]                   # Parts Cooling Fan 
pin: EBBCan:gpio13                   # Fan pin 
cycle_time: 0.00003                  # Cycle time
hardware_pwm: false

#--------------------------------------------------------------------

# this is the exhaust fan
[fan_generic fan3]
pin: PD13
cycle_time: 0.00003
hardware_pwm: false

#--------------------------------------------------------------------

[gcode_macro M106]
gcode:
    {% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
    {% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
    SET_FAN_SPEED FAN={fan} SPEED={speed}

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

No branches or pull requests

1 participant