Wave Shield without potentiometer

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_bill
 
Posts: 88140
Joined: Sat Feb 07, 2009 10:11 am

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

Even though my solds are bad, I can't see anyone missing contact.
Cold joints and other soldering problems may appear to make contact. But a poor solder joint will degrade over time. Oxidation and micro-fractures will develop and you will have intermittent or poor conductivity through the joint.

Take a look at this guide and touch up any suspicious joints. http://learn.adafruit.com/adafruit-guid ... n-problems

Aeroduino
 
Posts: 23
Joined: Mon Sep 02, 2013 1:29 pm

Re: Wave Shield without potentiometer

Post by Aeroduino »

Ok I soldered all points. No sound :( I was wrong about the CardInfo sketch though.. I forgot to change the pin, so the sketch works. I can see the contents of the SD card... Now when I uploaded the Pi example, it barely said "three" and then died. Not sure what else to do..

User avatar
adafruit_support_bill
 
Posts: 88140
Joined: Sat Feb 07, 2009 10:11 am

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

it barely said "three" and then died.
So you had some brief sound output? Probably an intermittent connection to either the DAC or the op-amp. You can try this diagnostic trick using a pair of headphones: http://forums.adafruit.com/viewtopic.ph ... 14&p=65019

Aeroduino
 
Posts: 23
Joined: Mon Sep 02, 2013 1:29 pm

Re: Wave Shield without potentiometer

Post by Aeroduino »

R7 didn't hear anything. R8 small crack on one side, nothing on the other.. One thing I noticed: When running the Pi example. It puts out the numbers it is saying, like 1,2,3,4 and so on... Now it just hangs on "Pi speaker". If there was something wrong with op-amp, I would see the numbers but no sound?

User avatar
adafruit_support_bill
 
Posts: 88140
Joined: Sat Feb 07, 2009 10:11 am

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

If it was the op-amp, you should see the numbers printing. You would probably also hear the sound on the output of the DAC. If it is hanging up, it may be a bad connection to the DAC.

Aeroduino
 
Posts: 23
Joined: Mon Sep 02, 2013 1:29 pm

Re: Wave Shield without potentiometer

Post by Aeroduino »

Solds on the DAC seem fine. What's next? Should I buy a new DAC and replace?

User avatar
adafruit_support_bill
 
Posts: 88140
Joined: Sat Feb 07, 2009 10:11 am

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

You also need to check the soldering on the jumpers that feed signals to the DAC. Those are the ones on pins 3-7.

Aeroduino
 
Posts: 23
Joined: Mon Sep 02, 2013 1:29 pm

Re: Wave Shield without potentiometer

Post by Aeroduino »

adafruit_support_bill wrote:You also need to check the soldering on the jumpers that feed signals to the DAC. Those are the ones on pins 3-7.
My friend, I resoldered all the spots :D I'm desperate.. no luch though.. Can the DAC be burned!?

User avatar
adafruit_support_bill
 
Posts: 88140
Joined: Sat Feb 07, 2009 10:11 am

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

It is possible to fry the DAC, but not very common unless you experienced some sort of short circuit or other damage to the board. Post photos showing your re-worked solder joints. For best light & detail, try near a window, or even outside.

Aeroduino
 
Posts: 23
Joined: Mon Sep 02, 2013 1:29 pm

Re: Wave Shield without potentiometer

Post by Aeroduino »

Image

Image

User avatar
adafruit_support_bill
 
Posts: 88140
Joined: Sat Feb 07, 2009 10:11 am

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

The soldering looks much better. But looking at the PiSpeak code, if it is printing "Pi speaker" but not printing "Files Found", then the problem is not with the DAC. It is hanging up trying to initialize the card.

Code: Select all

void setup() {
  // set up Serial library at 9600 bps
  Serial.begin(9600);           
  
  PgmPrintln("Pi speaker");
  
  if (!card.init()) {
    error("Card init. failed!");
  }
  if (!vol.init(card)) {
    error("No partition!");
  }
  if (!root.openRoot(vol)) {
    error("Couldn't open dir");
  }

  PgmPrintln("Files found:");
  root.ls();
}

Aeroduino
 
Posts: 23
Joined: Mon Sep 02, 2013 1:29 pm

Re: Wave Shield without potentiometer

Post by Aeroduino »

Ok but if it fails to initialize card, according to the code, it should say so:

Code: Select all

 if (!card.init()) {
    error("Card init. failed!");
And the CardInfo sketch initializes fine:

Code: Select all

Initializing SD card...Wiring is correct and a card is present.

Card type: SD2

Volume type is FAT16

Volume size (bytes): 1977286656
Volume size (Kbytes): 1930944
Volume size (Mbytes): 1885

Files found on the card (name, date and size in bytes): 
8.WAV         2008-05-09 17:54:18 20844
7.WAV         2008-05-09 17:54:08 29484
6.WAV         2008-05-09 17:54:02 21484
5.WAV         2008-05-09 17:53:50 23084
4.WAV         2008-05-09 17:53:36 21164
3.WAV         2008-05-09 17:53:28 19884
2.WAV         2008-05-09 17:53:12 19244
1.WAV         2008-05-09 17:52:44 18604
0.WAV         2008-05-09 17:52:24 22124
P.WAV         2008-05-09 17:55:00 21804
9.WAV         2008-05-09 17:54:28 25004
I have just ordered more wave shields, this is frustrating :(

User avatar
adafruit_support_bill
 
Posts: 88140
Joined: Sat Feb 07, 2009 10:11 am

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

Not sure why cardinfor would work but piSpeak would hang up. Have you tried any of the other examples such as dapHC?

Aeroduino
 
Posts: 23
Joined: Mon Sep 02, 2013 1:29 pm

Re: Wave Shield without potentiometer

Post by Aeroduino »

Yes, it hangs at

Code: Select all

  putstring("Free RAM: ");       // This can help with debugging, running out of RAM is bad
  Serial.println(FreeRam());
Just before the card.init

User avatar
adafruit_support_bill
 
Posts: 88140
Joined: Sat Feb 07, 2009 10:11 am

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

Try changing the SPI speed for the card init. Un-comment the first line and comment the second line as below:

Code: Select all

  if (!card.init(true)) { //play with 4 MHz spi if 8MHz isn't working for you
  // if (!card.init()) {         //play with 8 MHz spi (default faster!)  
    error("Card init. failed!");  // Something went wrong, lets print out why
  }

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”