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.
Aeroduino
 
Posts: 23
Joined: Mon Sep 02, 2013 1:29 pm

Re: Wave Shield without potentiometer

Post by Aeroduino »

adafruit_support_bill wrote: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
  }
I already tried that. Didn't work.. Now I am checking how the SD library initiates the card and how the SdReader does it..

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

Re: Wave Shield without potentiometer

Post by Aeroduino »

Tried SD library init. No luck..

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

Re: Wave Shield without potentiometer

Post by Aeroduino »

Don't sweat it guys...................SOLVED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

What was the problem? We were running out of ideas here.

User avatar
johan2ralph
 
Posts: 8
Joined: Tue Jul 09, 2013 4:26 pm

Re: Wave Shield without potentiometer

Post by johan2ralph »

adafruit_support_bill wrote:Looking from the back-side, it would be these pins:
Hi,

I am just about to build a Wave Shield and would also like to bypass the potentiometer. Just to check, will I still be able to change the volume digitally (i.e., in code) if I use the quoted configuration? (I know I need to change the "WaveHC.h" library to "#define DVOLUME 1" on about Line 24).

Thanks in advance!

P.S. By "bypass the potentiometer" I mean avoid soldering it on at all. I need my Arduino case to be relatively safe from the elements (water, sand, drunk people...).

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

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

Just to check, will I still be able to change the volume digitally (i.e., in code) if I use the quoted configuration?
Specifically, which 'quoted configuration' are you referring to?

User avatar
johan2ralph
 
Posts: 8
Joined: Tue Jul 09, 2013 4:26 pm

Re: Wave Shield without potentiometer

Post by johan2ralph »

Sorry - I thought it would quote the whole post. It was soldering two of the wave shield pins together that are next to the potentiometer. The attached pic shows the two pins that you recommended to solder together to bypass the pot. The original question asked which pins to solder if the volume is kept at the maximum level. I am checking that the volume can still be changed in code with the suggested configuration.

Thanks again!
Attachments
Wave_shield_pins_to_solder.JPG
Wave_shield_pins_to_solder.JPG (26.64 KiB) Viewed 244 times

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

Re: Wave Shield without potentiometer

Post by adafruit_support_bill »

Bypassing the pot, there will be no electrical attenuation of the signal. But you can still change the volume in the code. Please note that changing the volume in the code does result in some loss of resolution & dynamic range of the signal.

User avatar
johan2ralph
 
Posts: 8
Joined: Tue Jul 09, 2013 4:26 pm

Re: Wave Shield without potentiometer

Post by johan2ralph »

That's great to hear. Thank you for you speedy responses!

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

Return to “Arduino”