Hi everyone,
I’d like to ask about the DAC feature on the smoothieboard (I have already asked it in the past, but did not get much response/result).
From what I’ve understood so far, there’s only one true DAC pin on the smoothieboard (pin 0.26 AOUT). Does anyone know how to configure the DAC values or where I can find this in the firmware?
I want to use the DAC to control a laser driver that only takes analog signal 0-5V (not PWM). The amplitude of the voltage will be translated into intensity of the laser.
Many thanks in advance!
Cheers.
Imported from wikidot
Hey !
So, there is no DAC support in the edge branch.
But there is a branch with experimental DAC support : https://github.com/Smoothieware/Smoothieware/tree/laser_dac
If you compile that and flash it, you should be able to use it simply by setting the laser pin to 0.26…
Tell me if you need any help.
Cheers.
Hi Arthur,
Many thanks for your reply! I understood that in the laser branch that you gave me, the DACs are PWMs (P2.0-P2.5) and true analog (P0.26). However, if I choose pin 0.26 in the config file, how do I set the parameters of the DAC? As far as I see, the config file only configures the PWM pins (max_power, tickle_power, pwm_period).
Looking forward to your reply and thanks again!
Cheers.
Hey.
I don’t think these parameters exist yet.
If you could confirm that basic DAC functionality works, we could get that branch merged, and work on adding the parameters.
Cheers.