Author Topic: sound from Digix  (Read 8308 times)

temmink

  • Newbie
  • *
  • Posts: 22
Re: sound from Digix
« Reply #15 on: December 13, 2013, 12:45:19 pm »
Dear digistump,

I have send you a message a few days ago, but i don't have a reply yet :-)


digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: sound from Digix
« Reply #16 on: December 14, 2013, 12:32:13 am »
Can you please run this code with a volt meter on DAC0

Code: [Select]
void setup(){}
void loop(){

  // change the PWM resolution to 12 bits
  // the full 12 bit resolution is only supported
  // on the Due
    analogWriteResolution(12);
//show 0 volts for 3 seconds
  analogWrite(DAC0, 0);
//show about 1.65 volts for 3 seconds
    delay(3000);
  analogWrite(DAC0, 2047);
//show about 3.3v for 3 seconds
    delay(3000);
  analogWrite(DAC0, 4095);
    delay(3000);
}

I apologize that the previous code was faulty - I'm not sure why I put Pin 12 instead of DAC0 when I was typing it out

Let me know if that works - we'll make sure you get a working one either way but if we can troubleshoot it and it isn't faulty that's a lot faster than waiting for a new one to get yo you.

Sorry for the delay in responding, it is taking us about 2-3 days to get to new emails right now due to volume and shipping.

temmink

  • Newbie
  • *
  • Posts: 22
Re: sound from Digix
« Reply #17 on: December 27, 2013, 07:40:00 am »
I have test the code with a multimeter.

I only measure somewhere between 20 and 30mVoltts on the board.

I also noticed that pin 65 and pin 64 make a connection cause by some solder. I carefully removed a little solder.
And tried the sketch again, but still no sound on the DAC only a small POP sound.




anlek

  • Newbie
  • *
  • Posts: 1
Re: sound from Digix
« Reply #18 on: January 05, 2014, 05:31:23 pm »
I'm having a similar issue, except that my serial port is also not available ever...
I just hear a pop and no output in the serial port.