LaosLaser / Firmware

Embedded software (firmware) for the laser system and components, including configuration files
27 stars 27 forks source link

Idle power PWM configuration #38

Open peteruithoven opened 10 years ago

peteruithoven commented 10 years ago

TheGuv: I've used the ideas shown at http://redmine.laoslaser.org/projects/laos/wiki/Pwm for getting PWN to work which as expected results in inverted power where 0% = 100% etc. This is fine and fixed in the config file by specifying max=0% and min=100%.

However, at idle when there is no job currently being run, the power idles at 100%. This is a tad worrying as my PSU fires the laser when the test button is pressed even if the laser is disabled with the appropriate front-panel switch.

Would there be any possibility of taking the min/max values into account and maybe setting the idle power at 10% or similar (or better, some configurable value)?