Project

General

Profile

Actions

Feature #69

closed

Option to invert PWM signal.

Added by parag0n almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
2013-01-08
Due date:
% Done:

0%

Estimated time:

Description

I have built the cable mentioned under "Enabled laser PWM" http://redmine.laoslaser.org/projects/laos/wiki/HPC_LS3020_connections_-_July_2012 and connected it to my cutter. This gives full control over the laser's power from 0 to 20mA as expected, but the power output is inverted (so things that should be at 20mA are at 0mA, 15mA is at 5mA etc). When the cable is not plugged in at the LAOS end, the laser power is full 20mA as expected.

I'd like a config option for inverting the PWM signal would be perfect (so 100% power = 0 PWM Duty Cycle, 0% power = 100% PWM Duty Cycle).

Actions #1

Updated by peter almost 12 years ago

A flag for the inversion is not required.
The inversion can already be done by setting the config pwm.min and pwm.max parameters.

To invert the output: set pwm.min to 100 and pwm.max to 0.

Actions #2

Updated by parag0n almost 12 years ago

  • Category changed from firmware to Documentation

Ah, i had no idea you could do that. Have closed my pull request and changed this ticket to a documentation problem.

Actions #3

Updated by parag0n almost 12 years ago

  • Status changed from New to Closed

OK, i changed the wiki config page to mentions this.

Actions

Also available in: Atom PDF