Adding a female Header to a Motor shield v2

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
Franklin97355
 
Posts: 23940
Joined: Mon Apr 21, 2008 2:33 pm

Re: Adding a female Header to a Motor shield v2

Post by Franklin97355 »

You could move to a Mega or add a few port expanders.

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

Re: Adding a female Header to a Motor shield v2

Post by adafruit_support_bill »

Another possibility is to just unplug the shield when you need to upload to the UNO.

User avatar
rmaze
 
Posts: 13
Joined: Wed Mar 02, 2016 4:23 pm

Re: Adding a female Header to a Motor shield v2

Post by rmaze »

Port expander seems to work; what do you mean by: "Another possibility is to just unplug the shield when you need to upload to the UNO" Which pins does it free up if I unplug the shield when uploading programs?

Also, I ran into a problem when adding a camera. It seems pins2&3 are shared with another possible device. Is there a workaround for this? Is there just a way to call out other pin locations?

Lastly, I would like to wire-up a speaker board (https://www.adafruit.com/products/94) to this board, but I don't know if there is a way. Is there a way?

Thank you.
Attachments
Screen Shot 2016-04-21 at 3.43.46 PM.png
Screen Shot 2016-04-21 at 3.43.46 PM.png (406.78 KiB) Viewed 361 times
Screen Shot 2016-04-21 at 3.40.45 PM.png
Screen Shot 2016-04-21 at 3.40.45 PM.png (113.13 KiB) Viewed 361 times
Screen Shot 2016-04-21 at 3.40.30 PM.png
Screen Shot 2016-04-21 at 3.40.30 PM.png (225.22 KiB) Viewed 361 times

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

Re: Adding a female Header to a Motor shield v2

Post by adafruit_support_bill »

Which pins does it free up if I unplug the shield when uploading programs?
It would remove any connections that you made to pins 0 and 1. These two pins are used for uploading programs to the UNO.
Also, I ran into a problem when adding a camera
...
Lastly, I would like to wire-up a speaker board
Since you are already running out of pins (and probably running out of memory also), I think you need to move to a platform with more pins and memory available - such as the Mega.

Unfortunately, the Wave Sheild is not compatible with the Mega. A better choice would be this board: https://www.adafruit.com/products/1788

User avatar
rmaze
 
Posts: 13
Joined: Wed Mar 02, 2016 4:23 pm

Re: Adding a female Header to a Motor shield v2

Post by rmaze »

Can larger speakers be plugged into the board? https://www.adafruit.com/products/1314
Is there a volume control on this board?

User avatar
rmaze
 
Posts: 13
Joined: Wed Mar 02, 2016 4:23 pm

Re: Adding a female Header to a Motor shield v2

Post by rmaze »

Can you provide a schematic or photo on how to connect https://www.adafruit.com/products/1788 to Adrino-uno?

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

Re: Adding a female Header to a Motor shield v2

Post by adafruit_support_bill »

Can larger speakers be plugged into the board?
Yes. It can handle those speakers.
Can you provide a schematic or photo on how to connect https://www.adafruit.com/products/1788 to Adrino-uno?
Just assemble it as shown in the guide, then it plugs right in.
https://learn.adafruit.com/adafruit-mus ... r/assembly
If you plan to stack it with other shields, you will need to build it with stacking headers: https://www.adafruit.com/product/85

User avatar
rmaze
 
Posts: 13
Joined: Wed Mar 02, 2016 4:23 pm

Re: Adding a female Header to a Motor shield v2

Post by rmaze »

I am already using the motorshield, so can I wire the sound board to my MCP23017 chip in photos above? If so, is there a schematic available and how would i call out the new pins in the code?

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

Re: Adding a female Header to a Motor shield v2

Post by adafruit_support_bill »

so can I wire the sound board to my MCP23017 chip
I don't believe that is possible to do. However, it is entirely possible to stack it under the motor shield.

User avatar
rmaze
 
Posts: 13
Joined: Wed Mar 02, 2016 4:23 pm

Re: Adding a female Header to a Motor shield v2

Post by rmaze »

if I stack the sound board under the motor shield, I need a female connector on the sound board at the same locations that there are male pins the go into the Adrino-uno. Can you provide guidance to a connector system that allows me to stack the sound board between adrino and motor shield? What parts do I need to buy to make this happen?

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

Re: Adding a female Header to a Motor shield v2

Post by adafruit_support_bill »

As I posted previously:
If you plan to stack it with other shields, you will need to build it with stacking headers: https://www.adafruit.com/product/85

User avatar
rmaze
 
Posts: 13
Joined: Wed Mar 02, 2016 4:23 pm

Re: Adding a female Header to a Motor shield v2

Post by rmaze »

ok. so the "Shield stacking headers" are soldered so that the pins go through the sound board, or other board, and become male pins that go into the Ardrino-uno female headers. If I am wrong, please let me know.

Does each board in the chain need an assigned a unique address?.: So once I stack the sound board between the motor shield and the Ardrino, and if I stack a DATA LOGING SHIELD between the Ardrino-uno and motor shield, are there special instructions for each board in the stack boards regarding unique address? For each board in the stack, are there details to provide unique address for that board?

Lastly, If I want to use camera https://www.adafruit.com/products/1386, can I attach the wires to pin -6 and pin-7? And if so, where in the code would I change the pin callouts?
Attachments
Screen Shot 2016-04-21 at 3.40.45 PM.png
Screen Shot 2016-04-21 at 3.40.45 PM.png (113.84 KiB) Viewed 273 times
Screen Shot 2016-04-22 at 2.55.35 PM.png
Screen Shot 2016-04-22 at 2.55.35 PM.png (349.09 KiB) Viewed 273 times
Screen Shot 2016-04-22 at 2.58.35 PM.png
Screen Shot 2016-04-22 at 2.58.35 PM.png (235.83 KiB) Viewed 273 times

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

Re: Adding a female Header to a Motor shield v2

Post by adafruit_support_bill »

so the "Shield stacking headers" are soldered so that the pins go through the sound board, or other board, and become male pins that go into the Ardrino-uno female headers.
Correct.
Does each board in the chain need an assigned a unique address?
Yes. for i2c-based boards like the motor shield and data logging shield. These are listed ion the product description page.
For SPI-based boards like the Music Maker and the SD card of the Data Logger shield, you need to make sure that there are no conflicts between the chip-select pins.
Lastly, If I want to use camera ... can I attach the wires to pin -6 and pin-7?
Possibly. You may run into some pin conflicts with the other shields.

It sounds like you are trying to do too much for a single processor here. In addition to pin conflicts and memory issues. I think that the code to manage all of those devices at the same time is going to be very complex. Maybe you should start by describing what it is you want to accomplish with this system.

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

Return to “Arduino Shields from Adafruit”