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

[BUG] LASER_FEATURE no PWM output on BTT Octopus Pro V1.1 FAN1 (PE5) if laser power is changed via "LCD laser menu" #27420

Open
1 task done
Majestix1970 opened this issue Sep 15, 2024 · 2 comments

Comments

@Majestix1970
Copy link

Majestix1970 commented Sep 15, 2024

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

I enable LASER_FEATURE and LCD laser Menu on my Bigtreetech (BTT) Octopus Pro V1.0 board using FAN1 (#define SPINDLE_LASER_PWM_PIN PE5 )
If I change the power of the laser between 0%-100% via the LCD menu, the PWM signal is not created.
PWM output stays permanetly at ~3v (or 0V if I use "#define SPINDLE_LASER_PWM_INVERT true" via configuration_adv.h

For testing I used the PE5 pin as PWM FAN1 and if I do so marlin creates the PWM signal as expected if I control the fan power via LCD menu (temperature/fan1 power).

Can you please help

Bug Timeline

No response

Expected behavior

PWM signal on pin PE5 is created if I change the laser power via LCD menu (LaserPower)

Actual behavior

no PWM signal at all is created

Steps to Reproduce

No response

Version of Marlin Firmware

2.1.2.2 and 2.1.2.4

Printer model

Ender6 with BTT Octopus Pro V1.0 board
with ST32F429ZGT6

Electronics

BTT Octopus Pro V1.0 board with ST32F429ZGT6

LCD/Controller

REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

Other add-ons

No response

Bed Leveling

UBL Bilinear mesh

Your Slicer

Cura

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

configuration_files.zip

@Majestix1970
Copy link
Author

Hi together,
just tested it with the latest Marlin version 2.1.2.4
unfortunately same wrong behavior.
No PWM output => PWM signal stays HIGH (~3.5V) no matter which power value I choose via LCD laser menu.

@Majestix1970
Copy link
Author

my Octopus Pro board uses the ST32F429ZGT6 CPU.
do I have to setup the PWM configuration via platformio to aktivate the PWM function for PIN PE5 (timer9 as far as I know)?
If so can someone please tell me how to do this , since I am not an expert in platformio...
Thank you!

@thisiskeithb thisiskeithb changed the title [BUG] (bug summary)LASER_FEATURE no PWM output on BTT Octopus Pro V1.1 FAN1 (PE5) if laser power is changed via "LCD laser menu" [BUG] LASER_FEATURE no PWM output on BTT Octopus Pro V1.1 FAN1 (PE5) if laser power is changed via "LCD laser menu" Sep 26, 2024
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

1 participant