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 linuxcnc and relates to a rtai kernel
What happens when you attach to the servo-thread?
Also I try that
https://www.mail-archive.com/[email protected]/msg00473.html
and
https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/PMDX-432/Shapeoko/Shapeoko.hal#L253
What I did wrong?
неділя, 26 лютого 2017 р. 19:00:54 UTC+2 користувач Alexander Rössler
написав:
The scale HAL component should do exactly what you want:
http://www.machinekit.io/docs/man/man9/scale/
<http://www.google.com/url?q=http%3A%2F%2Fwww.machinekit.io%2Fdocs%2Fman%2Fman9%2Fscale%2F&sa=D&sntz=1&usg=AFQjCNGqT5E_7wuqHL44bZLCxKDRcGvjsQ>
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 BlackBuck 8M laser diode driver
(http://www.ebay.com/itm/BlackBuck-8M-8A-Buck-Laser-Driver-NDB7A75-NUBM44-NUMB05-NUBM06-NUBM08-/122257691806/?_ul=RU
<http://www.ebay.com/itm/BlackBuck-8M-8A-Buck-Laser-Driver-NDB7A75-NUBM44-NUMB05-NUBM06-NUBM08-/122257691806/?_ul=RU>)
with next spec
modulation input 0-5V or 0-5V TTL/PWM
Frequency - 4kHz
Modulation rise/fall time - 40/60ms
I user arduino as TTL generator everything are ok but when
duty cycle around 40% - 0% laser power, duty cycle 60% - 100%
laser power
Question possible to config on BBB
0-40% duty cycle - 0% laser power
60-100% duty cycle - 100% laser power
and for example
41% duty cycle - 5% laser power
40,2% duty cycle - 1% laser power
40,5% duty cycle - 2,5% laser power
etc
another solution?
--
website: http://www.machinekit.io blog: http://blog.machinekit.io
github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google
Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.