Jump to content
  • 0

Analog Shield AO channel failing?


scottcjordan

Question

I'm using the Digilent Analog Shield on an Arduino Uno, and generating a sine wave on the Shield's AO 0 and a cosine wave on AO 1.  These waveforms are generated by cycling through a lookup table and then writing the two AOs in a single library call.  The lookup tables are identical save for their 90 degree phase difference.

It all starts nicely:

FreshlyStarted.thumb.jpg.807ec31b8323103

But after about an hour of cycling, channel 0 seems to lose a few LSBs:

AfterAWhile.thumb.jpg.8ee8974b129aaf029e

Power cycling the Arduino/Analog Shield returns things to good behavior... for a while.

Eventually, AO 0 flatlines.  Again, a quick power-cycle fixes matters, so it would appear not to be a heat-related issue.

Meanwhile, AO 1 cranks merrily along.

...Any idea what could be going wrong here?  I'm fearing a hardware issue in the DAC.

Many thanks in advance for any insights or suggestions.

--Scott

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Hello Scott,

Can you post the exact sketch that you are using?

I have not seen this issue before but I am going to investigate it.  Your sketch would help me set a baseline and confirm whether it is a hardware issue or an issue with the library.

Thanks,

Marshall

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...