Re: [Machinekit] Re: BBB laser diode driver and TTL/PWM

2017-02-27 Thread Alexander Rössler
Additionally, you mentioned you are working with the BBB. The BBB features a PRU based PWM generator. For som example please take a look at https://github.com/machinekit/machinekit/tree/master/configs/ARM/BeagleBone pwmgen is the SW PWM generator which is used on desktop platforms without PWM c

Re: [Machinekit] Re: BBB laser diode driver and TTL/PWM

2017-02-26 Thread schoone...@btinternet.com
On 27/02/2017 01:02, Andrij Senyk wrote: Hello, I try to configure according according http://www.machinekit.io/docs/examples/spindle/#pwm-spindle-speed but when I add addf pwmgen.make-pulses base-thread I receiving an error Do you have a base-thread? That example probably comes from lin

[Machinekit] Re: BBB laser diode driver and TTL/PWM

2017-02-26 Thread Andrij Senyk
Hello, I try to configure according according http://www.machinekit.io/docs/examples/spindle/#pwm-spindle-speed but when I add addf pwmgen.make-pulses base-thread I receiving an error Also I try that https://www.mail-archive.com/machinekit@googlegroups.com/msg00473.html and https://githu

[Machinekit] Re: BBB laser diode driver and TTL/PWM

2017-02-26 Thread Alexander Rössler
The scale HAL component should do exactly what you want: http://www.machinekit.io/docs/man/man9/scale/ You can set a gain and an offset value to convert the 0 -1 input to a 40-60% of an PWM output value. Am Samstag, 25. Februar 2017 02:40:20 UTC+1 schrieb Andrij Senyk: > > Hello, > > I have Blac