Using Arduino uno to program DAC for output voltage-- serial monitor BLANK

Hi everyone,

I'm trying to program a DAC (DAC8552) to output the voltage that I input. Right now, I have it hooked up to an oscilliscope, and it seems that my SYNC and SCLK pins are doing what they're supposed to, but my DIN pin is not. In trying to troubleshoot I've been trying to see the output in the serial monitor, but its turning up blank. Even when I put Serial.print("Hello") in various places in my program, nothing is printing.

Here's my code without the Serial.println command. Where should I put it?

Thank you!

Also if you see any problems with the code, like I said the DIN isn't doing what its supposed to...

dac.ino (1.15 KB)

Hi lpm010

You need to include Serial.begin(115200); in the setup() function. Without it, your print statements won't work.

In serial monitor, make sure the speed matches the value in the begin() statement.

Regards

Ray