I already tried that. Didn't work.. Now I am checking how the SD library initiates the card and how the SdReader does it..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 }
Wave Shield without potentiometer
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 23
- Joined: Mon Sep 02, 2013 1:29 pm
Re: Wave Shield without potentiometer
-
- Posts: 23
- Joined: Mon Sep 02, 2013 1:29 pm
Re: Wave Shield without potentiometer
Tried SD library init. No luck..
-
- Posts: 23
- Joined: Mon Sep 02, 2013 1:29 pm
Re: Wave Shield without potentiometer
Don't sweat it guys...................SOLVED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Wave Shield without potentiometer
What was the problem? We were running out of ideas here.
- johan2ralph
- Posts: 8
- Joined: Tue Jul 09, 2013 4:26 pm
Re: Wave Shield without potentiometer
Hi,adafruit_support_bill wrote:Looking from the back-side, it would be these pins:
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...).
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Wave Shield without potentiometer
Specifically, which 'quoted configuration' are you referring to?Just to check, will I still be able to change the volume digitally (i.e., in code) if I use the quoted configuration?
- johan2ralph
- Posts: 8
- Joined: Tue Jul 09, 2013 4:26 pm
Re: Wave Shield without potentiometer
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!
Thanks again!
- Attachments
-
- Wave_shield_pins_to_solder.JPG (26.64 KiB) Viewed 244 times
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Wave Shield without potentiometer
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.
- johan2ralph
- Posts: 8
- Joined: Tue Jul 09, 2013 4:26 pm
Re: Wave Shield without potentiometer
That's great to hear. Thank you for you speedy responses!
Please be positive and constructive with your questions and comments.