Hi!
I am implementing a project that demands using all the pins available on the waveshield.
All is working fine except one thing: I am using a switch on pin 12 that works well untill I include on the Arduino code the required parts to open the partition on the sd card. After that, it just ignores all the inputs on the switch connected to pin12, and it should be initiated on "ON" state and it passes qutomatically to "off".
Any idea of what could be goin gon?
Issue with Wave Shield and Arduino Uno
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88037
- Joined: Sat Feb 07, 2009 10:11 am
Re: Issue with Wave Shield and Arduino Uno
Pin 12 not available since it is used by the shield. Pins 10, 11, 12 and 13 are the hardware SPI pins. These are required to communicate with the SD card.
http://www.ladyada.net/make/waveshield/faq.html
If you need additional pins, you can use a port expander such as one of the MCP230xx chips:
http://www.adafruit.com/products/593
http://www.adafruit.com/products/732
http://www.ladyada.net/make/waveshield/faq.html
If you need additional pins, you can use a port expander such as one of the MCP230xx chips:
http://www.adafruit.com/products/593
http://www.adafruit.com/products/732
-
- Posts: 5
- Joined: Sat Jun 08, 2013 6:41 am
Re: Issue with Wave Shield and Arduino Uno
Hi!
Thanks for your answer!
Strangely, though, I managed to use pin 11! Is that possible?
I thought that the only pins unavailable were those occupied by connections required to put the wave shield up and runnin (2, 3, 4, 5 and 10)!
Thanks for your answer!
Strangely, though, I managed to use pin 11! Is that possible?
I thought that the only pins unavailable were those occupied by connections required to put the wave shield up and runnin (2, 3, 4, 5 and 10)!
- adafruit_support_bill
- Posts: 88037
- Joined: Sat Feb 07, 2009 10:11 am
Re: Issue with Wave Shield and Arduino Uno
Pin 11 is MOSI (Master Out/Slave In) and is only used when writing to the SD card. You can probably get away with using it if as long as you are only reading from the card.Strangely, though, I managed to use pin 11! Is that possible?
Those pins are configurable in software. SPI communication on pins 11, 12 and 13 is fixed in the Atmega328 processor hardware.I thought that the only pins unavailable were those occupied by connections required to put the wave shield up and runnin (2, 3, 4, 5 and 10)!
This is noted in the tutorial (second to last step): http://www.ladyada.net/make/waveshield/solder.html
Pins 13, 12 and 11 are used to talk to the SD card and cant be changed. The rest of the pins, however, are more flexible. Still, for all the examples on the site we'll be using this wiring, so it is suggested to just go with this.
2 -> LCS
3 -> CLK
4 -> DI
5 -> LAT
10 -> CCS
You can use any sort of wire. Solder the jumper wires in place.
- soerena
- Posts: 57
- Joined: Fri Nov 16, 2012 7:00 am
Re: Issue with Wave Shield and Arduino Uno
the pin 11 seems to always be HIGH. are you also experiencing this?
Please be positive and constructive with your questions and comments.