Using DAC on smoothieboard

Hi everyone,

From what I’ve understood so far, there’s only one DAC pin on the Smoothieboard (LPC1769). I’ve seen people making a laser_dac branch, so I am more or less aware of the people working with the DAC.

However, what if I want to use the DAC function for something else? I want to configure the DAC values as well of course, but where can I find this in the firmware?

I’d appreciate all the comments/helps! Thanks a lot in advance.

Cheers!

Imported from wikidot

By the way, I want to use pin 0.26 AOUT, not the PWM analog output from P2.0-P2.5.

Thanks again!

Hey.

What do you want to use the DAC for exactly ?

Cheers :slight_smile:

Hi arthurwolf,

Thanks for replying! I want to use the DAC to control a laser driver/PSU that only takes analog signal 0-5V (not PWM). The amplitude of the voltage will be translated into intensity of the laser.

PS: The laser will not be used for laser cutting, but for 3D printing.

Cheers

Hey.

If you want to use the DAC for 3D printing, it still sounds like you want to use the laser module.
Did you try the laser_dac branch ?

Cheers.